aws-cdk-lib 2.73.0__py3-none-any.whl → 2.76.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (111) hide show
  1. aws_cdk/__init__.py +245 -259
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.73.0.jsii.tgz → aws-cdk-lib@2.76.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplifyuibuilder/__init__.py +182 -214
  5. aws_cdk/aws_apigateway/__init__.py +95 -148
  6. aws_cdk/aws_appconfig/__init__.py +8 -4
  7. aws_cdk/aws_appflow/__init__.py +27 -52
  8. aws_cdk/aws_appmesh/__init__.py +91 -200
  9. aws_cdk/aws_apprunner/__init__.py +4 -16
  10. aws_cdk/aws_appstream/__init__.py +18 -82
  11. aws_cdk/aws_athena/__init__.py +18 -32
  12. aws_cdk/aws_backup/__init__.py +48 -86
  13. aws_cdk/aws_batch/__init__.py +9 -2
  14. aws_cdk/aws_billingconductor/__init__.py +12 -7
  15. aws_cdk/aws_budgets/__init__.py +8 -17
  16. aws_cdk/aws_certificatemanager/__init__.py +7 -4
  17. aws_cdk/aws_cloudfront/__init__.py +14 -11
  18. aws_cdk/aws_cloudfront_origins/__init__.py +18 -8
  19. aws_cdk/aws_cloudtrail/__init__.py +7 -14
  20. aws_cdk/aws_cloudwatch/__init__.py +63 -35
  21. aws_cdk/aws_codebuild/__init__.py +10 -13
  22. aws_cdk/aws_codecommit/__init__.py +0 -1
  23. aws_cdk/aws_codedeploy/__init__.py +165 -162
  24. aws_cdk/aws_codegurureviewer/__init__.py +4 -4
  25. aws_cdk/aws_codepipeline/__init__.py +0 -4
  26. aws_cdk/aws_codepipeline_actions/__init__.py +16 -164
  27. aws_cdk/aws_cognito/__init__.py +195 -100
  28. aws_cdk/aws_config/__init__.py +28 -51
  29. aws_cdk/aws_connectcampaigns/__init__.py +5 -6
  30. aws_cdk/aws_databrew/__init__.py +5 -6
  31. aws_cdk/aws_dlm/__init__.py +33 -71
  32. aws_cdk/aws_docdb/__init__.py +20 -76
  33. aws_cdk/aws_dynamodb/__init__.py +29 -22
  34. aws_cdk/aws_ec2/__init__.py +2414 -603
  35. aws_cdk/aws_ecr/__init__.py +1 -2
  36. aws_cdk/aws_ecr_assets/__init__.py +27 -14
  37. aws_cdk/aws_ecs/__init__.py +458 -163
  38. aws_cdk/aws_ecs_patterns/__init__.py +13 -11
  39. aws_cdk/aws_eks/__init__.py +13 -8
  40. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -9
  41. aws_cdk/aws_elasticloadbalancingv2/__init__.py +142 -82
  42. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +126 -61
  43. aws_cdk/aws_elasticsearch/__init__.py +0 -7
  44. aws_cdk/aws_emr/__init__.py +7 -16
  45. aws_cdk/aws_emrserverless/__init__.py +14 -18
  46. aws_cdk/aws_events/__init__.py +33 -29
  47. aws_cdk/aws_events_targets/__init__.py +248 -89
  48. aws_cdk/aws_frauddetector/__init__.py +3 -4
  49. aws_cdk/aws_fsx/__init__.py +13 -7
  50. aws_cdk/aws_gamelift/__init__.py +11 -20
  51. aws_cdk/aws_grafana/__init__.py +4 -4
  52. aws_cdk/aws_iam/__init__.py +21 -25
  53. aws_cdk/aws_imagebuilder/__init__.py +58 -80
  54. aws_cdk/aws_internetmonitor/__init__.py +18 -10
  55. aws_cdk/aws_iot/__init__.py +16 -10
  56. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -26
  57. aws_cdk/aws_iotevents/__init__.py +6 -4
  58. aws_cdk/aws_iotfleetwise/__init__.py +27 -40
  59. aws_cdk/aws_iotsitewise/__init__.py +8 -5
  60. aws_cdk/aws_iotwireless/__init__.py +14 -9
  61. aws_cdk/aws_kinesisfirehose/__init__.py +21 -38
  62. aws_cdk/aws_lambda/__init__.py +76 -53
  63. aws_cdk/aws_lambda_event_sources/__init__.py +6 -21
  64. aws_cdk/aws_logs/__init__.py +5 -7
  65. aws_cdk/aws_macie/__init__.py +28 -23
  66. aws_cdk/aws_mediaconnect/__init__.py +5 -8
  67. aws_cdk/aws_mediaconvert/__init__.py +2 -2
  68. aws_cdk/aws_medialive/__init__.py +2 -4
  69. aws_cdk/aws_mediapackage/__init__.py +9 -18
  70. aws_cdk/aws_memorydb/__init__.py +5 -10
  71. aws_cdk/aws_mwaa/__init__.py +8 -4
  72. aws_cdk/aws_neptune/__init__.py +4 -4
  73. aws_cdk/aws_networkfirewall/__init__.py +8 -4
  74. aws_cdk/aws_networkmanager/__init__.py +4 -4
  75. aws_cdk/aws_nimblestudio/__init__.py +25 -45
  76. aws_cdk/aws_opensearchservice/__init__.py +0 -1
  77. aws_cdk/aws_panorama/__init__.py +11 -12
  78. aws_cdk/aws_personalize/__init__.py +46 -72
  79. aws_cdk/aws_pinpoint/__init__.py +36 -65
  80. aws_cdk/aws_quicksight/__init__.py +9972 -13374
  81. aws_cdk/aws_rds/__init__.py +53 -22
  82. aws_cdk/aws_route53/__init__.py +8 -16
  83. aws_cdk/aws_route53_targets/__init__.py +2 -4
  84. aws_cdk/aws_s3/__init__.py +41 -90
  85. aws_cdk/aws_s3_notifications/__init__.py +0 -3
  86. aws_cdk/aws_sagemaker/__init__.py +16 -10
  87. aws_cdk/aws_secretsmanager/__init__.py +17 -14
  88. aws_cdk/aws_servicecatalog/__init__.py +60 -83
  89. aws_cdk/aws_servicediscovery/__init__.py +4 -6
  90. aws_cdk/aws_ses/__init__.py +734 -28
  91. aws_cdk/aws_sns/__init__.py +4 -8
  92. aws_cdk/aws_ssm/__init__.py +19 -23
  93. aws_cdk/aws_ssmcontacts/__init__.py +10 -6
  94. aws_cdk/aws_ssmincidents/__init__.py +2 -1
  95. aws_cdk/aws_sso/__init__.py +4 -4
  96. aws_cdk/aws_stepfunctions/__init__.py +6 -15
  97. aws_cdk/aws_stepfunctions_tasks/__init__.py +51 -24
  98. aws_cdk/aws_timestream/__init__.py +22 -28
  99. aws_cdk/aws_transfer/__init__.py +188 -86
  100. aws_cdk/aws_wafv2/__init__.py +54 -38
  101. aws_cdk/aws_xray/__init__.py +15 -22
  102. aws_cdk/cloud_assembly_schema/__init__.py +14 -6
  103. aws_cdk/custom_resources/__init__.py +2 -3
  104. aws_cdk/pipelines/__init__.py +104 -134
  105. aws_cdk/triggers/__init__.py +46 -61
  106. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/METADATA +47 -92
  107. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/RECORD +111 -111
  108. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/LICENSE +0 -0
  109. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/NOTICE +0 -0
  110. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/WHEEL +0 -0
  111. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/top_level.txt +0 -0
