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

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

Potentially problematic release.


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

Files changed (111) hide show
  1. aws_cdk/__init__.py +245 -259
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.73.0.jsii.tgz → aws-cdk-lib@2.76.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplifyuibuilder/__init__.py +182 -214
  5. aws_cdk/aws_apigateway/__init__.py +95 -148
  6. aws_cdk/aws_appconfig/__init__.py +8 -4
  7. aws_cdk/aws_appflow/__init__.py +27 -52
  8. aws_cdk/aws_appmesh/__init__.py +91 -200
  9. aws_cdk/aws_apprunner/__init__.py +4 -16
  10. aws_cdk/aws_appstream/__init__.py +18 -82
  11. aws_cdk/aws_athena/__init__.py +18 -32
  12. aws_cdk/aws_backup/__init__.py +48 -86
  13. aws_cdk/aws_batch/__init__.py +9 -2
  14. aws_cdk/aws_billingconductor/__init__.py +12 -7
  15. aws_cdk/aws_budgets/__init__.py +8 -17
  16. aws_cdk/aws_certificatemanager/__init__.py +7 -4
  17. aws_cdk/aws_cloudfront/__init__.py +14 -11
  18. aws_cdk/aws_cloudfront_origins/__init__.py +18 -8
  19. aws_cdk/aws_cloudtrail/__init__.py +7 -14
  20. aws_cdk/aws_cloudwatch/__init__.py +63 -35
  21. aws_cdk/aws_codebuild/__init__.py +10 -13
  22. aws_cdk/aws_codecommit/__init__.py +0 -1
  23. aws_cdk/aws_codedeploy/__init__.py +165 -162
  24. aws_cdk/aws_codegurureviewer/__init__.py +4 -4
  25. aws_cdk/aws_codepipeline/__init__.py +0 -4
  26. aws_cdk/aws_codepipeline_actions/__init__.py +16 -164
  27. aws_cdk/aws_cognito/__init__.py +195 -100
  28. aws_cdk/aws_config/__init__.py +28 -51
  29. aws_cdk/aws_connectcampaigns/__init__.py +5 -6
  30. aws_cdk/aws_databrew/__init__.py +5 -6
  31. aws_cdk/aws_dlm/__init__.py +33 -71
  32. aws_cdk/aws_docdb/__init__.py +20 -76
  33. aws_cdk/aws_dynamodb/__init__.py +29 -22
  34. aws_cdk/aws_ec2/__init__.py +2414 -603
  35. aws_cdk/aws_ecr/__init__.py +1 -2
  36. aws_cdk/aws_ecr_assets/__init__.py +27 -14
  37. aws_cdk/aws_ecs/__init__.py +458 -163
  38. aws_cdk/aws_ecs_patterns/__init__.py +13 -11
  39. aws_cdk/aws_eks/__init__.py +13 -8
  40. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -9
  41. aws_cdk/aws_elasticloadbalancingv2/__init__.py +142 -82
  42. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +126 -61
  43. aws_cdk/aws_elasticsearch/__init__.py +0 -7
  44. aws_cdk/aws_emr/__init__.py +7 -16
  45. aws_cdk/aws_emrserverless/__init__.py +14 -18
  46. aws_cdk/aws_events/__init__.py +33 -29
  47. aws_cdk/aws_events_targets/__init__.py +248 -89
  48. aws_cdk/aws_frauddetector/__init__.py +3 -4
  49. aws_cdk/aws_fsx/__init__.py +13 -7
  50. aws_cdk/aws_gamelift/__init__.py +11 -20
  51. aws_cdk/aws_grafana/__init__.py +4 -4
  52. aws_cdk/aws_iam/__init__.py +21 -25
  53. aws_cdk/aws_imagebuilder/__init__.py +58 -80
  54. aws_cdk/aws_internetmonitor/__init__.py +18 -10
  55. aws_cdk/aws_iot/__init__.py +16 -10
  56. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -26
  57. aws_cdk/aws_iotevents/__init__.py +6 -4
  58. aws_cdk/aws_iotfleetwise/__init__.py +27 -40
  59. aws_cdk/aws_iotsitewise/__init__.py +8 -5
  60. aws_cdk/aws_iotwireless/__init__.py +14 -9
  61. aws_cdk/aws_kinesisfirehose/__init__.py +21 -38
  62. aws_cdk/aws_lambda/__init__.py +76 -53
  63. aws_cdk/aws_lambda_event_sources/__init__.py +6 -21
  64. aws_cdk/aws_logs/__init__.py +5 -7
  65. aws_cdk/aws_macie/__init__.py +28 -23
  66. aws_cdk/aws_mediaconnect/__init__.py +5 -8
  67. aws_cdk/aws_mediaconvert/__init__.py +2 -2
  68. aws_cdk/aws_medialive/__init__.py +2 -4
  69. aws_cdk/aws_mediapackage/__init__.py +9 -18
  70. aws_cdk/aws_memorydb/__init__.py +5 -10
  71. aws_cdk/aws_mwaa/__init__.py +8 -4
  72. aws_cdk/aws_neptune/__init__.py +4 -4
  73. aws_cdk/aws_networkfirewall/__init__.py +8 -4
  74. aws_cdk/aws_networkmanager/__init__.py +4 -4
  75. aws_cdk/aws_nimblestudio/__init__.py +25 -45
  76. aws_cdk/aws_opensearchservice/__init__.py +0 -1
  77. aws_cdk/aws_panorama/__init__.py +11 -12
  78. aws_cdk/aws_personalize/__init__.py +46 -72
  79. aws_cdk/aws_pinpoint/__init__.py +36 -65
  80. aws_cdk/aws_quicksight/__init__.py +9972 -13374
  81. aws_cdk/aws_rds/__init__.py +53 -22
  82. aws_cdk/aws_route53/__init__.py +8 -16
  83. aws_cdk/aws_route53_targets/__init__.py +2 -4
  84. aws_cdk/aws_s3/__init__.py +41 -90
  85. aws_cdk/aws_s3_notifications/__init__.py +0 -3
  86. aws_cdk/aws_sagemaker/__init__.py +16 -10
  87. aws_cdk/aws_secretsmanager/__init__.py +17 -14
  88. aws_cdk/aws_servicecatalog/__init__.py +60 -83
  89. aws_cdk/aws_servicediscovery/__init__.py +4 -6
  90. aws_cdk/aws_ses/__init__.py +734 -28
  91. aws_cdk/aws_sns/__init__.py +4 -8
  92. aws_cdk/aws_ssm/__init__.py +19 -23
  93. aws_cdk/aws_ssmcontacts/__init__.py +10 -6
  94. aws_cdk/aws_ssmincidents/__init__.py +2 -1
  95. aws_cdk/aws_sso/__init__.py +4 -4
  96. aws_cdk/aws_stepfunctions/__init__.py +6 -15
  97. aws_cdk/aws_stepfunctions_tasks/__init__.py +51 -24
  98. aws_cdk/aws_timestream/__init__.py +22 -28
  99. aws_cdk/aws_transfer/__init__.py +188 -86
  100. aws_cdk/aws_wafv2/__init__.py +54 -38
  101. aws_cdk/aws_xray/__init__.py +15 -22
  102. aws_cdk/cloud_assembly_schema/__init__.py +14 -6
  103. aws_cdk/custom_resources/__init__.py +2 -3
  104. aws_cdk/pipelines/__init__.py +104 -134
  105. aws_cdk/triggers/__init__.py +46 -61
  106. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/METADATA +47 -92
  107. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/RECORD +111 -111
  108. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/LICENSE +0 -0
  109. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/NOTICE +0 -0
  110. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/WHEEL +0 -0
  111. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/top_level.txt +0 -0
