aws-cdk-lib 2.213.0__py3-none-any.whl → 2.214.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 +23 -3
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.213.0.jsii.tgz → aws-cdk-lib@2.214.0.jsii.tgz} +0 -0
- aws_cdk/aws_appconfig/__init__.py +18 -6
- aws_cdk/aws_appintegrations/__init__.py +4 -4
- aws_cdk/aws_apprunner/__init__.py +5 -8
- aws_cdk/aws_aps/__init__.py +243 -10
- aws_cdk/aws_b2bi/__init__.py +1015 -128
- aws_cdk/aws_batch/__init__.py +33 -11
- aws_cdk/aws_bedrock/__init__.py +22 -216
- aws_cdk/aws_budgets/__init__.py +18 -0
- aws_cdk/aws_certificatemanager/__init__.py +96 -15
- aws_cdk/aws_cloudformation/__init__.py +3 -3
- aws_cdk/aws_cloudwatch/__init__.py +80 -49
- aws_cdk/aws_cognito/__init__.py +76 -5
- aws_cdk/aws_connect/__init__.py +188 -2
- aws_cdk/aws_datazone/__init__.py +2267 -0
- aws_cdk/aws_deadline/__init__.py +6 -5
- aws_cdk/aws_dynamodb/__init__.py +27 -16
- aws_cdk/aws_ec2/__init__.py +51 -10
- aws_cdk/aws_ecs/__init__.py +288 -25
- aws_cdk/aws_ecs_patterns/__init__.py +2 -0
- aws_cdk/aws_eks/__init__.py +124 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +6 -2
- aws_cdk/aws_entityresolution/__init__.py +107 -0
- aws_cdk/aws_events/__init__.py +153 -55
- aws_cdk/aws_events_targets/__init__.py +87 -36
- aws_cdk/aws_fsx/__init__.py +62 -0
- aws_cdk/aws_gameliftstreams/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +205 -23
- aws_cdk/aws_guardduty/__init__.py +205 -100
- aws_cdk/aws_iam/__init__.py +24 -21
- aws_cdk/aws_inspectorv2/__init__.py +125 -80
- aws_cdk/aws_iot/__init__.py +37 -19
- aws_cdk/aws_iotsitewise/__init__.py +111 -75
- aws_cdk/aws_ivs/__init__.py +17 -17
- aws_cdk/aws_kinesisanalytics/__init__.py +122 -3
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +122 -3
- aws_cdk/aws_lambda/__init__.py +23 -2
- aws_cdk/aws_logs/__init__.py +20 -15
- aws_cdk/aws_mediapackagev2/__init__.py +2 -2
- aws_cdk/aws_networkfirewall/__init__.py +6 -6
- aws_cdk/aws_omics/__init__.py +477 -2
- aws_cdk/aws_qbusiness/__init__.py +4 -2
- aws_cdk/aws_rds/__init__.py +132 -4
- aws_cdk/aws_route53/__init__.py +18 -11
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3_deployment/__init__.py +45 -0
- aws_cdk/aws_sagemaker/__init__.py +653 -0
- aws_cdk/aws_servicediscovery/__init__.py +22 -37
- aws_cdk/aws_sns/__init__.py +12 -2
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
- aws_cdk/aws_sqs/__init__.py +5 -5
- aws_cdk/aws_ssm/__init__.py +8 -3
- aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
- aws_cdk/aws_synthetics/__init__.py +222 -12
- aws_cdk/aws_transfer/__init__.py +15 -2
- aws_cdk/aws_vpclattice/__init__.py +41 -0
- aws_cdk/aws_workspacesweb/__init__.py +71 -41
- {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/RECORD +65 -65
- {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/top_level.txt +0 -0
|
@@ -2865,7 +2865,7 @@ class CfnDataSource(
|
|
|
2865
2865
|
:param description: A description for the data source connector.
|
|
2866
2866
|
:param document_enrichment_configuration: Provides the configuration information for altering document metadata and content during the document ingestion process. For more information, see `Custom document enrichment <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html>`_ .
|
|
2867
2867
|
:param media_extraction_configuration: The configuration for extracting information from media in documents.
|
|
2868
|
-
:param role_arn: The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
|
|
2868
|
+
:param role_arn: The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. This field is required for all connector types except custom connectors, where it is optional.
|
|
2869
2869
|
:param sync_schedule: Sets the frequency for Amazon Q Business to check the documents in your data source repository and update your index. If you don't set a schedule, Amazon Q Business won't periodically update the index. Specify a ``cron-`` format schedule string or an empty string to indicate that the index is updated on demand. You can't specify the ``Schedule`` parameter when the ``Type`` parameter is set to ``CUSTOM`` . If you do, you receive a ``ValidationException`` exception.
|
|
2870
2870
|
:param tags: A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -
|
|
2871
2871
|
:param vpc_configuration: Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source. For more information, see `Using Amazon VPC with Amazon Q Business connectors <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html>`_ .
|
|
@@ -4268,7 +4268,7 @@ class CfnDataSourceProps:
|
|
|
4268
4268
|
:param description: A description for the data source connector.
|
|
4269
4269
|
:param document_enrichment_configuration: Provides the configuration information for altering document metadata and content during the document ingestion process. For more information, see `Custom document enrichment <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html>`_ .
|
|
4270
4270
|
:param media_extraction_configuration: The configuration for extracting information from media in documents.
|
|
4271
|
-
:param role_arn: The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
|
|
4271
|
+
:param role_arn: The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. This field is required for all connector types except custom connectors, where it is optional.
|
|
4272
4272
|
:param sync_schedule: Sets the frequency for Amazon Q Business to check the documents in your data source repository and update your index. If you don't set a schedule, Amazon Q Business won't periodically update the index. Specify a ``cron-`` format schedule string or an empty string to indicate that the index is updated on demand. You can't specify the ``Schedule`` parameter when the ``Type`` parameter is set to ``CUSTOM`` . If you do, you receive a ``ValidationException`` exception.
|
|
4273
4273
|
:param tags: A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -
|
|
4274
4274
|
:param vpc_configuration: Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source. For more information, see `Using Amazon VPC with Amazon Q Business connectors <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html>`_ .
|
|
@@ -4501,6 +4501,8 @@ class CfnDataSourceProps:
|
|
|
4501
4501
|
def role_arn(self) -> typing.Optional[builtins.str]:
|
|
4502
4502
|
'''The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
|
|
4503
4503
|
|
|
4504
|
+
This field is required for all connector types except custom connectors, where it is optional.
|
|
4505
|
+
|
|
4504
4506
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-rolearn
|
|
4505
4507
|
'''
|
|
4506
4508
|
result = self._values.get("role_arn")
|
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -434,6 +434,25 @@ To apply changes of the cluster, such as engine version, in the next scheduled m
|
|
|
434
434
|
|
|
435
435
|
For details, see [Modifying an Amazon Aurora DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html).
|
|
436
436
|
|
|
437
|
+
### Retaining Automated Backups
|
|
438
|
+
|
|
439
|
+
By default, when a database cluster is deleted, automated backups are removed immediately unless an AWS Backup policy specifies a point-in-time restore rule. You can control this behavior using the `deleteAutomatedBackups` property:
|
|
440
|
+
|
|
441
|
+
```python
|
|
442
|
+
# vpc: ec2.IVpc
|
|
443
|
+
|
|
444
|
+
# Retain automated backups after cluster deletion
|
|
445
|
+
rds.DatabaseCluster(self, "Database",
|
|
446
|
+
engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
|
|
447
|
+
writer=rds.ClusterInstance.provisioned("writer"),
|
|
448
|
+
vpc=vpc,
|
|
449
|
+
delete_automated_backups=False
|
|
450
|
+
)
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
When set to `false`, automated backups are retained according to the configured retention period after the cluster is deleted. When set to `true` or not specified (default), automated backups are deleted immediately when the cluster is deleted.
|
|
454
|
+
Detail about this feature can be found in the [AWS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.Retaining.html).
|
|
455
|
+
|
|
437
456
|
### Migrating from instanceProps
|
|
438
457
|
|
|
439
458
|
Creating instances in a `DatabaseCluster` using `instanceProps` & `instances` is
|
|
@@ -2391,11 +2410,14 @@ class AuroraMysqlClusterEngineProps:
|
|
|
2391
2410
|
|
|
2392
2411
|
cluster = rds.DatabaseCluster(self, "Database",
|
|
2393
2412
|
engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
|
|
2394
|
-
writer=rds.ClusterInstance.provisioned("
|
|
2395
|
-
|
|
2413
|
+
writer=rds.ClusterInstance.provisioned("writer",
|
|
2414
|
+
ca_certificate=rds.CaCertificate.RDS_CA_RSA2048_G1
|
|
2396
2415
|
),
|
|
2397
|
-
readers=[
|
|
2398
|
-
|
|
2416
|
+
readers=[
|
|
2417
|
+
rds.ClusterInstance.serverless_v2("reader",
|
|
2418
|
+
ca_certificate=rds.CaCertificate.of("custom-ca")
|
|
2419
|
+
)
|
|
2420
|
+
],
|
|
2399
2421
|
vpc=vpc
|
|
2400
2422
|
)
|
|
2401
2423
|
'''
|
|
@@ -4046,6 +4068,12 @@ class AuroraPostgresEngineVersion(
|
|
|
4046
4068
|
'''Version "13.20".'''
|
|
4047
4069
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_20"))
|
|
4048
4070
|
|
|
4071
|
+
@jsii.python.classproperty
|
|
4072
|
+
@jsii.member(jsii_name="VER_13_21")
|
|
4073
|
+
def VER_13_21(cls) -> "AuroraPostgresEngineVersion":
|
|
4074
|
+
'''Version "13.21".'''
|
|
4075
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_21"))
|
|
4076
|
+
|
|
4049
4077
|
@jsii.python.classproperty
|
|
4050
4078
|
@jsii.member(jsii_name="VER_13_3")
|
|
4051
4079
|
def VER_13_3(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -4165,6 +4193,12 @@ class AuroraPostgresEngineVersion(
|
|
|
4165
4193
|
'''Version "14.17".'''
|
|
4166
4194
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_17"))
|
|
4167
4195
|
|
|
4196
|
+
@jsii.python.classproperty
|
|
4197
|
+
@jsii.member(jsii_name="VER_14_18")
|
|
4198
|
+
def VER_14_18(cls) -> "AuroraPostgresEngineVersion":
|
|
4199
|
+
'''Version "14.18".'''
|
|
4200
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_18"))
|
|
4201
|
+
|
|
4168
4202
|
@jsii.python.classproperty
|
|
4169
4203
|
@jsii.member(jsii_name="VER_14_3")
|
|
4170
4204
|
def VER_14_3(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -4239,6 +4273,12 @@ class AuroraPostgresEngineVersion(
|
|
|
4239
4273
|
'''Version "15.12".'''
|
|
4240
4274
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_12"))
|
|
4241
4275
|
|
|
4276
|
+
@jsii.python.classproperty
|
|
4277
|
+
@jsii.member(jsii_name="VER_15_13")
|
|
4278
|
+
def VER_15_13(cls) -> "AuroraPostgresEngineVersion":
|
|
4279
|
+
'''Version "15.13".'''
|
|
4280
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_13"))
|
|
4281
|
+
|
|
4242
4282
|
@jsii.python.classproperty
|
|
4243
4283
|
@jsii.member(jsii_name="VER_15_2")
|
|
4244
4284
|
def VER_15_2(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -4373,6 +4413,12 @@ class AuroraPostgresEngineVersion(
|
|
|
4373
4413
|
'''Version "16.8 limitless".'''
|
|
4374
4414
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_8_LIMITLESS"))
|
|
4375
4415
|
|
|
4416
|
+
@jsii.python.classproperty
|
|
4417
|
+
@jsii.member(jsii_name="VER_16_9")
|
|
4418
|
+
def VER_16_9(cls) -> "AuroraPostgresEngineVersion":
|
|
4419
|
+
'''Version "16.9".'''
|
|
4420
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_9"))
|
|
4421
|
+
|
|
4376
4422
|
@jsii.python.classproperty
|
|
4377
4423
|
@jsii.member(jsii_name="VER_17_1")
|
|
4378
4424
|
def VER_17_1(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -21708,6 +21754,7 @@ class DatabaseClusterEngine(
|
|
|
21708
21754
|
"credentials": "credentials",
|
|
21709
21755
|
"database_insights_mode": "databaseInsightsMode",
|
|
21710
21756
|
"default_database_name": "defaultDatabaseName",
|
|
21757
|
+
"delete_automated_backups": "deleteAutomatedBackups",
|
|
21711
21758
|
"deletion_protection": "deletionProtection",
|
|
21712
21759
|
"domain": "domain",
|
|
21713
21760
|
"domain_role": "domainRole",
|
|
@@ -21769,6 +21816,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21769
21816
|
credentials: typing.Optional[Credentials] = None,
|
|
21770
21817
|
database_insights_mode: typing.Optional["DatabaseInsightsMode"] = None,
|
|
21771
21818
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
21819
|
+
delete_automated_backups: typing.Optional[builtins.bool] = None,
|
|
21772
21820
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
21773
21821
|
domain: typing.Optional[builtins.str] = None,
|
|
21774
21822
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -21827,6 +21875,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21827
21875
|
:param credentials: (deprecated) Credentials for the administrative user. Note - using this prop only works with ``Credentials.fromPassword()`` with the username of the snapshot, ``Credentials.fromUsername()`` with the username and password of the snapshot or ``Credentials.fromSecret()`` with a secret containing the username and password of the snapshot. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password that **will not be applied** to the cluster, use ``snapshotCredentials`` for the correct behavior.
|
|
21828
21876
|
:param database_insights_mode: The database insights mode. Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
|
|
21829
21877
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
21878
|
+
:param delete_automated_backups: Specifies whether to remove automated backups immediately after the DB cluster is deleted. Default: undefined - AWS RDS default is to remove automated backups immediately after the DB cluster is deleted, unless the AWS Backup policy specifies a point-in-time restore rule.
|
|
21830
21879
|
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
21831
21880
|
:param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
|
|
21832
21881
|
:param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy ``AmazonRDSDirectoryServiceAccess`` or equivalent. Default: - If ``DatabaseClusterBaseProps.domain`` is specified, a role with the ``AmazonRDSDirectoryServiceAccess`` policy is automatically created.
|
|
@@ -21904,6 +21953,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21904
21953
|
check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
|
|
21905
21954
|
check_type(argname="argument database_insights_mode", value=database_insights_mode, expected_type=type_hints["database_insights_mode"])
|
|
21906
21955
|
check_type(argname="argument default_database_name", value=default_database_name, expected_type=type_hints["default_database_name"])
|
|
21956
|
+
check_type(argname="argument delete_automated_backups", value=delete_automated_backups, expected_type=type_hints["delete_automated_backups"])
|
|
21907
21957
|
check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
|
|
21908
21958
|
check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
|
|
21909
21959
|
check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
|
|
@@ -21974,6 +22024,8 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21974
22024
|
self._values["database_insights_mode"] = database_insights_mode
|
|
21975
22025
|
if default_database_name is not None:
|
|
21976
22026
|
self._values["default_database_name"] = default_database_name
|
|
22027
|
+
if delete_automated_backups is not None:
|
|
22028
|
+
self._values["delete_automated_backups"] = delete_automated_backups
|
|
21977
22029
|
if deletion_protection is not None:
|
|
21978
22030
|
self._values["deletion_protection"] = deletion_protection
|
|
21979
22031
|
if domain is not None:
|
|
@@ -22225,6 +22277,15 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
22225
22277
|
result = self._values.get("default_database_name")
|
|
22226
22278
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
22227
22279
|
|
|
22280
|
+
@builtins.property
|
|
22281
|
+
def delete_automated_backups(self) -> typing.Optional[builtins.bool]:
|
|
22282
|
+
'''Specifies whether to remove automated backups immediately after the DB cluster is deleted.
|
|
22283
|
+
|
|
22284
|
+
:default: undefined - AWS RDS default is to remove automated backups immediately after the DB cluster is deleted, unless the AWS Backup policy specifies a point-in-time restore rule.
|
|
22285
|
+
'''
|
|
22286
|
+
result = self._values.get("delete_automated_backups")
|
|
22287
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
22288
|
+
|
|
22228
22289
|
@builtins.property
|
|
22229
22290
|
def deletion_protection(self) -> typing.Optional[builtins.bool]:
|
|
22230
22291
|
'''Indicates whether the DB cluster should have deletion protection enabled.
|
|
@@ -22775,6 +22836,7 @@ class DatabaseClusterLookupOptions:
|
|
|
22775
22836
|
"credentials": "credentials",
|
|
22776
22837
|
"database_insights_mode": "databaseInsightsMode",
|
|
22777
22838
|
"default_database_name": "defaultDatabaseName",
|
|
22839
|
+
"delete_automated_backups": "deleteAutomatedBackups",
|
|
22778
22840
|
"deletion_protection": "deletionProtection",
|
|
22779
22841
|
"domain": "domain",
|
|
22780
22842
|
"domain_role": "domainRole",
|
|
@@ -22835,6 +22897,7 @@ class DatabaseClusterProps:
|
|
|
22835
22897
|
credentials: typing.Optional[Credentials] = None,
|
|
22836
22898
|
database_insights_mode: typing.Optional["DatabaseInsightsMode"] = None,
|
|
22837
22899
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
22900
|
+
delete_automated_backups: typing.Optional[builtins.bool] = None,
|
|
22838
22901
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
22839
22902
|
domain: typing.Optional[builtins.str] = None,
|
|
22840
22903
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -22892,6 +22955,7 @@ class DatabaseClusterProps:
|
|
|
22892
22955
|
:param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
|
|
22893
22956
|
:param database_insights_mode: The database insights mode. Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
|
|
22894
22957
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
22958
|
+
:param delete_automated_backups: Specifies whether to remove automated backups immediately after the DB cluster is deleted. Default: undefined - AWS RDS default is to remove automated backups immediately after the DB cluster is deleted, unless the AWS Backup policy specifies a point-in-time restore rule.
|
|
22895
22959
|
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
22896
22960
|
:param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
|
|
22897
22961
|
:param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy ``AmazonRDSDirectoryServiceAccess`` or equivalent. Default: - If ``DatabaseClusterBaseProps.domain`` is specified, a role with the ``AmazonRDSDirectoryServiceAccess`` policy is automatically created.
|
|
@@ -22977,6 +23041,7 @@ class DatabaseClusterProps:
|
|
|
22977
23041
|
check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
|
|
22978
23042
|
check_type(argname="argument database_insights_mode", value=database_insights_mode, expected_type=type_hints["database_insights_mode"])
|
|
22979
23043
|
check_type(argname="argument default_database_name", value=default_database_name, expected_type=type_hints["default_database_name"])
|
|
23044
|
+
check_type(argname="argument delete_automated_backups", value=delete_automated_backups, expected_type=type_hints["delete_automated_backups"])
|
|
22980
23045
|
check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
|
|
22981
23046
|
check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
|
|
22982
23047
|
check_type(argname="argument domain_role", value=domain_role, expected_type=type_hints["domain_role"])
|
|
@@ -23046,6 +23111,8 @@ class DatabaseClusterProps:
|
|
|
23046
23111
|
self._values["database_insights_mode"] = database_insights_mode
|
|
23047
23112
|
if default_database_name is not None:
|
|
23048
23113
|
self._values["default_database_name"] = default_database_name
|
|
23114
|
+
if delete_automated_backups is not None:
|
|
23115
|
+
self._values["delete_automated_backups"] = delete_automated_backups
|
|
23049
23116
|
if deletion_protection is not None:
|
|
23050
23117
|
self._values["deletion_protection"] = deletion_protection
|
|
23051
23118
|
if domain is not None:
|
|
@@ -23274,6 +23341,15 @@ class DatabaseClusterProps:
|
|
|
23274
23341
|
result = self._values.get("default_database_name")
|
|
23275
23342
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
23276
23343
|
|
|
23344
|
+
@builtins.property
|
|
23345
|
+
def delete_automated_backups(self) -> typing.Optional[builtins.bool]:
|
|
23346
|
+
'''Specifies whether to remove automated backups immediately after the DB cluster is deleted.
|
|
23347
|
+
|
|
23348
|
+
:default: undefined - AWS RDS default is to remove automated backups immediately after the DB cluster is deleted, unless the AWS Backup policy specifies a point-in-time restore rule.
|
|
23349
|
+
'''
|
|
23350
|
+
result = self._values.get("delete_automated_backups")
|
|
23351
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
23352
|
+
|
|
23277
23353
|
@builtins.property
|
|
23278
23354
|
def deletion_protection(self) -> typing.Optional[builtins.bool]:
|
|
23279
23355
|
'''Indicates whether the DB cluster should have deletion protection enabled.
|
|
@@ -34052,6 +34128,12 @@ class MysqlEngineVersion(
|
|
|
34052
34128
|
'''Version "8.0.42".'''
|
|
34053
34129
|
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_42"))
|
|
34054
34130
|
|
|
34131
|
+
@jsii.python.classproperty
|
|
34132
|
+
@jsii.member(jsii_name="VER_8_0_43")
|
|
34133
|
+
def VER_8_0_43(cls) -> "MysqlEngineVersion":
|
|
34134
|
+
'''Version "8.0.43".'''
|
|
34135
|
+
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_43"))
|
|
34136
|
+
|
|
34055
34137
|
@jsii.python.classproperty
|
|
34056
34138
|
@jsii.member(jsii_name="VER_8_4_3")
|
|
34057
34139
|
def VER_8_4_3(cls) -> "MysqlEngineVersion":
|
|
@@ -34070,6 +34152,12 @@ class MysqlEngineVersion(
|
|
|
34070
34152
|
'''Version "8.4.5".'''
|
|
34071
34153
|
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_4_5"))
|
|
34072
34154
|
|
|
34155
|
+
@jsii.python.classproperty
|
|
34156
|
+
@jsii.member(jsii_name="VER_8_4_6")
|
|
34157
|
+
def VER_8_4_6(cls) -> "MysqlEngineVersion":
|
|
34158
|
+
'''Version "8.4.6".'''
|
|
34159
|
+
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_4_6"))
|
|
34160
|
+
|
|
34073
34161
|
@builtins.property
|
|
34074
34162
|
@jsii.member(jsii_name="mysqlFullVersion")
|
|
34075
34163
|
def mysql_full_version(self) -> builtins.str:
|
|
@@ -41474,6 +41562,12 @@ class SqlServerEngineVersion(
|
|
|
41474
41562
|
'''Version "13.00.6455.2.v1".'''
|
|
41475
41563
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6455_2_V1"))
|
|
41476
41564
|
|
|
41565
|
+
@jsii.python.classproperty
|
|
41566
|
+
@jsii.member(jsii_name="VER_13_00_6460_7_V1")
|
|
41567
|
+
def VER_13_00_6460_7_V1(cls) -> "SqlServerEngineVersion":
|
|
41568
|
+
'''Version "13.00.6460.7.v1".'''
|
|
41569
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6460_7_V1"))
|
|
41570
|
+
|
|
41477
41571
|
@jsii.python.classproperty
|
|
41478
41572
|
@jsii.member(jsii_name="VER_14")
|
|
41479
41573
|
def VER_14(cls) -> "SqlServerEngineVersion":
|
|
@@ -41624,6 +41718,12 @@ class SqlServerEngineVersion(
|
|
|
41624
41718
|
'''Version "14.00.3485.1.v1 ".'''
|
|
41625
41719
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3485_1_V1"))
|
|
41626
41720
|
|
|
41721
|
+
@jsii.python.classproperty
|
|
41722
|
+
@jsii.member(jsii_name="VER_14_00_3495_9_V1")
|
|
41723
|
+
def VER_14_00_3495_9_V1(cls) -> "SqlServerEngineVersion":
|
|
41724
|
+
'''Version "14.00.3495.9.v1 ".'''
|
|
41725
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3495_9_V1"))
|
|
41726
|
+
|
|
41627
41727
|
@jsii.python.classproperty
|
|
41628
41728
|
@jsii.member(jsii_name="VER_15")
|
|
41629
41729
|
def VER_15(cls) -> "SqlServerEngineVersion":
|
|
@@ -41756,6 +41856,12 @@ class SqlServerEngineVersion(
|
|
|
41756
41856
|
'''Version "15.00.4430.1.v1".'''
|
|
41757
41857
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4430_1_V1"))
|
|
41758
41858
|
|
|
41859
|
+
@jsii.python.classproperty
|
|
41860
|
+
@jsii.member(jsii_name="VER_15_00_4435_7_V1")
|
|
41861
|
+
def VER_15_00_4435_7_V1(cls) -> "SqlServerEngineVersion":
|
|
41862
|
+
'''Version "15.00.4435.7.v1".'''
|
|
41863
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4435_7_V1"))
|
|
41864
|
+
|
|
41759
41865
|
@jsii.python.classproperty
|
|
41760
41866
|
@jsii.member(jsii_name="VER_16")
|
|
41761
41867
|
def VER_16(cls) -> "SqlServerEngineVersion":
|
|
@@ -41840,6 +41946,18 @@ class SqlServerEngineVersion(
|
|
|
41840
41946
|
'''Version "16.00.4185.3.v1".'''
|
|
41841
41947
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4185_3_V1"))
|
|
41842
41948
|
|
|
41949
|
+
@jsii.python.classproperty
|
|
41950
|
+
@jsii.member(jsii_name="VER_16_00_4195_2_V1")
|
|
41951
|
+
def VER_16_00_4195_2_V1(cls) -> "SqlServerEngineVersion":
|
|
41952
|
+
'''Version "16.00.4195.2.v1".'''
|
|
41953
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4195_2_V1"))
|
|
41954
|
+
|
|
41955
|
+
@jsii.python.classproperty
|
|
41956
|
+
@jsii.member(jsii_name="VER_16_00_4205_1_V1")
|
|
41957
|
+
def VER_16_00_4205_1_V1(cls) -> "SqlServerEngineVersion":
|
|
41958
|
+
'''Version "16.00.4205.1.v1".'''
|
|
41959
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4205_1_V1"))
|
|
41960
|
+
|
|
41843
41961
|
@builtins.property
|
|
41844
41962
|
@jsii.member(jsii_name="sqlServerFullVersion")
|
|
41845
41963
|
def sql_server_full_version(self) -> builtins.str:
|
|
@@ -43682,6 +43800,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
43682
43800
|
credentials: typing.Optional[Credentials] = None,
|
|
43683
43801
|
database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
|
|
43684
43802
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
43803
|
+
delete_automated_backups: typing.Optional[builtins.bool] = None,
|
|
43685
43804
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
43686
43805
|
domain: typing.Optional[builtins.str] = None,
|
|
43687
43806
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -43741,6 +43860,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
43741
43860
|
:param credentials: (deprecated) Credentials for the administrative user. Note - using this prop only works with ``Credentials.fromPassword()`` with the username of the snapshot, ``Credentials.fromUsername()`` with the username and password of the snapshot or ``Credentials.fromSecret()`` with a secret containing the username and password of the snapshot. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password that **will not be applied** to the cluster, use ``snapshotCredentials`` for the correct behavior.
|
|
43742
43861
|
:param database_insights_mode: The database insights mode. Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
|
|
43743
43862
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
43863
|
+
:param delete_automated_backups: Specifies whether to remove automated backups immediately after the DB cluster is deleted. Default: undefined - AWS RDS default is to remove automated backups immediately after the DB cluster is deleted, unless the AWS Backup policy specifies a point-in-time restore rule.
|
|
43744
43864
|
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
43745
43865
|
:param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
|
|
43746
43866
|
:param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy ``AmazonRDSDirectoryServiceAccess`` or equivalent. Default: - If ``DatabaseClusterBaseProps.domain`` is specified, a role with the ``AmazonRDSDirectoryServiceAccess`` policy is automatically created.
|
|
@@ -43802,6 +43922,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
43802
43922
|
credentials=credentials,
|
|
43803
43923
|
database_insights_mode=database_insights_mode,
|
|
43804
43924
|
default_database_name=default_database_name,
|
|
43925
|
+
delete_automated_backups=delete_automated_backups,
|
|
43805
43926
|
deletion_protection=deletion_protection,
|
|
43806
43927
|
domain=domain,
|
|
43807
43928
|
domain_role=domain_role,
|
|
@@ -48069,6 +48190,7 @@ class DatabaseCluster(
|
|
|
48069
48190
|
credentials: typing.Optional[Credentials] = None,
|
|
48070
48191
|
database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
|
|
48071
48192
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
48193
|
+
delete_automated_backups: typing.Optional[builtins.bool] = None,
|
|
48072
48194
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
48073
48195
|
domain: typing.Optional[builtins.str] = None,
|
|
48074
48196
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -48127,6 +48249,7 @@ class DatabaseCluster(
|
|
|
48127
48249
|
:param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
|
|
48128
48250
|
:param database_insights_mode: The database insights mode. Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
|
|
48129
48251
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
48252
|
+
:param delete_automated_backups: Specifies whether to remove automated backups immediately after the DB cluster is deleted. Default: undefined - AWS RDS default is to remove automated backups immediately after the DB cluster is deleted, unless the AWS Backup policy specifies a point-in-time restore rule.
|
|
48130
48253
|
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
48131
48254
|
:param domain: Directory ID for associating the DB cluster with a specific Active Directory. Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled. Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
|
|
48132
48255
|
:param domain_role: The IAM role to be used when making API calls to the Directory Service. The role needs the AWS-managed policy ``AmazonRDSDirectoryServiceAccess`` or equivalent. Default: - If ``DatabaseClusterBaseProps.domain`` is specified, a role with the ``AmazonRDSDirectoryServiceAccess`` policy is automatically created.
|
|
@@ -48187,6 +48310,7 @@ class DatabaseCluster(
|
|
|
48187
48310
|
credentials=credentials,
|
|
48188
48311
|
database_insights_mode=database_insights_mode,
|
|
48189
48312
|
default_database_name=default_database_name,
|
|
48313
|
+
delete_automated_backups=delete_automated_backups,
|
|
48190
48314
|
deletion_protection=deletion_protection,
|
|
48191
48315
|
domain=domain,
|
|
48192
48316
|
domain_role=domain_role,
|
|
@@ -51980,6 +52104,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
|
|
|
51980
52104
|
credentials: typing.Optional[Credentials] = None,
|
|
51981
52105
|
database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
|
|
51982
52106
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
52107
|
+
delete_automated_backups: typing.Optional[builtins.bool] = None,
|
|
51983
52108
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
51984
52109
|
domain: typing.Optional[builtins.str] = None,
|
|
51985
52110
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -52047,6 +52172,7 @@ def _typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b4
|
|
|
52047
52172
|
credentials: typing.Optional[Credentials] = None,
|
|
52048
52173
|
database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
|
|
52049
52174
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
52175
|
+
delete_automated_backups: typing.Optional[builtins.bool] = None,
|
|
52050
52176
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
52051
52177
|
domain: typing.Optional[builtins.str] = None,
|
|
52052
52178
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -53296,6 +53422,7 @@ def _typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4
|
|
|
53296
53422
|
credentials: typing.Optional[Credentials] = None,
|
|
53297
53423
|
database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
|
|
53298
53424
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
53425
|
+
delete_automated_backups: typing.Optional[builtins.bool] = None,
|
|
53299
53426
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
53300
53427
|
domain: typing.Optional[builtins.str] = None,
|
|
53301
53428
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -53816,6 +53943,7 @@ def _typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c56
|
|
|
53816
53943
|
credentials: typing.Optional[Credentials] = None,
|
|
53817
53944
|
database_insights_mode: typing.Optional[DatabaseInsightsMode] = None,
|
|
53818
53945
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
53946
|
+
delete_automated_backups: typing.Optional[builtins.bool] = None,
|
|
53819
53947
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
53820
53948
|
domain: typing.Optional[builtins.str] = None,
|
|
53821
53949
|
domain_role: typing.Optional[_IRole_235f5d8e] = None,
|
aws_cdk/aws_route53/__init__.py
CHANGED
|
@@ -652,6 +652,7 @@ from .. import (
|
|
|
652
652
|
IResolvable as _IResolvable_da3f097b,
|
|
653
653
|
IResource as _IResource_c80c4260,
|
|
654
654
|
ITaggable as _ITaggable_36806126,
|
|
655
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
655
656
|
RemovalPolicy as _RemovalPolicy_9f93c814,
|
|
656
657
|
Resource as _Resource_45bc6135,
|
|
657
658
|
TagManager as _TagManager_0a598cb3,
|
|
@@ -1352,7 +1353,7 @@ class CfnDNSSECProps:
|
|
|
1352
1353
|
)
|
|
1353
1354
|
|
|
1354
1355
|
|
|
1355
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
1356
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1356
1357
|
class CfnHealthCheck(
|
|
1357
1358
|
_CfnResource_9df397a6,
|
|
1358
1359
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1427,7 +1428,7 @@ class CfnHealthCheck(
|
|
|
1427
1428
|
id: builtins.str,
|
|
1428
1429
|
*,
|
|
1429
1430
|
health_check_config: typing.Union[_IResolvable_da3f097b, typing.Union["CfnHealthCheck.HealthCheckConfigProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1430
|
-
health_check_tags: typing.Optional[typing.
|
|
1431
|
+
health_check_tags: typing.Optional[typing.Sequence[typing.Union["CfnHealthCheck.HealthCheckTagProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1431
1432
|
) -> None:
|
|
1432
1433
|
'''
|
|
1433
1434
|
:param scope: Scope in which this resource is defined.
|
|
@@ -1487,6 +1488,12 @@ class CfnHealthCheck(
|
|
|
1487
1488
|
'''
|
|
1488
1489
|
return typing.cast(builtins.str, jsii.get(self, "attrHealthCheckId"))
|
|
1489
1490
|
|
|
1491
|
+
@builtins.property
|
|
1492
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1493
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1494
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1495
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1496
|
+
|
|
1490
1497
|
@builtins.property
|
|
1491
1498
|
@jsii.member(jsii_name="cfnProperties")
|
|
1492
1499
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -1514,14 +1521,14 @@ class CfnHealthCheck(
|
|
|
1514
1521
|
@jsii.member(jsii_name="healthCheckTags")
|
|
1515
1522
|
def health_check_tags(
|
|
1516
1523
|
self,
|
|
1517
|
-
) -> typing.Optional[typing.
|
|
1524
|
+
) -> typing.Optional[typing.List["CfnHealthCheck.HealthCheckTagProperty"]]:
|
|
1518
1525
|
'''The ``HealthCheckTags`` property describes key-value pairs that are associated with an ``AWS::Route53::HealthCheck`` resource.'''
|
|
1519
|
-
return typing.cast(typing.Optional[typing.
|
|
1526
|
+
return typing.cast(typing.Optional[typing.List["CfnHealthCheck.HealthCheckTagProperty"]], jsii.get(self, "healthCheckTags"))
|
|
1520
1527
|
|
|
1521
1528
|
@health_check_tags.setter
|
|
1522
1529
|
def health_check_tags(
|
|
1523
1530
|
self,
|
|
1524
|
-
value: typing.Optional[typing.
|
|
1531
|
+
value: typing.Optional[typing.List["CfnHealthCheck.HealthCheckTagProperty"]],
|
|
1525
1532
|
) -> None:
|
|
1526
1533
|
if __debug__:
|
|
1527
1534
|
type_hints = typing.get_type_hints(_typecheckingstub__1d1493e762a114933a5a3775c215007c8d522e932362ff7c530eb00b515208ff)
|
|
@@ -2140,7 +2147,7 @@ class CfnHealthCheckProps:
|
|
|
2140
2147
|
self,
|
|
2141
2148
|
*,
|
|
2142
2149
|
health_check_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnHealthCheck.HealthCheckConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2143
|
-
health_check_tags: typing.Optional[typing.
|
|
2150
|
+
health_check_tags: typing.Optional[typing.Sequence[typing.Union[CfnHealthCheck.HealthCheckTagProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2144
2151
|
) -> None:
|
|
2145
2152
|
'''Properties for defining a ``CfnHealthCheck``.
|
|
2146
2153
|
|
|
@@ -2216,13 +2223,13 @@ class CfnHealthCheckProps:
|
|
|
2216
2223
|
@builtins.property
|
|
2217
2224
|
def health_check_tags(
|
|
2218
2225
|
self,
|
|
2219
|
-
) -> typing.Optional[typing.
|
|
2226
|
+
) -> typing.Optional[typing.List[CfnHealthCheck.HealthCheckTagProperty]]:
|
|
2220
2227
|
'''The ``HealthCheckTags`` property describes key-value pairs that are associated with an ``AWS::Route53::HealthCheck`` resource.
|
|
2221
2228
|
|
|
2222
2229
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-healthcheck.html#cfn-route53-healthcheck-healthchecktags
|
|
2223
2230
|
'''
|
|
2224
2231
|
result = self._values.get("health_check_tags")
|
|
2225
|
-
return typing.cast(typing.Optional[typing.
|
|
2232
|
+
return typing.cast(typing.Optional[typing.List[CfnHealthCheck.HealthCheckTagProperty]], result)
|
|
2226
2233
|
|
|
2227
2234
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2228
2235
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -15510,7 +15517,7 @@ def _typecheckingstub__469f7fe3ad975c091ea64f8ce59060016c4769f6532660a91964f0930
|
|
|
15510
15517
|
id: builtins.str,
|
|
15511
15518
|
*,
|
|
15512
15519
|
health_check_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnHealthCheck.HealthCheckConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
15513
|
-
health_check_tags: typing.Optional[typing.
|
|
15520
|
+
health_check_tags: typing.Optional[typing.Sequence[typing.Union[CfnHealthCheck.HealthCheckTagProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15514
15521
|
) -> None:
|
|
15515
15522
|
"""Type checking stubs"""
|
|
15516
15523
|
pass
|
|
@@ -15534,7 +15541,7 @@ def _typecheckingstub__8b0df7baae49dfed1fb95576ba5c0e5d51660f268bef2a4d82fca3232
|
|
|
15534
15541
|
pass
|
|
15535
15542
|
|
|
15536
15543
|
def _typecheckingstub__1d1493e762a114933a5a3775c215007c8d522e932362ff7c530eb00b515208ff(
|
|
15537
|
-
value: typing.Optional[typing.
|
|
15544
|
+
value: typing.Optional[typing.List[CfnHealthCheck.HealthCheckTagProperty]],
|
|
15538
15545
|
) -> None:
|
|
15539
15546
|
"""Type checking stubs"""
|
|
15540
15547
|
pass
|
|
@@ -15581,7 +15588,7 @@ def _typecheckingstub__b181f58da0d2eb6f8c9ba8be7f7b44f29a68b4d09e2f4c600ab9522e6
|
|
|
15581
15588
|
def _typecheckingstub__dcc59bb963f4ce3a4eb461ecda6f194c9faa6eea0ca5960c91dfd950e626f687(
|
|
15582
15589
|
*,
|
|
15583
15590
|
health_check_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnHealthCheck.HealthCheckConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
15584
|
-
health_check_tags: typing.Optional[typing.
|
|
15591
|
+
health_check_tags: typing.Optional[typing.Sequence[typing.Union[CfnHealthCheck.HealthCheckTagProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15585
15592
|
) -> None:
|
|
15586
15593
|
"""Type checking stubs"""
|
|
15587
15594
|
pass
|
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -4490,7 +4490,7 @@ class CfnBucket(
|
|
|
4490
4490
|
:param metadata_table_configuration: The metadata table configuration of an Amazon S3 general purpose bucket.
|
|
4491
4491
|
:param metrics_configurations: Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see `PutBucketMetricsConfiguration <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html>`_ .
|
|
4492
4492
|
:param notification_configuration: Configuration that defines how Amazon S3 handles bucket notifications.
|
|
4493
|
-
:param object_lock_configuration: .. epigraph:: This operation is not supported for directory buckets. Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see `Locking Objects <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html>`_ . .. epigraph:: - The ``DefaultRetention`` settings require both a mode and a period. - The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time. - You can enable Object Lock for new or existing buckets. For more information, see `Configuring Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html>`_ .
|
|
4493
|
+
:param object_lock_configuration: .. epigraph:: This operation is not supported for directory buckets. Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see `Locking Objects <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html>`_ . .. epigraph:: - The ``DefaultRetention`` settings require both a mode and a period. - The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time. - You can enable Object Lock for new or existing buckets. For more information, see `Configuring Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html>`_ . > You must URL encode any signed header values that contain spaces. For example, if your header value is ``my file.txt`` , containing two spaces after ``my`` , you must URL encode this value to ``my%20%20file.txt`` .
|
|
4494
4494
|
:param object_lock_enabled: Indicates whether this bucket has an Object Lock configuration enabled. Enable ``ObjectLockEnabled`` when you apply ``ObjectLockConfiguration`` to a bucket.
|
|
4495
4495
|
:param ownership_controls: Configuration that defines how Amazon S3 handles Object Ownership rules.
|
|
4496
4496
|
:param public_access_block_configuration: Configuration that defines how Amazon S3 handles public access.
|
|
@@ -11696,7 +11696,7 @@ class CfnBucketPolicy(
|
|
|
11696
11696
|
|
|
11697
11697
|
As a security precaution, the root user of the AWS account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.
|
|
11698
11698
|
|
|
11699
|
-
When using the ``AWS::S3::BucketPolicy`` resource, you can create, update, and delete bucket policies for S3 buckets located in
|
|
11699
|
+
When using the ``AWS::S3::BucketPolicy`` resource, you can create, update, and delete bucket policies for S3 buckets located in Regions that are different from the stack's Region. However, the CloudFormation stacks should be deployed in the US East (N. Virginia) or ``us-east-1`` Region. This cross-region bucket policy modification functionality is supported for backward compatibility with existing workflows.
|
|
11700
11700
|
.. epigraph::
|
|
11701
11701
|
|
|
11702
11702
|
If the `DeletionPolicy attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html>`_ is not specified or set to ``Delete`` , the bucket policy will be removed when the stack is deleted. If set to ``Retain`` , the bucket policy will be preserved even after the stack is deleted.
|
|
@@ -11994,7 +11994,7 @@ class CfnBucketProps:
|
|
|
11994
11994
|
:param metadata_table_configuration: The metadata table configuration of an Amazon S3 general purpose bucket.
|
|
11995
11995
|
:param metrics_configurations: Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see `PutBucketMetricsConfiguration <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html>`_ .
|
|
11996
11996
|
:param notification_configuration: Configuration that defines how Amazon S3 handles bucket notifications.
|
|
11997
|
-
:param object_lock_configuration: .. epigraph:: This operation is not supported for directory buckets. Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see `Locking Objects <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html>`_ . .. epigraph:: - The ``DefaultRetention`` settings require both a mode and a period. - The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time. - You can enable Object Lock for new or existing buckets. For more information, see `Configuring Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html>`_ .
|
|
11997
|
+
:param object_lock_configuration: .. epigraph:: This operation is not supported for directory buckets. Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see `Locking Objects <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html>`_ . .. epigraph:: - The ``DefaultRetention`` settings require both a mode and a period. - The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time. - You can enable Object Lock for new or existing buckets. For more information, see `Configuring Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html>`_ . > You must URL encode any signed header values that contain spaces. For example, if your header value is ``my file.txt`` , containing two spaces after ``my`` , you must URL encode this value to ``my%20%20file.txt`` .
|
|
11998
11998
|
:param object_lock_enabled: Indicates whether this bucket has an Object Lock configuration enabled. Enable ``ObjectLockEnabled`` when you apply ``ObjectLockConfiguration`` to a bucket.
|
|
11999
11999
|
:param ownership_controls: Configuration that defines how Amazon S3 handles Object Ownership rules.
|
|
12000
12000
|
:param public_access_block_configuration: Configuration that defines how Amazon S3 handles public access.
|
|
@@ -12278,7 +12278,7 @@ class CfnBucketProps:
|
|
|
12278
12278
|
|
|
12279
12279
|
- The ``DefaultRetention`` settings require both a mode and a period.
|
|
12280
12280
|
- The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time.
|
|
12281
|
-
- You can enable Object Lock for new or existing buckets. For more information, see `Configuring Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html>`_ .
|
|
12281
|
+
- You can enable Object Lock for new or existing buckets. For more information, see `Configuring Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html>`_ . > You must URL encode any signed header values that contain spaces. For example, if your header value is ``my file.txt`` , containing two spaces after ``my`` , you must URL encode this value to ``my%20%20file.txt`` .
|
|
12282
12282
|
|
|
12283
12283
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-objectlockconfiguration
|
|
12284
12284
|
'''
|