@@ -1058,7 +1058,7 @@ class CfnService(
1058
1058
  :param runtime: A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
1059
1059
  :param build_command: The command App Runner runs to build your application.
1060
1060
  :param port: The port that your application listens to in the container. Default: ``8080``
1061
- :param runtime_environment_secrets: An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. .. epigraph:: - If the AWS Systems Manager Parameter Store parameter exists in the same AWS Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified. - Currently, cross account referencing of AWS Systems Manager Parameter Store parameter is not supported.
1061
+ :param runtime_environment_secrets: ``CfnService.CodeConfigurationValuesProperty.RuntimeEnvironmentSecrets``.
1062
1062
  :param runtime_environment_variables: The environment variables that are available to your running AWS App Runner service. An array of key-value pairs.
1063
1063
  :param start_command: The command App Runner runs to start your application.
1064
1064
 
@@ -1146,13 +1146,7 @@ class CfnService(
1146
1146
  def runtime_environment_secrets(
1147
1147
  self,
1148
1148
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnService.KeyValuePairProperty"]]]]:
1149
- '''An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable.
1150
-
1151
- The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
1152
- .. epigraph::
1153
-
1154
- - If the AWS Systems Manager Parameter Store parameter exists in the same AWS Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.
1155
- - Currently, cross account referencing of AWS Systems Manager Parameter Store parameter is not supported.
1149
+ '''``CfnService.CodeConfigurationValuesProperty.RuntimeEnvironmentSecrets``.
1156
1150
 
1157
1151
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtimeenvironmentsecrets
1158
1152
  '''
@@ -1624,7 +1618,7 @@ class CfnService(
1624
1618
  '''Describes the configuration that AWS App Runner uses to run an App Runner service using an image pulled from a source image repository.
1625
1619
 
1626
1620
  :param port: The port that your application listens to in the container. Default: ``8080``
1627
- :param runtime_environment_secrets: An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. .. epigraph:: - If the AWS Systems Manager Parameter Store parameter exists in the same AWS Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified. - Currently, cross account referencing of AWS Systems Manager Parameter Store parameter is not supported.
1621
+ :param runtime_environment_secrets: ``CfnService.ImageConfigurationProperty.RuntimeEnvironmentSecrets``.
1628
1622
  :param runtime_environment_variables: Environment variables that are available to your running App Runner service. An array of key-value pairs.
1629
1623
  :param start_command: An optional command that App Runner runs to start the application in the source image. If specified, this command overrides the Docker image’s default start command.
1630
1624
 
@@ -1681,13 +1675,7 @@ class CfnService(
1681
1675
  def runtime_environment_secrets(
1682
1676
  self,
1683
1677
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnService.KeyValuePairProperty"]]]]:
1684
- '''An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable.
1685
-
1686
- The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
1687
- .. epigraph::
1688
-
1689
- - If the AWS Systems Manager Parameter Store parameter exists in the same AWS Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.
1690
- - Currently, cross account referencing of AWS Systems Manager Parameter Store parameter is not supported.
1678
+ '''``CfnService.ImageConfigurationProperty.RuntimeEnvironmentSecrets``.
1691
1679
 
1692
1680
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-runtimeenvironmentsecrets
1693
1681
  '''
@@ -2616,52 +2616,20 @@ class CfnFleet(
2616
2616
 
2617
2617
  :cloudformationResource: AWS::AppStream::Fleet
2618
2618
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html
2619
- :exampleMetadata: fixture=_generated
2619
+ :exampleMetadata: infused
2620
2620
 
2621
2621
  Example::
2622
2622
 
2623
- # The code below shows an example of how to instantiate this type.
2624
- # The values are placeholders you should change.
2625
- from aws_cdk import aws_appstream as appstream
2626
-
2627
- cfn_fleet = appstream.CfnFleet(self, "MyCfnFleet",
2628
- instance_type="instanceType",
2629
- name="name",
2630
-
2631
- # the properties below are optional
2623
+ fleet = appstream.CfnFleet(self, "Fleet",
2624
+ instance_type="stream.standard.small",
2625
+ name="Fleet",
2632
2626
  compute_capacity=appstream.CfnFleet.ComputeCapacityProperty(
2633
- desired_instances=123
2634
- ),
2635
- description="description",
2636
- disconnect_timeout_in_seconds=123,
2637
- display_name="displayName",
2638
- domain_join_info=appstream.CfnFleet.DomainJoinInfoProperty(
2639
- directory_name="directoryName",
2640
- organizational_unit_distinguished_name="organizationalUnitDistinguishedName"
2641
- ),
2642
- enable_default_internet_access=False,
2643
- fleet_type="fleetType",
2644
- iam_role_arn="iamRoleArn",
2645
- idle_disconnect_timeout_in_seconds=123,
2646
- image_arn="imageArn",
2647
- image_name="imageName",
2648
- max_concurrent_sessions=123,
2649
- max_user_duration_in_seconds=123,
2650
- platform="platform",
2651
- session_script_s3_location=appstream.CfnFleet.S3LocationProperty(
2652
- s3_bucket="s3Bucket",
2653
- s3_key="s3Key"
2627
+ desired_instances=1
2654
2628
  ),
2655
- stream_view="streamView",
2656
- tags=[CfnTag(
2657
- key="key",
2658
- value="value"
2659
- )],
2660
- usb_device_filter_strings=["usbDeviceFilterStrings"],
2661
- vpc_config=appstream.CfnFleet.VpcConfigProperty(
2662
- security_group_ids=["securityGroupIds"],
2663
- subnet_ids=["subnetIds"]
2664
- )
2629
+ image_name="AppStream-AmazonLinux2-09-21-2022"
2630
+ )
2631
+ fleet.cfn_options.creation_policy = CfnCreationPolicy(
2632
+ start_fleet=True
2665
2633
  )
2666
2634
  '''
2667
2635
 
@@ -3574,52 +3542,20 @@ class CfnFleetProps:
3574
3542
  :param vpc_config: The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types.
3575
3543
 
3576
3544
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html
3577
- :exampleMetadata: fixture=_generated
3545
+ :exampleMetadata: infused
3578
3546
 
3579
3547
  Example::
3580
3548
 
3581
- # The code below shows an example of how to instantiate this type.
3582
- # The values are placeholders you should change.
3583
- from aws_cdk import aws_appstream as appstream
3584
-
3585
- cfn_fleet_props = appstream.CfnFleetProps(
3586
- instance_type="instanceType",
3587
- name="name",
3588
-
3589
- # the properties below are optional
3549
+ fleet = appstream.CfnFleet(self, "Fleet",
3550
+ instance_type="stream.standard.small",
3551
+ name="Fleet",
3590
3552
  compute_capacity=appstream.CfnFleet.ComputeCapacityProperty(
3591
- desired_instances=123
3553
+ desired_instances=1
3592
3554
  ),
3593
- description="description",
3594
- disconnect_timeout_in_seconds=123,
3595
- display_name="displayName",
3596
- domain_join_info=appstream.CfnFleet.DomainJoinInfoProperty(
3597
- directory_name="directoryName",
3598
- organizational_unit_distinguished_name="organizationalUnitDistinguishedName"
3599
- ),
3600
- enable_default_internet_access=False,
3601
- fleet_type="fleetType",
3602
- iam_role_arn="iamRoleArn",
3603
- idle_disconnect_timeout_in_seconds=123,
3604
- image_arn="imageArn",
3605
- image_name="imageName",
3606
- max_concurrent_sessions=123,
3607
- max_user_duration_in_seconds=123,
3608
- platform="platform",
3609
- session_script_s3_location=appstream.CfnFleet.S3LocationProperty(
3610
- s3_bucket="s3Bucket",
3611
- s3_key="s3Key"
3612
- ),
3613
- stream_view="streamView",
3614
- tags=[CfnTag(
3615
- key="key",
3616
- value="value"
3617
- )],
3618
- usb_device_filter_strings=["usbDeviceFilterStrings"],
3619
- vpc_config=appstream.CfnFleet.VpcConfigProperty(
3620
- security_group_ids=["securityGroupIds"],
3621
- subnet_ids=["subnetIds"]
3622
- )
3555
+ image_name="AppStream-AmazonLinux2-09-21-2022"
3556
+ )
3557
+ fleet.cfn_options.creation_policy = CfnCreationPolicy(
3558
+ start_fleet=True
3623
3559
  )
3624
3560
  '''
3625
3561
  if __debug__:
@@ -1270,11 +1270,8 @@ class CfnWorkGroup(
1270
1270
  )
1271
1271
  class AclConfigurationProperty:
1272
1272
  def __init__(self, *, s3_acl_option: builtins.str) -> None:
1273
- '''Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results.
1274
-
1275
- When Athena stores query results in Amazon S3, the canned ACL is set with the ``x-amz-acl`` request header. For more information about S3 Object Ownership, see `Object Ownership settings <https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html#object-ownership-overview>`_ in the *Amazon S3 User Guide* .
1276
-
1277
- :param s3_acl_option: The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is ``BUCKET_OWNER_FULL_CONTROL`` . If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see `Canned ACL <https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl>`_ in the *Amazon S3 User Guide* .
1273
+ '''
1274
+ :param s3_acl_option: ``CfnWorkGroup.AclConfigurationProperty.S3AclOption``.
1278
1275
 
1279
1276
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-aclconfiguration.html
1280
1277
  :exampleMetadata: fixture=_generated
@@ -1298,9 +1295,7 @@ class CfnWorkGroup(
1298
1295
 
1299
1296
  @builtins.property
1300
1297
  def s3_acl_option(self) -> builtins.str:
1301
- '''The Amazon S3 canned ACL that Athena should specify when storing query results.
1302
-
1303
- Currently the only supported canned ACL is ``BUCKET_OWNER_FULL_CONTROL`` . If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see `Canned ACL <https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl>`_ in the *Amazon S3 User Guide* .
1298
+ '''``CfnWorkGroup.AclConfigurationProperty.S3AclOption``.
1304
1299
 
1305
1300
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-aclconfiguration.html#cfn-athena-workgroup-aclconfiguration-s3acloption
1306
1301
  '''
@@ -1326,9 +1321,8 @@ class CfnWorkGroup(
1326
1321
  )
1327
1322
  class CustomerContentEncryptionConfigurationProperty:
1328
1323
  def __init__(self, *, kms_key: builtins.str) -> None:
1329
- '''Specifies the KMS key that is used to encrypt the user's data stores in Athena.
1330
-
1331
- :param kms_key: The KMS key that is used to encrypt the user's data stores in Athena.
1324
+ '''
1325
+ :param kms_key: ``CfnWorkGroup.CustomerContentEncryptionConfigurationProperty.KmsKey``.
1332
1326
 
1333
1327
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-customercontentencryptionconfiguration.html
1334
1328
  :exampleMetadata: fixture=_generated
@@ -1352,7 +1346,7 @@ class CfnWorkGroup(
1352
1346
 
1353
1347
  @builtins.property
1354
1348
  def kms_key(self) -> builtins.str:
1355
- '''The KMS key that is used to encrypt the user's data stores in Athena.
1349
+ '''``CfnWorkGroup.CustomerContentEncryptionConfigurationProperty.KmsKey``.
1356
1350
 
1357
1351
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-customercontentencryptionconfiguration.html#cfn-athena-workgroup-customercontentencryptionconfiguration-kmskey
1358
1352
  '''
@@ -1546,9 +1540,9 @@ class CfnWorkGroup(
1546
1540
 
1547
1541
  These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the workgroup settings.
1548
1542
 
1549
- :param acl_configuration: Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is ``BUCKET_OWNER_FULL_CONTROL`` . This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. For more information, see ``WorkGroupConfiguration$EnforceWorkGroupConfiguration`` and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
1543
+ :param acl_configuration: ``CfnWorkGroup.ResultConfigurationProperty.AclConfiguration``.
1550
1544
  :param encryption_configuration: If query results are encrypted in Amazon S3, indicates the encryption option used (for example, ``SSE_KMS`` or ``CSE_KMS`` ) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ``EnforceWorkGroupConfiguration`` and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
1551
- :param expected_bucket_owner: The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ``ResultConfiguration$OutputLocation`` . If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ``WorkGroupConfiguration$EnforceWorkGroupConfiguration`` and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
1545
+ :param expected_bucket_owner: ``CfnWorkGroup.ResultConfigurationProperty.ExpectedBucketOwner``.
1552
1546
  :param output_location: The location in Amazon S3 where your query results are stored, such as ``s3://path/to/query/bucket/`` . To run a query, you must specify the query results location using either a client-side setting for individual queries or a location specified by the workgroup. If workgroup settings override client-side settings, then the query uses the location specified for the workgroup. If no query location is set, Athena issues an error. For more information, see `Working with Query Results, Output Files, and Query History <https://docs.aws.amazon.com/athena/latest/ug/querying.html>`_ and ``EnforceWorkGroupConfiguration`` .
1553
1547
 
1554
1548
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html
@@ -1594,9 +1588,7 @@ class CfnWorkGroup(
1594
1588
  def acl_configuration(
1595
1589
  self,
1596
1590
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.AclConfigurationProperty"]]:
1597
- '''Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results.
1598
-
1599
- Currently the only supported canned ACL is ``BUCKET_OWNER_FULL_CONTROL`` . This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. For more information, see ``WorkGroupConfiguration$EnforceWorkGroupConfiguration`` and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
1591
+ '''``CfnWorkGroup.ResultConfigurationProperty.AclConfiguration``.
1600
1592
 
1601
1593
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-aclconfiguration
1602
1594
  '''
@@ -1618,11 +1610,7 @@ class CfnWorkGroup(
1618
1610
 
1619
1611
  @builtins.property
1620
1612
  def expected_bucket_owner(self) -> typing.Optional[builtins.str]:
1621
- '''The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ``ResultConfiguration$OutputLocation`` .
1622
-
1623
- If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
1624
-
1625
- This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ``WorkGroupConfiguration$EnforceWorkGroupConfiguration`` and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
1613
+ '''``CfnWorkGroup.ResultConfigurationProperty.ExpectedBucketOwner``.
1626
1614
 
1627
1615
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-expectedbucketowner
1628
1616
  '''
@@ -1684,12 +1672,12 @@ class CfnWorkGroup(
1684
1672
 
1685
1673
  The ``EnforceWorkGroupConfiguration`` option determines whether workgroup settings override client-side query settings.
1686
1674
 
1687
- :param additional_configuration: Specifies a user defined JSON string that is passed to the notebook engine.
1675
+ :param additional_configuration: ``CfnWorkGroup.WorkGroupConfigurationProperty.AdditionalConfiguration``.
1688
1676
  :param bytes_scanned_cutoff_per_query: The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. No default is defined. .. epigraph:: This property currently supports integer types. Support for long values is planned.
1689
- :param customer_content_encryption_configuration: Specifies the KMS key that is used to encrypt the user's data stores in Athena.
1677
+ :param customer_content_encryption_configuration: ``CfnWorkGroup.WorkGroupConfigurationProperty.CustomerContentEncryptionConfiguration``.
1690
1678
  :param enforce_work_group_configuration: If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
1691
- :param engine_version: The engine version that all queries running on the workgroup use. Queries on the ``AmazonAthenaPreviewFunctionality`` workgroup run on the preview engine regardless of this setting.
1692
- :param execution_role: Role used in a session for accessing the user's resources.
1679
+ :param engine_version: ``CfnWorkGroup.WorkGroupConfigurationProperty.EngineVersion``.
1680
+ :param execution_role: ``CfnWorkGroup.WorkGroupConfigurationProperty.ExecutionRole``.
1693
1681
  :param publish_cloud_watch_metrics_enabled: Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
1694
1682
  :param requester_pays_enabled: If set to ``true`` , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to ``false`` , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is ``false`` . For more information about Requester Pays buckets, see `Requester Pays Buckets <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html>`_ in the *Amazon Simple Storage Service Developer Guide* .
1695
1683
  :param result_configuration: Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see `Working with Query Results, Output Files, and Query History <https://docs.aws.amazon.com/athena/latest/ug/querying.html>`_ .
@@ -1765,7 +1753,7 @@ class CfnWorkGroup(
1765
1753
 
1766
1754
  @builtins.property
1767
1755
  def additional_configuration(self) -> typing.Optional[builtins.str]:
1768
- '''Specifies a user defined JSON string that is passed to the notebook engine.
1756
+ '''``CfnWorkGroup.WorkGroupConfigurationProperty.AdditionalConfiguration``.
1769
1757
 
1770
1758
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-additionalconfiguration
1771
1759
  '''
@@ -1790,7 +1778,7 @@ class CfnWorkGroup(
1790
1778
  def customer_content_encryption_configuration(
1791
1779
  self,
1792
1780
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.CustomerContentEncryptionConfigurationProperty"]]:
1793
- '''Specifies the KMS key that is used to encrypt the user's data stores in Athena.
1781
+ '''``CfnWorkGroup.WorkGroupConfigurationProperty.CustomerContentEncryptionConfiguration``.
1794
1782
 
1795
1783
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-customercontentencryptionconfiguration
1796
1784
  '''
@@ -1814,9 +1802,7 @@ class CfnWorkGroup(
1814
1802
  def engine_version(
1815
1803
  self,
1816
1804
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.EngineVersionProperty"]]:
1817
- '''The engine version that all queries running on the workgroup use.
1818
-
1819
- Queries on the ``AmazonAthenaPreviewFunctionality`` workgroup run on the preview engine regardless of this setting.
1805
+ '''``CfnWorkGroup.WorkGroupConfigurationProperty.EngineVersion``.
1820
1806
 
1821
1807
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-engineversion
1822
1808
  '''
@@ -1825,7 +1811,7 @@ class CfnWorkGroup(
1825
1811
 
1826
1812
  @builtins.property
1827
1813
  def execution_role(self) -> typing.Optional[builtins.str]:
1828
- '''Role used in a session for accessing the user's resources.
1814
+ '''``CfnWorkGroup.WorkGroupConfigurationProperty.ExecutionRole``.
1829
1815
 
1830
1816
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-executionrole
1831
1817
  '''
@@ -205,11 +205,10 @@ By default access is not restricted.
205
205
  Use the `lockConfiguration` property to enable [AWS Backup Vault Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html):
206
206
 
207
207
  ```python
208
- # Example automatically generated from non-compiling source. May contain errors.
209
- BackupVault(stack, "Vault",
210
- lock_configuration={
211
- "min_retention": Duration.days(30)
212
- }
208
+ backup.BackupVault(self, "Vault",
209
+ lock_configuration=backup.LockConfiguration(
210
+ min_retention=Duration.days(30)
211
+ )
213
212
  )
214
213
  ```
215
214
 
@@ -2853,10 +2852,9 @@ class CfnBackupSelection(
2853
2852
  condition_key: typing.Optional[builtins.str] = None,
2854
2853
  condition_value: typing.Optional[builtins.str] = None,
2855
2854
  ) -> None:
2856
- '''Includes information about tags you define to assign tagged resources to a backup plan.
2857
-
2858
- :param condition_key: The key in a key-value pair. For example, in the tag ``Department: Accounting`` , ``Department`` is the key.
2859
- :param condition_value: The value in a key-value pair. For example, in the tag ``Department: Accounting`` , ``Accounting`` is the value.
2855
+ '''
2856
+ :param condition_key: ``CfnBackupSelection.ConditionParameterProperty.ConditionKey``.
2857
+ :param condition_value: ``CfnBackupSelection.ConditionParameterProperty.ConditionValue``.
2860
2858
 
2861
2859
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditionparameter.html
2862
2860
  :exampleMetadata: fixture=_generated
@@ -2884,9 +2882,7 @@ class CfnBackupSelection(
2884
2882
 
2885
2883
  @builtins.property
2886
2884
  def condition_key(self) -> typing.Optional[builtins.str]:
2887
- '''The key in a key-value pair.
2888
-
2889
- For example, in the tag ``Department: Accounting`` , ``Department`` is the key.
2885
+ '''``CfnBackupSelection.ConditionParameterProperty.ConditionKey``.
2890
2886
 
2891
2887
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditionparameter.html#cfn-backup-backupselection-conditionparameter-conditionkey
2892
2888
  '''
@@ -2895,9 +2891,7 @@ class CfnBackupSelection(
2895
2891
 
2896
2892
  @builtins.property
2897
2893
  def condition_value(self) -> typing.Optional[builtins.str]:
2898
- '''The value in a key-value pair.
2899
-
2900
- For example, in the tag ``Department: Accounting`` , ``Accounting`` is the value.
2894
+ '''``CfnBackupSelection.ConditionParameterProperty.ConditionValue``.
2901
2895
 
2902
2896
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditionparameter.html#cfn-backup-backupselection-conditionparameter-conditionvalue
2903
2897
  '''
@@ -3030,14 +3024,11 @@ class CfnBackupSelection(
3030
3024
  string_not_equals: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBackupSelection.ConditionParameterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
3031
3025
  string_not_like: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBackupSelection.ConditionParameterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
3032
3026
  ) -> None:
3033
- '''Contains information about which resources to include or exclude from a backup plan using their tags.
3034
-
3035
- Conditions are case sensitive.
3036
-
3037
- :param string_equals: Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
3038
- :param string_like: Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
3039
- :param string_not_equals: Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
3040
- :param string_not_like: Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
3027
+ '''
3028
+ :param string_equals: ``CfnBackupSelection.ConditionsProperty.StringEquals``.
3029
+ :param string_like: ``CfnBackupSelection.ConditionsProperty.StringLike``.
3030
+ :param string_not_equals: ``CfnBackupSelection.ConditionsProperty.StringNotEquals``.
3031
+ :param string_not_like: ``CfnBackupSelection.ConditionsProperty.StringNotLike``.
3041
3032
 
3042
3033
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditions.html
3043
3034
  :exampleMetadata: fixture=_generated
@@ -3087,9 +3078,7 @@ class CfnBackupSelection(
3087
3078
  def string_equals(
3088
3079
  self,
3089
3080
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBackupSelection.ConditionParameterProperty"]]]]:
3090
- '''Filters the values of your tagged resources for only those resources that you tagged with the same value.
3091
-
3092
- Also called "exact matching."
3081
+ '''``CfnBackupSelection.ConditionsProperty.StringEquals``.
3093
3082
 
3094
3083
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditions.html#cfn-backup-backupselection-conditions-stringequals
3095
3084
  '''
@@ -3100,9 +3089,7 @@ class CfnBackupSelection(
3100
3089
  def string_like(
3101
3090
  self,
3102
3091
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBackupSelection.ConditionParameterProperty"]]]]:
3103
- '''Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string.
3104
-
3105
- For example, "prod*" or "*rod*" matches the tag value "production".
3092
+ '''``CfnBackupSelection.ConditionsProperty.StringLike``.
3106
3093
 
3107
3094
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditions.html#cfn-backup-backupselection-conditions-stringlike
3108
3095
  '''
@@ -3113,9 +3100,7 @@ class CfnBackupSelection(
3113
3100
  def string_not_equals(
3114
3101
  self,
3115
3102
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBackupSelection.ConditionParameterProperty"]]]]:
3116
- '''Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.
3117
-
3118
- Also called "negated matching."
3103
+ '''``CfnBackupSelection.ConditionsProperty.StringNotEquals``.
3119
3104
 
3120
3105
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditions.html#cfn-backup-backupselection-conditions-stringnotequals
3121
3106
  '''
@@ -3126,7 +3111,7 @@ class CfnBackupSelection(
3126
3111
  def string_not_like(
3127
3112
  self,
3128
3113
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBackupSelection.ConditionParameterProperty"]]]]:
3129
- '''Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
3114
+ '''``CfnBackupSelection.ConditionsProperty.StringNotLike``.
3130
3115
 
3131
3116
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditions.html#cfn-backup-backupselection-conditions-stringnotlike
3132
3117
  '''
@@ -4185,16 +4170,10 @@ class CfnFramework(
4185
4170
  compliance_resource_types: typing.Optional[typing.Sequence[builtins.str]] = None,
4186
4171
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4187
4172
  ) -> None:
4188
- '''A framework consists of one or more controls.
4189
-
4190
- Each control has its own control scope. The control scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one resource ID. If no scope is specified, evaluations for the rule are triggered when any resource in your recording group changes in configuration.
4191
- .. epigraph::
4192
-
4193
- To set a control scope that includes all of a particular resource, leave the ``ControlScope`` empty or do not pass it when calling ``CreateFramework`` .
4194
-
4195
- :param compliance_resource_ids: The ID of the only AWS resource that you want your control scope to contain.
4196
- :param compliance_resource_types: Describes whether the control scope includes one or more types of resources, such as ``EFS`` or ``RDS`` .
4197
- :param tags: The tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string. The structure to assign a tag is: ``[{"Key":"string","Value":"string"}]`` .
4173
+ '''
4174
+ :param compliance_resource_ids: ``CfnFramework.ControlScopeProperty.ComplianceResourceIds``.
4175
+ :param compliance_resource_types: ``CfnFramework.ControlScopeProperty.ComplianceResourceTypes``.
4176
+ :param tags: ``CfnFramework.ControlScopeProperty.Tags``.
4198
4177
 
4199
4178
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-controlscope.html
4200
4179
  :exampleMetadata: fixture=_generated
@@ -4229,7 +4208,7 @@ class CfnFramework(
4229
4208
 
4230
4209
  @builtins.property
4231
4210
  def compliance_resource_ids(self) -> typing.Optional[typing.List[builtins.str]]:
4232
- '''The ID of the only AWS resource that you want your control scope to contain.
4211
+ '''``CfnFramework.ControlScopeProperty.ComplianceResourceIds``.
4233
4212
 
4234
4213
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-controlscope.html#cfn-backup-framework-controlscope-complianceresourceids
4235
4214
  '''
@@ -4240,7 +4219,7 @@ class CfnFramework(
4240
4219
  def compliance_resource_types(
4241
4220
  self,
4242
4221
  ) -> typing.Optional[typing.List[builtins.str]]:
4243
- '''Describes whether the control scope includes one or more types of resources, such as ``EFS`` or ``RDS`` .
4222
+ '''``CfnFramework.ControlScopeProperty.ComplianceResourceTypes``.
4244
4223
 
4245
4224
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-controlscope.html#cfn-backup-framework-controlscope-complianceresourcetypes
4246
4225
  '''
@@ -4249,9 +4228,7 @@ class CfnFramework(
4249
4228
 
4250
4229
  @builtins.property
4251
4230
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4252
- '''The tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule.
4253
-
4254
- A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string. The structure to assign a tag is: ``[{"Key":"string","Value":"string"}]`` .
4231
+ '''``CfnFramework.ControlScopeProperty.Tags``.
4255
4232
 
4256
4233
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-controlscope.html#cfn-backup-framework-controlscope-tags
4257
4234
  '''
@@ -4734,11 +4711,10 @@ class CfnReportPlan(
4734
4711
  formats: typing.Optional[typing.Sequence[builtins.str]] = None,
4735
4712
  s3_key_prefix: typing.Optional[builtins.str] = None,
4736
4713
  ) -> None:
4737
- '''Contains information from your report plan about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
4738
-
4739
- :param s3_bucket_name: The unique name of the S3 bucket that receives your reports.
4740
- :param formats: A list of the format of your reports: ``CSV`` , ``JSON`` , or both. If not specified, the default format is ``CSV`` .
4741
- :param s3_key_prefix: The prefix for where AWS Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/ ``prefix`` /Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
4714
+ '''
4715
+ :param s3_bucket_name: ``CfnReportPlan.ReportDeliveryChannelProperty.S3BucketName``.
4716
+ :param formats: ``CfnReportPlan.ReportDeliveryChannelProperty.Formats``.
4717
+ :param s3_key_prefix: ``CfnReportPlan.ReportDeliveryChannelProperty.S3KeyPrefix``.
4742
4718
 
4743
4719
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportdeliverychannel.html
4744
4720
  :exampleMetadata: fixture=_generated
@@ -4772,7 +4748,7 @@ class CfnReportPlan(
4772
4748
 
4773
4749
  @builtins.property
4774
4750
  def s3_bucket_name(self) -> builtins.str:
4775
- '''The unique name of the S3 bucket that receives your reports.
4751
+ '''``CfnReportPlan.ReportDeliveryChannelProperty.S3BucketName``.
4776
4752
 
4777
4753
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportdeliverychannel.html#cfn-backup-reportplan-reportdeliverychannel-s3bucketname
4778
4754
  '''
@@ -4782,9 +4758,7 @@ class CfnReportPlan(
4782
4758
 
4783
4759
  @builtins.property
4784
4760
  def formats(self) -> typing.Optional[typing.List[builtins.str]]:
4785
- '''A list of the format of your reports: ``CSV`` , ``JSON`` , or both.
4786
-
4787
- If not specified, the default format is ``CSV`` .
4761
+ '''``CfnReportPlan.ReportDeliveryChannelProperty.Formats``.
4788
4762
 
4789
4763
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportdeliverychannel.html#cfn-backup-reportplan-reportdeliverychannel-formats
4790
4764
  '''
@@ -4793,9 +4767,7 @@ class CfnReportPlan(
4793
4767
 
4794
4768
  @builtins.property
4795
4769
  def s3_key_prefix(self) -> typing.Optional[builtins.str]:
4796
- '''The prefix for where AWS Backup Audit Manager delivers your reports to Amazon S3.
4797
-
4798
- The prefix is this part of the following path: s3://your-bucket-name/ ``prefix`` /Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
4770
+ '''``CfnReportPlan.ReportDeliveryChannelProperty.S3KeyPrefix``.
4799
4771
 
4800
4772
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportdeliverychannel.html#cfn-backup-reportplan-reportdeliverychannel-s3keyprefix
4801
4773
  '''
@@ -4834,13 +4806,12 @@ class CfnReportPlan(
4834
4806
  organization_units: typing.Optional[typing.Sequence[builtins.str]] = None,
4835
4807
  regions: typing.Optional[typing.Sequence[builtins.str]] = None,
4836
4808
  ) -> None:
4837
- '''Contains detailed information about a report setting.
4838
-
4839
- :param report_template: Identifies the report template for the report. Reports are built using a report template. The report templates are:. ``RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT``
4840
- :param accounts: These are the accounts to be included in the report.
4841
- :param framework_arns: The Amazon Resource Names (ARNs) of the frameworks a report covers.
4842
- :param organization_units: These are the Organizational Units to be included in the report.
4843
- :param regions: These are the Regions to be included in the report.
4809
+ '''
4810
+ :param report_template: ``CfnReportPlan.ReportSettingProperty.ReportTemplate``.
4811
+ :param accounts: ``CfnReportPlan.ReportSettingProperty.Accounts``.
4812
+ :param framework_arns: ``CfnReportPlan.ReportSettingProperty.FrameworkArns``.
4813
+ :param organization_units: ``CfnReportPlan.ReportSettingProperty.OrganizationUnits``.
4814
+ :param regions: ``CfnReportPlan.ReportSettingProperty.Regions``.
4844
4815
 
4845
4816
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html
4846
4817
  :exampleMetadata: fixture=_generated
@@ -4882,9 +4853,7 @@ class CfnReportPlan(
4882
4853
 
4883
4854
  @builtins.property
4884
4855
  def report_template(self) -> builtins.str:
4885
- '''Identifies the report template for the report. Reports are built using a report template. The report templates are:.
4886
-
4887
- ``RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT``
4856
+ '''``CfnReportPlan.ReportSettingProperty.ReportTemplate``.
4888
4857
 
4889
4858
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html#cfn-backup-reportplan-reportsetting-reporttemplate
4890
4859
  '''
@@ -4894,7 +4863,7 @@ class CfnReportPlan(
4894
4863
 
4895
4864
  @builtins.property
4896
4865
  def accounts(self) -> typing.Optional[typing.List[builtins.str]]:
4897
- '''These are the accounts to be included in the report.
4866
+ '''``CfnReportPlan.ReportSettingProperty.Accounts``.
4898
4867
 
4899
4868
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html#cfn-backup-reportplan-reportsetting-accounts
4900
4869
  '''
@@ -4903,7 +4872,7 @@ class CfnReportPlan(
4903
4872
 
4904
4873
  @builtins.property
4905
4874
  def framework_arns(self) -> typing.Optional[typing.List[builtins.str]]:
4906
- '''The Amazon Resource Names (ARNs) of the frameworks a report covers.
4875
+ '''``CfnReportPlan.ReportSettingProperty.FrameworkArns``.
4907
4876
 
4908
4877
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html#cfn-backup-reportplan-reportsetting-frameworkarns
4909
4878
  '''
@@ -4912,7 +4881,7 @@ class CfnReportPlan(
4912
4881
 
4913
4882
  @builtins.property
4914
4883
  def organization_units(self) -> typing.Optional[typing.List[builtins.str]]:
4915
- '''These are the Organizational Units to be included in the report.
4884
+ '''``CfnReportPlan.ReportSettingProperty.OrganizationUnits``.
4916
4885
 
4917
4886
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html#cfn-backup-reportplan-reportsetting-organizationunits
4918
4887
  '''
@@ -4921,7 +4890,7 @@ class CfnReportPlan(
4921
4890
 
4922
4891
  @builtins.property
4923
4892
  def regions(self) -> typing.Optional[typing.List[builtins.str]]:
4924
- '''These are the Regions to be included in the report.
4893
+ '''``CfnReportPlan.ReportSettingProperty.Regions``.
4925
4894
 
4926
4895
  :link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-reportplan-reportsetting.html#cfn-backup-reportplan-reportsetting-regions
4927
4896
  '''
@@ -5219,21 +5188,14 @@ class LockConfiguration:
5219
5188
  :param max_retention: The maximum retention period that the vault retains its recovery points. If this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already saved in the vault prior to Vault Lock are not affected. Default: - Vault Lock does not enforce a maximum retention period
5220
5189
 
5221
5190
  :see: https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html
5222
- :exampleMetadata: fixture=_generated
5191
+ :exampleMetadata: infused
5223
5192
 
5224
5193
  Example::
5225
5194
 
5226
- # The code below shows an example of how to instantiate this type.
5227
- # The values are placeholders you should change.
5228
- import aws_cdk as cdk
5229
- from aws_cdk import aws_backup as backup
5230
-
5231
- lock_configuration = backup.LockConfiguration(
5232
- min_retention=cdk.Duration.minutes(30),
5233
-
5234
- # the properties below are optional
5235
- changeable_for=cdk.Duration.minutes(30),
5236
- max_retention=cdk.Duration.minutes(30)
5195
+ backup.BackupVault(self, "Vault",
5196
+ lock_configuration=backup.LockConfiguration(
5197
+ min_retention=Duration.days(30)
5198
+ )
5237
5199
  )
5238
5200
  '''
5239
5201
  if __debug__: