aws-cdk-lib 2.75.1__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.
- aws_cdk/__init__.py +245 -259
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.75.1.jsii.tgz → aws-cdk-lib@2.76.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +184 -216
- aws_cdk/aws_apigateway/__init__.py +95 -148
- aws_cdk/aws_appconfig/__init__.py +8 -4
- aws_cdk/aws_appflow/__init__.py +27 -52
- aws_cdk/aws_appmesh/__init__.py +91 -200
- aws_cdk/aws_apprunner/__init__.py +4 -16
- aws_cdk/aws_appstream/__init__.py +18 -82
- aws_cdk/aws_athena/__init__.py +18 -32
- aws_cdk/aws_backup/__init__.py +48 -86
- aws_cdk/aws_billingconductor/__init__.py +12 -7
- aws_cdk/aws_budgets/__init__.py +8 -17
- aws_cdk/aws_certificatemanager/__init__.py +7 -4
- aws_cdk/aws_cloudfront/__init__.py +14 -11
- aws_cdk/aws_cloudfront_origins/__init__.py +18 -8
- aws_cdk/aws_cloudtrail/__init__.py +7 -10
- aws_cdk/aws_cloudwatch/__init__.py +63 -35
- aws_cdk/aws_codebuild/__init__.py +10 -13
- aws_cdk/aws_codecommit/__init__.py +0 -1
- aws_cdk/aws_codedeploy/__init__.py +165 -162
- aws_cdk/aws_codepipeline/__init__.py +0 -4
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -164
- aws_cdk/aws_cognito/__init__.py +195 -100
- aws_cdk/aws_config/__init__.py +28 -51
- aws_cdk/aws_connectcampaigns/__init__.py +5 -6
- aws_cdk/aws_databrew/__init__.py +5 -6
- aws_cdk/aws_dlm/__init__.py +33 -71
- aws_cdk/aws_docdb/__init__.py +20 -76
- aws_cdk/aws_dynamodb/__init__.py +7 -14
- aws_cdk/aws_ec2/__init__.py +1846 -421
- aws_cdk/aws_ecr/__init__.py +1 -2
- aws_cdk/aws_ecr_assets/__init__.py +27 -14
- aws_cdk/aws_ecs/__init__.py +241 -111
- aws_cdk/aws_ecs_patterns/__init__.py +13 -11
- aws_cdk/aws_eks/__init__.py +13 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +142 -82
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +126 -61
- aws_cdk/aws_elasticsearch/__init__.py +0 -7
- aws_cdk/aws_emr/__init__.py +7 -16
- aws_cdk/aws_emrserverless/__init__.py +14 -18
- aws_cdk/aws_events/__init__.py +33 -29
- aws_cdk/aws_events_targets/__init__.py +248 -89
- aws_cdk/aws_frauddetector/__init__.py +3 -4
- aws_cdk/aws_fsx/__init__.py +13 -7
- aws_cdk/aws_gamelift/__init__.py +11 -20
- aws_cdk/aws_iam/__init__.py +21 -25
- aws_cdk/aws_imagebuilder/__init__.py +58 -80
- aws_cdk/aws_iot/__init__.py +16 -10
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -26
- aws_cdk/aws_iotevents/__init__.py +6 -4
- aws_cdk/aws_iotfleetwise/__init__.py +27 -40
- aws_cdk/aws_iotsitewise/__init__.py +8 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +21 -38
- aws_cdk/aws_lambda/__init__.py +59 -48
- aws_cdk/aws_lambda_event_sources/__init__.py +6 -21
- aws_cdk/aws_logs/__init__.py +5 -7
- aws_cdk/aws_macie/__init__.py +22 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -8
- aws_cdk/aws_medialive/__init__.py +2 -4
- aws_cdk/aws_mediapackage/__init__.py +9 -18
- aws_cdk/aws_memorydb/__init__.py +5 -10
- aws_cdk/aws_mwaa/__init__.py +8 -4
- aws_cdk/aws_nimblestudio/__init__.py +25 -45
- aws_cdk/aws_opensearchservice/__init__.py +0 -1
- aws_cdk/aws_panorama/__init__.py +11 -12
- aws_cdk/aws_personalize/__init__.py +46 -72
- aws_cdk/aws_pinpoint/__init__.py +36 -65
- aws_cdk/aws_quicksight/__init__.py +9972 -13374
- aws_cdk/aws_rds/__init__.py +23 -22
- aws_cdk/aws_route53/__init__.py +8 -16
- aws_cdk/aws_route53_targets/__init__.py +2 -4
- aws_cdk/aws_s3/__init__.py +25 -85
- aws_cdk/aws_s3_notifications/__init__.py +0 -3
- aws_cdk/aws_sagemaker/__init__.py +6 -2
- aws_cdk/aws_secretsmanager/__init__.py +17 -14
- aws_cdk/aws_servicecatalog/__init__.py +58 -82
- aws_cdk/aws_servicediscovery/__init__.py +4 -6
- aws_cdk/aws_ses/__init__.py +21 -34
- aws_cdk/aws_sns/__init__.py +4 -8
- aws_cdk/aws_ssm/__init__.py +19 -23
- aws_cdk/aws_ssmcontacts/__init__.py +10 -6
- aws_cdk/aws_stepfunctions/__init__.py +3 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +7 -12
- aws_cdk/aws_timestream/__init__.py +22 -28
- aws_cdk/aws_xray/__init__.py +15 -22
- aws_cdk/cloud_assembly_schema/__init__.py +14 -6
- aws_cdk/custom_resources/__init__.py +2 -3
- aws_cdk/pipelines/__init__.py +84 -134
- aws_cdk/triggers/__init__.py +46 -61
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/METADATA +47 -92
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/RECORD +98 -98
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.75.1.dist-info → aws_cdk_lib-2.76.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.75.1.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:
|
|
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
|
-
'''
|
|
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:
|
|
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
|
-
'''
|
|
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:
|
|
2619
|
+
:exampleMetadata: infused
|
|
2620
2620
|
|
|
2621
2621
|
Example::
|
|
2622
2622
|
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
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=
|
|
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
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
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:
|
|
3545
|
+
:exampleMetadata: infused
|
|
3578
3546
|
|
|
3579
3547
|
Example::
|
|
3580
3548
|
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
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=
|
|
3553
|
+
desired_instances=1
|
|
3592
3554
|
),
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
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__:
|
aws_cdk/aws_athena/__init__.py
CHANGED
|
@@ -1270,11 +1270,8 @@ class CfnWorkGroup(
|
|
|
1270
1270
|
)
|
|
1271
1271
|
class AclConfigurationProperty:
|
|
1272
1272
|
def __init__(self, *, s3_acl_option: builtins.str) -> None:
|
|
1273
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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:
|
|
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:
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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:
|
|
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:
|
|
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:
|
|
1692
|
-
:param execution_role:
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
'''
|
aws_cdk/aws_backup/__init__.py
CHANGED
|
@@ -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
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
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
|
-
'''
|
|
2857
|
-
|
|
2858
|
-
:param
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
:param
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
4738
|
-
|
|
4739
|
-
:param
|
|
4740
|
-
:param
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
4838
|
-
|
|
4839
|
-
:param
|
|
4840
|
-
:param
|
|
4841
|
-
:param
|
|
4842
|
-
:param
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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
|
-
'''
|
|
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:
|
|
5191
|
+
:exampleMetadata: infused
|
|
5223
5192
|
|
|
5224
5193
|
Example::
|
|
5225
5194
|
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
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__:
|