@@ -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=cdk.Duration.days(7), # defaults to 30 days
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, false otherwise
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: - true if ``removalPolicy`` is RETAIN, false otherwise
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, false otherwise
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: - true if ``removalPolicy`` is RETAIN, false otherwise
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
- # my_security_group: ec2.SecurityGroup
29417
+ # my_endpoint: ec2.InterfaceVpcEndpoint
29418
+
29387
29419
 
29388
29420
  instance.add_rotation_single_user(
29389
- automatically_after=cdk.Duration.days(7), # defaults to 30 days
29390
- exclude_characters="!@#$%^&*", # defaults to the set " %+~`#/// here*()|[]{}:;<>?!'/@\"\\"
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, false otherwise
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, false otherwise
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
@@ -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
- stack = Stack()
279
- vpc = Vpc(stack, "VPC")
280
- nlb = NetworkLoadBalancer(stack, "NLB",
275
+
276
+ vpc = ec2.Vpc(self, "VPC")
277
+ nlb = NetworkLoadBalancer(self, "NLB",
281
278
  vpc=vpc
282
279
  )
283
- vpces = VpcEndpointService(stack, "VPCES",
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(stack, "PHZ",
284
+ zone = route53.PublicHostedZone(self, "PHZ",
288
285
  zone_name="aws-cdk.dev"
289
286
  )
290
- VpcEndpointServiceDomainName(stack, "EndpointDomain",
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: The Amazon Resource Name (ARN) for the Route 53 Application Recovery Controller routing control. 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>`_ .
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
- '''The Amazon Resource Name (ARN) for the Route 53 Application Recovery Controller routing control.
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
- # Example automatically generated from non-compiling source. May contain errors.
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
- # Example automatically generated from non-compiling source. May contain errors.
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