aws-cdk-lib 2.73.0__py3-none-any.whl → 2.76.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +245 -259
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.73.0.jsii.tgz → aws-cdk-lib@2.76.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +182 -214
- 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_batch/__init__.py +9 -2
- 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 -14
- 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_codegurureviewer/__init__.py +4 -4
- 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 +29 -22
- aws_cdk/aws_ec2/__init__.py +2414 -603
- aws_cdk/aws_ecr/__init__.py +1 -2
- aws_cdk/aws_ecr_assets/__init__.py +27 -14
- aws_cdk/aws_ecs/__init__.py +458 -163
- 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_grafana/__init__.py +4 -4
- aws_cdk/aws_iam/__init__.py +21 -25
- aws_cdk/aws_imagebuilder/__init__.py +58 -80
- aws_cdk/aws_internetmonitor/__init__.py +18 -10
- 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_iotwireless/__init__.py +14 -9
- aws_cdk/aws_kinesisfirehose/__init__.py +21 -38
- aws_cdk/aws_lambda/__init__.py +76 -53
- aws_cdk/aws_lambda_event_sources/__init__.py +6 -21
- aws_cdk/aws_logs/__init__.py +5 -7
- aws_cdk/aws_macie/__init__.py +28 -23
- aws_cdk/aws_mediaconnect/__init__.py +5 -8
- aws_cdk/aws_mediaconvert/__init__.py +2 -2
- 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_neptune/__init__.py +4 -4
- aws_cdk/aws_networkfirewall/__init__.py +8 -4
- aws_cdk/aws_networkmanager/__init__.py +4 -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 +53 -22
- aws_cdk/aws_route53/__init__.py +8 -16
- aws_cdk/aws_route53_targets/__init__.py +2 -4
- aws_cdk/aws_s3/__init__.py +41 -90
- aws_cdk/aws_s3_notifications/__init__.py +0 -3
- aws_cdk/aws_sagemaker/__init__.py +16 -10
- aws_cdk/aws_secretsmanager/__init__.py +17 -14
- aws_cdk/aws_servicecatalog/__init__.py +60 -83
- aws_cdk/aws_servicediscovery/__init__.py +4 -6
- aws_cdk/aws_ses/__init__.py +734 -28
- 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_ssmincidents/__init__.py +2 -1
- aws_cdk/aws_sso/__init__.py +4 -4
- aws_cdk/aws_stepfunctions/__init__.py +6 -15
- aws_cdk/aws_stepfunctions_tasks/__init__.py +51 -24
- aws_cdk/aws_timestream/__init__.py +22 -28
- aws_cdk/aws_transfer/__init__.py +188 -86
- aws_cdk/aws_wafv2/__init__.py +54 -38
- 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 +104 -134
- aws_cdk/triggers/__init__.py +46 -61
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/METADATA +47 -92
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/RECORD +111 -111
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -341,19 +341,18 @@ Use the `storageType` property to specify the [type of storage](https://docs.aws
|
|
|
341
341
|
to use for the instance:
|
|
342
342
|
|
|
343
343
|
```python
|
|
344
|
-
# Example automatically generated from non-compiling source. May contain errors.
|
|
345
344
|
# vpc: ec2.Vpc
|
|
346
345
|
|
|
347
346
|
|
|
348
347
|
iops_instance = rds.DatabaseInstance(self, "IopsInstance",
|
|
349
|
-
engine=rds.DatabaseInstanceEngine.mysql(version=MysqlEngineVersion.VER_8_0_30),
|
|
348
|
+
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_30),
|
|
350
349
|
vpc=vpc,
|
|
351
350
|
storage_type=rds.StorageType.IO1,
|
|
352
351
|
iops=5000
|
|
353
352
|
)
|
|
354
353
|
|
|
355
354
|
gp3_instance = rds.DatabaseInstance(self, "Gp3Instance",
|
|
356
|
-
engine=rds.DatabaseInstanceEngine.mysql(version=MysqlEngineVersion.VER_8_0_30),
|
|
355
|
+
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_30),
|
|
357
356
|
vpc=vpc,
|
|
358
357
|
allocated_storage=500,
|
|
359
358
|
storage_type=rds.StorageType.GP3,
|
|
@@ -521,7 +520,7 @@ import aws_cdk as cdk
|
|
|
521
520
|
# my_security_group: ec2.SecurityGroup
|
|
522
521
|
|
|
523
522
|
instance.add_rotation_single_user(
|
|
524
|
-
automatically_after=
|
|
523
|
+
automatically_after=Duration.days(7), # defaults to 30 days
|
|
525
524
|
exclude_characters="!@#$%^&*", # defaults to the set " %+~`#/// here*()|[]{}:;<>?!'/@\"\\"
|
|
526
525
|
security_group=my_security_group
|
|
527
526
|
)
|
|
@@ -2091,6 +2090,12 @@ class AuroraPostgresEngineVersion(
|
|
|
2091
2090
|
'''Version "11.18".'''
|
|
2092
2091
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_11_18"))
|
|
2093
2092
|
|
|
2093
|
+
@jsii.python.classproperty
|
|
2094
|
+
@jsii.member(jsii_name="VER_11_19")
|
|
2095
|
+
def VER_11_19(cls) -> "AuroraPostgresEngineVersion":
|
|
2096
|
+
'''Version "11.19".'''
|
|
2097
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_11_19"))
|
|
2098
|
+
|
|
2094
2099
|
@jsii.python.classproperty
|
|
2095
2100
|
@jsii.member(jsii_name="VER_11_4")
|
|
2096
2101
|
def VER_11_4(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -2165,6 +2170,12 @@ class AuroraPostgresEngineVersion(
|
|
|
2165
2170
|
'''Version "12.13".'''
|
|
2166
2171
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_12_13"))
|
|
2167
2172
|
|
|
2173
|
+
@jsii.python.classproperty
|
|
2174
|
+
@jsii.member(jsii_name="VER_12_14")
|
|
2175
|
+
def VER_12_14(cls) -> "AuroraPostgresEngineVersion":
|
|
2176
|
+
'''Version "12.14".'''
|
|
2177
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_12_14"))
|
|
2178
|
+
|
|
2168
2179
|
@jsii.python.classproperty
|
|
2169
2180
|
@jsii.member(jsii_name="VER_12_4")
|
|
2170
2181
|
def VER_12_4(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -2195,6 +2206,12 @@ class AuroraPostgresEngineVersion(
|
|
|
2195
2206
|
'''Version "12.9".'''
|
|
2196
2207
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_12_9"))
|
|
2197
2208
|
|
|
2209
|
+
@jsii.python.classproperty
|
|
2210
|
+
@jsii.member(jsii_name="VER_13_10")
|
|
2211
|
+
def VER_13_10(cls) -> "AuroraPostgresEngineVersion":
|
|
2212
|
+
'''Version "13.10".'''
|
|
2213
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_10"))
|
|
2214
|
+
|
|
2198
2215
|
@jsii.python.classproperty
|
|
2199
2216
|
@jsii.member(jsii_name="VER_13_3")
|
|
2200
2217
|
def VER_13_3(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -2266,6 +2283,18 @@ class AuroraPostgresEngineVersion(
|
|
|
2266
2283
|
'''Version "14.6".'''
|
|
2267
2284
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_6"))
|
|
2268
2285
|
|
|
2286
|
+
@jsii.python.classproperty
|
|
2287
|
+
@jsii.member(jsii_name="VER_14_7")
|
|
2288
|
+
def VER_14_7(cls) -> "AuroraPostgresEngineVersion":
|
|
2289
|
+
'''Version "14.7".'''
|
|
2290
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_7"))
|
|
2291
|
+
|
|
2292
|
+
@jsii.python.classproperty
|
|
2293
|
+
@jsii.member(jsii_name="VER_15_2")
|
|
2294
|
+
def VER_15_2(cls) -> "AuroraPostgresEngineVersion":
|
|
2295
|
+
'''Version "15.2".'''
|
|
2296
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_2"))
|
|
2297
|
+
|
|
2269
2298
|
@jsii.python.classproperty
|
|
2270
2299
|
@jsii.member(jsii_name="VER_9_6_11")
|
|
2271
2300
|
def VER_9_6_11(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -17122,7 +17151,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
17122
17151
|
:param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
|
|
17123
17152
|
: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.
|
|
17124
17153
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
17125
|
-
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN,
|
|
17154
|
+
: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``.
|
|
17126
17155
|
:param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
|
|
17127
17156
|
:param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
|
|
17128
17157
|
:param instances: How many replicas/instances to create. Has to be at least 1. Default: 2
|
|
@@ -17400,7 +17429,10 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
17400
17429
|
def deletion_protection(self) -> typing.Optional[builtins.bool]:
|
|
17401
17430
|
'''Indicates whether the DB cluster should have deletion protection enabled.
|
|
17402
17431
|
|
|
17403
|
-
:default:
|
|
17432
|
+
:default:
|
|
17433
|
+
|
|
17434
|
+
- true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection.
|
|
17435
|
+
To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
17404
17436
|
'''
|
|
17405
17437
|
result = self._values.get("deletion_protection")
|
|
17406
17438
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -17733,7 +17765,7 @@ class DatabaseClusterProps:
|
|
|
17733
17765
|
:param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
|
|
17734
17766
|
:param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
|
|
17735
17767
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
17736
|
-
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN,
|
|
17768
|
+
: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``.
|
|
17737
17769
|
:param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
|
|
17738
17770
|
:param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
|
|
17739
17771
|
:param instances: How many replicas/instances to create. Has to be at least 1. Default: 2
|
|
@@ -17987,7 +18019,10 @@ class DatabaseClusterProps:
|
|
|
17987
18019
|
def deletion_protection(self) -> typing.Optional[builtins.bool]:
|
|
17988
18020
|
'''Indicates whether the DB cluster should have deletion protection enabled.
|
|
17989
18021
|
|
|
17990
|
-
:default:
|
|
18022
|
+
:default:
|
|
18023
|
+
|
|
18024
|
+
- true if ``removalPolicy`` is RETAIN, ``undefined`` otherwise, which will not enable deletion protection.
|
|
18025
|
+
To disable deletion protection after it has been enabled, you must explicitly set this value to ``false``.
|
|
17991
18026
|
'''
|
|
17992
18027
|
result = self._values.get("deletion_protection")
|
|
17993
18028
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
@@ -26162,19 +26197,18 @@ class MySqlInstanceEngineProps:
|
|
|
26162
26197
|
|
|
26163
26198
|
Example::
|
|
26164
26199
|
|
|
26165
|
-
# Example automatically generated from non-compiling source. May contain errors.
|
|
26166
26200
|
# vpc: ec2.Vpc
|
|
26167
26201
|
|
|
26168
26202
|
|
|
26169
26203
|
iops_instance = rds.DatabaseInstance(self, "IopsInstance",
|
|
26170
|
-
engine=rds.DatabaseInstanceEngine.mysql(version=MysqlEngineVersion.VER_8_0_30),
|
|
26204
|
+
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_30),
|
|
26171
26205
|
vpc=vpc,
|
|
26172
26206
|
storage_type=rds.StorageType.IO1,
|
|
26173
26207
|
iops=5000
|
|
26174
26208
|
)
|
|
26175
26209
|
|
|
26176
26210
|
gp3_instance = rds.DatabaseInstance(self, "Gp3Instance",
|
|
26177
|
-
engine=rds.DatabaseInstanceEngine.mysql(version=MysqlEngineVersion.VER_8_0_30),
|
|
26211
|
+
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_30),
|
|
26178
26212
|
vpc=vpc,
|
|
26179
26213
|
allocated_storage=500,
|
|
26180
26214
|
storage_type=rds.StorageType.GP3,
|
|
@@ -26217,19 +26251,18 @@ class MysqlEngineVersion(
|
|
|
26217
26251
|
|
|
26218
26252
|
Example::
|
|
26219
26253
|
|
|
26220
|
-
# Example automatically generated from non-compiling source. May contain errors.
|
|
26221
26254
|
# vpc: ec2.Vpc
|
|
26222
26255
|
|
|
26223
26256
|
|
|
26224
26257
|
iops_instance = rds.DatabaseInstance(self, "IopsInstance",
|
|
26225
|
-
engine=rds.DatabaseInstanceEngine.mysql(version=MysqlEngineVersion.VER_8_0_30),
|
|
26258
|
+
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_30),
|
|
26226
26259
|
vpc=vpc,
|
|
26227
26260
|
storage_type=rds.StorageType.IO1,
|
|
26228
26261
|
iops=5000
|
|
26229
26262
|
)
|
|
26230
26263
|
|
|
26231
26264
|
gp3_instance = rds.DatabaseInstance(self, "Gp3Instance",
|
|
26232
|
-
engine=rds.DatabaseInstanceEngine.mysql(version=MysqlEngineVersion.VER_8_0_30),
|
|
26265
|
+
engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_30),
|
|
26233
26266
|
vpc=vpc,
|
|
26234
26267
|
allocated_storage=500,
|
|
26235
26268
|
storage_type=rds.StorageType.GP3,
|
|
@@ -29380,15 +29413,13 @@ class RotationSingleUserOptions(CommonRotationUserOptions):
|
|
|
29380
29413
|
|
|
29381
29414
|
Example::
|
|
29382
29415
|
|
|
29383
|
-
import aws_cdk as cdk
|
|
29384
|
-
|
|
29385
29416
|
# instance: rds.DatabaseInstance
|
|
29386
|
-
#
|
|
29417
|
+
# my_endpoint: ec2.InterfaceVpcEndpoint
|
|
29418
|
+
|
|
29387
29419
|
|
|
29388
29420
|
instance.add_rotation_single_user(
|
|
29389
|
-
|
|
29390
|
-
|
|
29391
|
-
security_group=my_security_group
|
|
29421
|
+
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS), # Place rotation Lambda in private subnets
|
|
29422
|
+
endpoint=my_endpoint
|
|
29392
29423
|
)
|
|
29393
29424
|
'''
|
|
29394
29425
|
if isinstance(vpc_subnets, dict):
|
|
@@ -33124,7 +33155,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
33124
33155
|
:param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
|
|
33125
33156
|
: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.
|
|
33126
33157
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
33127
|
-
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN,
|
|
33158
|
+
: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``.
|
|
33128
33159
|
:param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
|
|
33129
33160
|
:param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
|
|
33130
33161
|
:param instances: How many replicas/instances to create. Has to be at least 1. Default: 2
|
|
@@ -36797,7 +36828,7 @@ class DatabaseCluster(
|
|
|
36797
36828
|
:param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
|
|
36798
36829
|
:param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
|
|
36799
36830
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
36800
|
-
:param deletion_protection: Indicates whether the DB cluster should have deletion protection enabled. Default: - true if ``removalPolicy`` is RETAIN,
|
|
36831
|
+
: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``.
|
|
36801
36832
|
:param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
|
|
36802
36833
|
:param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
|
|
36803
36834
|
:param instances: How many replicas/instances to create. Has to be at least 1. Default: 2
|
aws_cdk/aws_route53/__init__.py
CHANGED
|
@@ -270,24 +270,21 @@ this construct sets up the private DNS configuration on the endpoint service,
|
|
|
270
270
|
creates all the necessary Route53 entries, and verifies domain ownership.
|
|
271
271
|
|
|
272
272
|
```python
|
|
273
|
-
from aws_cdk import Stack
|
|
274
|
-
from aws_cdk.aws_ec2 import Vpc, VpcEndpointService
|
|
275
273
|
from aws_cdk.aws_elasticloadbalancingv2 import NetworkLoadBalancer
|
|
276
|
-
from aws_cdk.aws_route53 import PublicHostedZone, VpcEndpointServiceDomainName
|
|
277
274
|
|
|
278
|
-
|
|
279
|
-
vpc = Vpc(
|
|
280
|
-
nlb = NetworkLoadBalancer(
|
|
275
|
+
|
|
276
|
+
vpc = ec2.Vpc(self, "VPC")
|
|
277
|
+
nlb = NetworkLoadBalancer(self, "NLB",
|
|
281
278
|
vpc=vpc
|
|
282
279
|
)
|
|
283
|
-
vpces = VpcEndpointService(
|
|
280
|
+
vpces = ec2.VpcEndpointService(self, "VPCES",
|
|
284
281
|
vpc_endpoint_service_load_balancers=[nlb]
|
|
285
282
|
)
|
|
286
283
|
# You must use a public hosted zone so domain ownership can be verified
|
|
287
|
-
zone = PublicHostedZone(
|
|
284
|
+
zone = route53.PublicHostedZone(self, "PHZ",
|
|
288
285
|
zone_name="aws-cdk.dev"
|
|
289
286
|
)
|
|
290
|
-
VpcEndpointServiceDomainName(
|
|
287
|
+
route53.VpcEndpointServiceDomainName(self, "EndpointDomain",
|
|
291
288
|
endpoint_service=vpces,
|
|
292
289
|
domain_name="my-stuff.aws-cdk.dev",
|
|
293
290
|
public_hosted_zone=zone
|
|
@@ -1255,7 +1252,7 @@ class CfnHealthCheck(
|
|
|
1255
1252
|
:param regions: A complex type that contains one ``Region`` element for each region from which you want Amazon Route 53 health checkers to check the specified endpoint. If you don't specify any regions, Route 53 health checkers automatically performs checks from all of the regions that are listed under *Valid Values* . If you update a health check to remove a region that has been performing health checks, Route 53 will briefly continue to perform checks from that region to ensure that some health checkers are always checking the endpoint (for example, if you replace three regions with four different regions).
|
|
1256
1253
|
:param request_interval: The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health check request. Each Route 53 health checker makes requests at this interval. .. epigraph:: You can't change the value of ``RequestInterval`` after you create a health check. If you don't specify a value for ``RequestInterval`` , the default value is ``30`` seconds.
|
|
1257
1254
|
:param resource_path: The path, if any, that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example, the file /docs/route53-health-check.html. You can also include query string parameters, for example, ``/welcome.html?language=jp&login=y`` .
|
|
1258
|
-
:param routing_control_arn:
|
|
1255
|
+
:param routing_control_arn: ``CfnHealthCheck.HealthCheckConfigProperty.RoutingControlArn``.
|
|
1259
1256
|
:param search_string: If the value of Type is ``HTTP_STR_MATCH`` or ``HTTPS_STR_MATCH`` , the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Route 53 considers the resource healthy. Route 53 considers case when searching for ``SearchString`` in the response body.
|
|
1260
1257
|
|
|
1261
1258
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthcheckconfig.html
|
|
@@ -1601,9 +1598,7 @@ class CfnHealthCheck(
|
|
|
1601
1598
|
|
|
1602
1599
|
@builtins.property
|
|
1603
1600
|
def routing_control_arn(self) -> typing.Optional[builtins.str]:
|
|
1604
|
-
'''
|
|
1605
|
-
|
|
1606
|
-
For more information about Route 53 Application Recovery Controller, see `Route 53 Application Recovery Controller Developer Guide. <https://docs.aws.amazon.com/r53recovery/latest/dg/what-is-route-53-recovery.html>`_ .
|
|
1601
|
+
'''``CfnHealthCheck.HealthCheckConfigProperty.RoutingControlArn``.
|
|
1607
1602
|
|
|
1608
1603
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthcheckconfig.html#cfn-route53-healthcheck-healthcheckconfig-routingcontrolarn
|
|
1609
1604
|
'''
|
|
@@ -7922,7 +7917,6 @@ class VpcEndpointServiceDomainName(
|
|
|
7922
7917
|
|
|
7923
7918
|
Example::
|
|
7924
7919
|
|
|
7925
|
-
# Example automatically generated from non-compiling source. May contain errors.
|
|
7926
7920
|
from aws_cdk.aws_route53 import HostedZone, VpcEndpointServiceDomainName
|
|
7927
7921
|
# zone: HostedZone
|
|
7928
7922
|
# vpces: ec2.VpcEndpointService
|
|
@@ -8004,7 +7998,6 @@ class VpcEndpointServiceDomainNameProps:
|
|
|
8004
7998
|
|
|
8005
7999
|
Example::
|
|
8006
8000
|
|
|
8007
|
-
# Example automatically generated from non-compiling source. May contain errors.
|
|
8008
8001
|
from aws_cdk.aws_route53 import HostedZone, VpcEndpointServiceDomainName
|
|
8009
8002
|
# zone: HostedZone
|
|
8010
8003
|
# vpces: ec2.VpcEndpointService
|
|
@@ -10265,7 +10258,6 @@ class PublicHostedZone(
|
|
|
10265
10258
|
|
|
10266
10259
|
Example::
|
|
10267
10260
|
|
|
10268
|
-
# Example automatically generated from non-compiling source. May contain errors.
|
|
10269
10261
|
stack1 = Stack(app, "Stack1",
|
|
10270
10262
|
env=Environment(
|
|
10271
10263
|
region="us-east-1"
|
|
@@ -20,8 +20,7 @@ This library contains Route53 Alias Record targets for:
|
|
|
20
20
|
* API Gateway V2 custom domains
|
|
21
21
|
|
|
22
22
|
```python
|
|
23
|
-
|
|
24
|
-
import aws_cdk.aws_apigatewayv2 as apigwv2
|
|
23
|
+
import aws_cdk.aws_apigatewayv2_alpha as apigwv2
|
|
25
24
|
|
|
26
25
|
# zone: route53.HostedZone
|
|
27
26
|
# domain_name: apigwv2.DomainName
|
|
@@ -280,8 +279,7 @@ class ApiGatewayv2DomainProperties(
|
|
|
280
279
|
|
|
281
280
|
Example::
|
|
282
281
|
|
|
283
|
-
|
|
284
|
-
import aws_cdk.aws_apigatewayv2 as apigwv2
|
|
282
|
+
import aws_cdk.aws_apigatewayv2_alpha as apigwv2
|
|
285
283
|
|
|
286
284
|
# zone: route53.HostedZone
|
|
287
285
|
# domain_name: apigwv2.DomainName
|