aws-cdk-lib 2.139.1__py3-none-any.whl → 2.140.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 +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.139.1.jsii.tgz → aws-cdk-lib@2.140.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +70 -56
- aws_cdk/aws_apigateway/__init__.py +126 -53
- aws_cdk/aws_applicationautoscaling/__init__.py +1 -4
- aws_cdk/aws_arczonalshift/__init__.py +49 -44
- aws_cdk/aws_bedrock/__init__.py +2818 -146
- aws_cdk/aws_cloudfront/__init__.py +51 -9
- aws_cdk/aws_codecommit/__init__.py +72 -46
- aws_cdk/aws_connectcampaigns/__init__.py +34 -4
- aws_cdk/aws_datasync/__init__.py +47 -21
- aws_cdk/aws_dms/__init__.py +0 -269
- aws_cdk/aws_ec2/__init__.py +149 -44
- aws_cdk/aws_ecs/__init__.py +2 -4
- aws_cdk/aws_efs/__init__.py +16 -2
- aws_cdk/aws_eks/__init__.py +57 -0
- aws_cdk/aws_events/__init__.py +115 -0
- aws_cdk/aws_events_targets/__init__.py +15 -0
- aws_cdk/aws_fis/__init__.py +2 -1
- aws_cdk/aws_gamelift/__init__.py +1846 -70
- aws_cdk/aws_globalaccelerator/__init__.py +20 -16
- aws_cdk/aws_iam/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +21 -0
- aws_cdk/aws_kinesisvideo/__init__.py +6 -4
- aws_cdk/aws_kms/__init__.py +22 -1
- aws_cdk/aws_lambda/__init__.py +0 -9
- aws_cdk/aws_medialive/__init__.py +444 -3
- aws_cdk/aws_paymentcryptography/__init__.py +1075 -0
- aws_cdk/aws_personalize/__init__.py +8 -2
- aws_cdk/aws_qbusiness/__init__.py +5257 -0
- aws_cdk/aws_quicksight/__init__.py +9996 -1446
- aws_cdk/aws_rds/__init__.py +42 -0
- aws_cdk/aws_redshiftserverless/__init__.py +13 -9
- aws_cdk/aws_route53/__init__.py +350 -0
- aws_cdk/aws_route53profiles/__init__.py +1048 -0
- aws_cdk/aws_s3/__init__.py +1 -1
- aws_cdk/aws_transfer/__init__.py +102 -37
- aws_cdk/aws_workspacesweb/__init__.py +92 -6
- aws_cdk/custom_resources/__init__.py +23 -2
- aws_cdk/cx_api/__init__.py +16 -0
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.140.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.140.0.dist-info}/RECORD +47 -44
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.140.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.140.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.140.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.140.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -7918,6 +7918,7 @@ class CfnDBInstance(
|
|
|
7918
7918
|
feature_name="featureName",
|
|
7919
7919
|
role_arn="roleArn"
|
|
7920
7920
|
)],
|
|
7921
|
+
automatic_backup_replication_kms_key_id="automaticBackupReplicationKmsKeyId",
|
|
7921
7922
|
automatic_backup_replication_region="automaticBackupReplicationRegion",
|
|
7922
7923
|
auto_minor_version_upgrade=False,
|
|
7923
7924
|
availability_zone="availabilityZone",
|
|
@@ -8018,6 +8019,7 @@ class CfnDBInstance(
|
|
|
8018
8019
|
allocated_storage: typing.Optional[builtins.str] = None,
|
|
8019
8020
|
allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8020
8021
|
associated_roles: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDBInstance.DBInstanceRoleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8022
|
+
automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
|
|
8021
8023
|
automatic_backup_replication_region: typing.Optional[builtins.str] = None,
|
|
8022
8024
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8023
8025
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
@@ -8098,6 +8100,7 @@ class CfnDBInstance(
|
|
|
8098
8100
|
:param allocated_storage: The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. .. epigraph:: If any value is set in the ``Iops`` parameter, ``AllocatedStorage`` must be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase the ``Iops`` value (in 1,000 IOPS increments), then you must also increase the ``AllocatedStorage`` value (in 100-GiB increments). *Amazon Aurora* Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. *Db2* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. - Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. *MySQL* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *MariaDB* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *PostgreSQL* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *Oracle* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 10 to 3072. *SQL Server* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): - Enterprise and Standard editions: Must be an integer from 20 to 16384. - Web and Express editions: Must be an integer from 20 to 16384. - Provisioned IOPS storage (io1): - Enterprise and Standard editions: Must be an integer from 20 to 16384. - Web and Express editions: Must be an integer from 20 to 16384. - Magnetic storage (standard): - Enterprise and Standard editions: Must be an integer from 20 to 1024. - Web and Express editions: Must be an integer from 20 to 1024.
|
|
8099
8101
|
:param allow_major_version_upgrade: A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the ``EngineVersion`` parameter that is a different major version than the DB instance's current version.
|
|
8100
8102
|
:param associated_roles: The AWS Identity and Access Management (IAM) roles associated with the DB instance. *Amazon Aurora* Not applicable. The associated roles are managed by the DB cluster.
|
|
8103
|
+
:param automatic_backup_replication_kms_key_id:
|
|
8101
8104
|
:param automatic_backup_replication_region: The destination region for the backup replication of the DB instance. For more info, see `Replicating automated backups to another AWS Region <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReplicateBackups.html>`_ in the *Amazon RDS User Guide* .
|
|
8102
8105
|
:param auto_minor_version_upgrade: A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
|
|
8103
8106
|
:param availability_zone: The Availability Zone (AZ) where the database will be created. For information on AWS Regions and Availability Zones, see `Regions and Availability Zones <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html>`_ . For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region . Constraints: - The ``AvailabilityZone`` parameter can't be specified if the DB instance is a Multi-AZ deployment. - The specified Availability Zone must be in the same AWS Region as the current endpoint. Example: ``us-east-1d``
|
|
@@ -8180,6 +8183,7 @@ class CfnDBInstance(
|
|
|
8180
8183
|
allocated_storage=allocated_storage,
|
|
8181
8184
|
allow_major_version_upgrade=allow_major_version_upgrade,
|
|
8182
8185
|
associated_roles=associated_roles,
|
|
8186
|
+
automatic_backup_replication_kms_key_id=automatic_backup_replication_kms_key_id,
|
|
8183
8187
|
automatic_backup_replication_region=automatic_backup_replication_region,
|
|
8184
8188
|
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
8185
8189
|
availability_zone=availability_zone,
|
|
@@ -8438,6 +8442,21 @@ class CfnDBInstance(
|
|
|
8438
8442
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8439
8443
|
jsii.set(self, "associatedRoles", value)
|
|
8440
8444
|
|
|
8445
|
+
@builtins.property
|
|
8446
|
+
@jsii.member(jsii_name="automaticBackupReplicationKmsKeyId")
|
|
8447
|
+
def automatic_backup_replication_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
8448
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "automaticBackupReplicationKmsKeyId"))
|
|
8449
|
+
|
|
8450
|
+
@automatic_backup_replication_kms_key_id.setter
|
|
8451
|
+
def automatic_backup_replication_kms_key_id(
|
|
8452
|
+
self,
|
|
8453
|
+
value: typing.Optional[builtins.str],
|
|
8454
|
+
) -> None:
|
|
8455
|
+
if __debug__:
|
|
8456
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7de66731ee5fdd45e40db8d58e3041a46d64fff9265d6aa870ac5ff27419bb86)
|
|
8457
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8458
|
+
jsii.set(self, "automaticBackupReplicationKmsKeyId", value)
|
|
8459
|
+
|
|
8441
8460
|
@builtins.property
|
|
8442
8461
|
@jsii.member(jsii_name="automaticBackupReplicationRegion")
|
|
8443
8462
|
def automatic_backup_replication_region(self) -> typing.Optional[builtins.str]:
|
|
@@ -9923,6 +9942,7 @@ class CfnDBInstance(
|
|
|
9923
9942
|
"allocated_storage": "allocatedStorage",
|
|
9924
9943
|
"allow_major_version_upgrade": "allowMajorVersionUpgrade",
|
|
9925
9944
|
"associated_roles": "associatedRoles",
|
|
9945
|
+
"automatic_backup_replication_kms_key_id": "automaticBackupReplicationKmsKeyId",
|
|
9926
9946
|
"automatic_backup_replication_region": "automaticBackupReplicationRegion",
|
|
9927
9947
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
9928
9948
|
"availability_zone": "availabilityZone",
|
|
@@ -10005,6 +10025,7 @@ class CfnDBInstanceProps:
|
|
|
10005
10025
|
allocated_storage: typing.Optional[builtins.str] = None,
|
|
10006
10026
|
allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10007
10027
|
associated_roles: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceRoleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10028
|
+
automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
|
|
10008
10029
|
automatic_backup_replication_region: typing.Optional[builtins.str] = None,
|
|
10009
10030
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10010
10031
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
@@ -10084,6 +10105,7 @@ class CfnDBInstanceProps:
|
|
|
10084
10105
|
:param allocated_storage: The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. .. epigraph:: If any value is set in the ``Iops`` parameter, ``AllocatedStorage`` must be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase the ``Iops`` value (in 1,000 IOPS increments), then you must also increase the ``AllocatedStorage`` value (in 100-GiB increments). *Amazon Aurora* Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. *Db2* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. - Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. *MySQL* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *MariaDB* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *PostgreSQL* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 5 to 3072. *Oracle* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. - Magnetic storage (standard): Must be an integer from 10 to 3072. *SQL Server* Constraints to the amount of storage for each storage type are the following: - General Purpose (SSD) storage (gp2): - Enterprise and Standard editions: Must be an integer from 20 to 16384. - Web and Express editions: Must be an integer from 20 to 16384. - Provisioned IOPS storage (io1): - Enterprise and Standard editions: Must be an integer from 20 to 16384. - Web and Express editions: Must be an integer from 20 to 16384. - Magnetic storage (standard): - Enterprise and Standard editions: Must be an integer from 20 to 1024. - Web and Express editions: Must be an integer from 20 to 1024.
|
|
10085
10106
|
:param allow_major_version_upgrade: A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the ``EngineVersion`` parameter that is a different major version than the DB instance's current version.
|
|
10086
10107
|
:param associated_roles: The AWS Identity and Access Management (IAM) roles associated with the DB instance. *Amazon Aurora* Not applicable. The associated roles are managed by the DB cluster.
|
|
10108
|
+
:param automatic_backup_replication_kms_key_id:
|
|
10087
10109
|
:param automatic_backup_replication_region: The destination region for the backup replication of the DB instance. For more info, see `Replicating automated backups to another AWS Region <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReplicateBackups.html>`_ in the *Amazon RDS User Guide* .
|
|
10088
10110
|
:param auto_minor_version_upgrade: A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
|
|
10089
10111
|
:param availability_zone: The Availability Zone (AZ) where the database will be created. For information on AWS Regions and Availability Zones, see `Regions and Availability Zones <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html>`_ . For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region . Constraints: - The ``AvailabilityZone`` parameter can't be specified if the DB instance is a Multi-AZ deployment. - The specified Availability Zone must be in the same AWS Region as the current endpoint. Example: ``us-east-1d``
|
|
@@ -10174,6 +10196,7 @@ class CfnDBInstanceProps:
|
|
|
10174
10196
|
feature_name="featureName",
|
|
10175
10197
|
role_arn="roleArn"
|
|
10176
10198
|
)],
|
|
10199
|
+
automatic_backup_replication_kms_key_id="automaticBackupReplicationKmsKeyId",
|
|
10177
10200
|
automatic_backup_replication_region="automaticBackupReplicationRegion",
|
|
10178
10201
|
auto_minor_version_upgrade=False,
|
|
10179
10202
|
availability_zone="availabilityZone",
|
|
@@ -10270,6 +10293,7 @@ class CfnDBInstanceProps:
|
|
|
10270
10293
|
check_type(argname="argument allocated_storage", value=allocated_storage, expected_type=type_hints["allocated_storage"])
|
|
10271
10294
|
check_type(argname="argument allow_major_version_upgrade", value=allow_major_version_upgrade, expected_type=type_hints["allow_major_version_upgrade"])
|
|
10272
10295
|
check_type(argname="argument associated_roles", value=associated_roles, expected_type=type_hints["associated_roles"])
|
|
10296
|
+
check_type(argname="argument automatic_backup_replication_kms_key_id", value=automatic_backup_replication_kms_key_id, expected_type=type_hints["automatic_backup_replication_kms_key_id"])
|
|
10273
10297
|
check_type(argname="argument automatic_backup_replication_region", value=automatic_backup_replication_region, expected_type=type_hints["automatic_backup_replication_region"])
|
|
10274
10298
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
10275
10299
|
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
@@ -10350,6 +10374,8 @@ class CfnDBInstanceProps:
|
|
|
10350
10374
|
self._values["allow_major_version_upgrade"] = allow_major_version_upgrade
|
|
10351
10375
|
if associated_roles is not None:
|
|
10352
10376
|
self._values["associated_roles"] = associated_roles
|
|
10377
|
+
if automatic_backup_replication_kms_key_id is not None:
|
|
10378
|
+
self._values["automatic_backup_replication_kms_key_id"] = automatic_backup_replication_kms_key_id
|
|
10353
10379
|
if automatic_backup_replication_region is not None:
|
|
10354
10380
|
self._values["automatic_backup_replication_region"] = automatic_backup_replication_region
|
|
10355
10381
|
if auto_minor_version_upgrade is not None:
|
|
@@ -10597,6 +10623,14 @@ class CfnDBInstanceProps:
|
|
|
10597
10623
|
result = self._values.get("associated_roles")
|
|
10598
10624
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDBInstance.DBInstanceRoleProperty]]]], result)
|
|
10599
10625
|
|
|
10626
|
+
@builtins.property
|
|
10627
|
+
def automatic_backup_replication_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
10628
|
+
'''
|
|
10629
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-automaticbackupreplicationkmskeyid
|
|
10630
|
+
'''
|
|
10631
|
+
result = self._values.get("automatic_backup_replication_kms_key_id")
|
|
10632
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10633
|
+
|
|
10600
10634
|
@builtins.property
|
|
10601
10635
|
def automatic_backup_replication_region(self) -> typing.Optional[builtins.str]:
|
|
10602
10636
|
'''The destination region for the backup replication of the DB instance.
|
|
@@ -44369,6 +44403,7 @@ def _typecheckingstub__255b0779ca741853674876540bf77279f6293bea05de2cd18724d2b92
|
|
|
44369
44403
|
allocated_storage: typing.Optional[builtins.str] = None,
|
|
44370
44404
|
allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
44371
44405
|
associated_roles: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceRoleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
44406
|
+
automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
|
|
44372
44407
|
automatic_backup_replication_region: typing.Optional[builtins.str] = None,
|
|
44373
44408
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
44374
44409
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
@@ -44476,6 +44511,12 @@ def _typecheckingstub__4ce8e79d061f4d460ac08196091e00285779b468080063faf9f5f8f74
|
|
|
44476
44511
|
"""Type checking stubs"""
|
|
44477
44512
|
pass
|
|
44478
44513
|
|
|
44514
|
+
def _typecheckingstub__7de66731ee5fdd45e40db8d58e3041a46d64fff9265d6aa870ac5ff27419bb86(
|
|
44515
|
+
value: typing.Optional[builtins.str],
|
|
44516
|
+
) -> None:
|
|
44517
|
+
"""Type checking stubs"""
|
|
44518
|
+
pass
|
|
44519
|
+
|
|
44479
44520
|
def _typecheckingstub__570af392a4da1d3a00accc2e05674065be4ff1306321cb7944dc793fd8d479ad(
|
|
44480
44521
|
value: typing.Optional[builtins.str],
|
|
44481
44522
|
) -> None:
|
|
@@ -44960,6 +45001,7 @@ def _typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16
|
|
|
44960
45001
|
allocated_storage: typing.Optional[builtins.str] = None,
|
|
44961
45002
|
allow_major_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
44962
45003
|
associated_roles: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDBInstance.DBInstanceRoleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
45004
|
+
automatic_backup_replication_kms_key_id: typing.Optional[builtins.str] = None,
|
|
44963
45005
|
automatic_backup_replication_region: typing.Optional[builtins.str] = None,
|
|
44964
45006
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
44965
45007
|
availability_zone: typing.Optional[builtins.str] = None,
|
|
@@ -821,10 +821,11 @@ class CfnNamespace(
|
|
|
821
821
|
destination_kms_key_id: typing.Optional[builtins.str] = None,
|
|
822
822
|
snapshot_retention_period: typing.Optional[jsii.Number] = None,
|
|
823
823
|
) -> None:
|
|
824
|
-
'''
|
|
825
|
-
|
|
826
|
-
:param
|
|
827
|
-
:param
|
|
824
|
+
'''The object that you configure to copy snapshots from one namespace to a namespace in another AWS Region .
|
|
825
|
+
|
|
826
|
+
:param destination_region: The destination AWS Region to copy snapshots to.
|
|
827
|
+
:param destination_kms_key_id: The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
|
|
828
|
+
:param snapshot_retention_period: The retention period of snapshots that are copied to the destination AWS Region .
|
|
828
829
|
|
|
829
830
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html
|
|
830
831
|
:exampleMetadata: fixture=_generated
|
|
@@ -858,7 +859,8 @@ class CfnNamespace(
|
|
|
858
859
|
|
|
859
860
|
@builtins.property
|
|
860
861
|
def destination_region(self) -> builtins.str:
|
|
861
|
-
'''
|
|
862
|
+
'''The destination AWS Region to copy snapshots to.
|
|
863
|
+
|
|
862
864
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-destinationregion
|
|
863
865
|
'''
|
|
864
866
|
result = self._values.get("destination_region")
|
|
@@ -867,7 +869,8 @@ class CfnNamespace(
|
|
|
867
869
|
|
|
868
870
|
@builtins.property
|
|
869
871
|
def destination_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
870
|
-
'''
|
|
872
|
+
'''The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
|
|
873
|
+
|
|
871
874
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-destinationkmskeyid
|
|
872
875
|
'''
|
|
873
876
|
result = self._values.get("destination_kms_key_id")
|
|
@@ -875,7 +878,8 @@ class CfnNamespace(
|
|
|
875
878
|
|
|
876
879
|
@builtins.property
|
|
877
880
|
def snapshot_retention_period(self) -> typing.Optional[jsii.Number]:
|
|
878
|
-
'''
|
|
881
|
+
'''The retention period of snapshots that are copied to the destination AWS Region .
|
|
882
|
+
|
|
879
883
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-snapshotretentionperiod
|
|
880
884
|
'''
|
|
881
885
|
result = self._values.get("snapshot_retention_period")
|
|
@@ -2094,7 +2098,7 @@ class CfnWorkgroup(
|
|
|
2094
2098
|
'''The collection of computing resources from which an endpoint is created.
|
|
2095
2099
|
|
|
2096
2100
|
:param base_capacity: The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
|
|
2097
|
-
:param config_parameters: An array of parameters to set for advanced control over a database. The options are ``auto_mv`` , ``datestyle`` , ``enable_case_sensitive_identifier`` , ``enable_user_activity_logging`` , ``query_group`` , ``search_path`` , ``require_ssl`` , and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see `Query monitoring metrics for Amazon Redshift Serverless <https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless>`_ .
|
|
2101
|
+
:param config_parameters: An array of parameters to set for advanced control over a database. The options are ``auto_mv`` , ``datestyle`` , ``enable_case_sensitive_identifier`` , ``enable_user_activity_logging`` , ``query_group`` , ``search_path`` , ``require_ssl`` , ``use_fips_ssl`` , and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see `Query monitoring metrics for Amazon Redshift Serverless <https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless>`_ .
|
|
2098
2102
|
:param creation_date: The creation date of the workgroup.
|
|
2099
2103
|
:param endpoint: The endpoint that is created from the workgroup.
|
|
2100
2104
|
:param enhanced_vpc_routing: The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
|
|
@@ -2211,7 +2215,7 @@ class CfnWorkgroup(
|
|
|
2211
2215
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkgroup.ConfigParameterProperty"]]]]:
|
|
2212
2216
|
'''An array of parameters to set for advanced control over a database.
|
|
2213
2217
|
|
|
2214
|
-
The options are ``auto_mv`` , ``datestyle`` , ``enable_case_sensitive_identifier`` , ``enable_user_activity_logging`` , ``query_group`` , ``search_path`` , ``require_ssl`` , and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see `Query monitoring metrics for Amazon Redshift Serverless <https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless>`_ .
|
|
2218
|
+
The options are ``auto_mv`` , ``datestyle`` , ``enable_case_sensitive_identifier`` , ``enable_user_activity_logging`` , ``query_group`` , ``search_path`` , ``require_ssl`` , ``use_fips_ssl`` , and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see `Query monitoring metrics for Amazon Redshift Serverless <https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless>`_ .
|
|
2215
2219
|
|
|
2216
2220
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-workgroup.html#cfn-redshiftserverless-workgroup-workgroup-configparameters
|
|
2217
2221
|
'''
|
aws_cdk/aws_route53/__init__.py
CHANGED
|
@@ -104,6 +104,21 @@ route53.ARecord(self, "ARecord",
|
|
|
104
104
|
)
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
+
To create an A record of type alias with target set to another record created outside CDK:
|
|
108
|
+
|
|
109
|
+
### This function registers the given input i.e. DNS Name(string) of an existing record as an AliasTarget to the new ARecord. To register a target that is created as part of CDK use this instead https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53_targets-readme.html
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
# my_zone: route53.HostedZone
|
|
113
|
+
|
|
114
|
+
target_record = "existing.record.cdk.local"
|
|
115
|
+
record = route53.ARecord.from_aRecord_attributes(self, "A",
|
|
116
|
+
zone=my_zone,
|
|
117
|
+
record_name="test",
|
|
118
|
+
target_dNS=target_record
|
|
119
|
+
)
|
|
120
|
+
```
|
|
121
|
+
|
|
107
122
|
To add an AAAA record pointing to a CloudFront distribution:
|
|
108
123
|
|
|
109
124
|
```python
|
|
@@ -10094,6 +10109,304 @@ class ARecord(
|
|
|
10094
10109
|
|
|
10095
10110
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
10096
10111
|
|
|
10112
|
+
@jsii.member(jsii_name="fromARecordAttributes")
|
|
10113
|
+
@builtins.classmethod
|
|
10114
|
+
def from_a_record_attributes(
|
|
10115
|
+
cls,
|
|
10116
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
10117
|
+
id: builtins.str,
|
|
10118
|
+
*,
|
|
10119
|
+
target_dns: builtins.str,
|
|
10120
|
+
zone: IHostedZone,
|
|
10121
|
+
comment: typing.Optional[builtins.str] = None,
|
|
10122
|
+
delete_existing: typing.Optional[builtins.bool] = None,
|
|
10123
|
+
geo_location: typing.Optional[GeoLocation] = None,
|
|
10124
|
+
multi_value_answer: typing.Optional[builtins.bool] = None,
|
|
10125
|
+
record_name: typing.Optional[builtins.str] = None,
|
|
10126
|
+
region: typing.Optional[builtins.str] = None,
|
|
10127
|
+
set_identifier: typing.Optional[builtins.str] = None,
|
|
10128
|
+
ttl: typing.Optional[_Duration_4839e8c3] = None,
|
|
10129
|
+
weight: typing.Optional[jsii.Number] = None,
|
|
10130
|
+
) -> "ARecord":
|
|
10131
|
+
'''Creates new A record of type alias with target set to an existing A Record DNS.
|
|
10132
|
+
|
|
10133
|
+
Use when the target A record is created outside of CDK
|
|
10134
|
+
For records created as part of CDK use
|
|
10135
|
+
|
|
10136
|
+
:param scope: the parent Construct for this Construct.
|
|
10137
|
+
:param id: Logical Id of the resource.
|
|
10138
|
+
:param target_dns: Existing A record DNS name to set RecordTarget.
|
|
10139
|
+
:param zone: The hosted zone in which to define the new record.
|
|
10140
|
+
:param comment: A comment to add on the record. Default: no comment
|
|
10141
|
+
:param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
|
|
10142
|
+
:param geo_location: The geographical origin for this record to return DNS records based on the user's location.
|
|
10143
|
+
:param multi_value_answer: Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries. Default: false
|
|
10144
|
+
:param record_name: The subdomain name for this record. This should be relative to the zone root name. For example, if you want to create a record for acme.example.com, specify "acme". You can also specify the fully qualified domain name which terminates with a ".". For example, "acme.example.com.". Default: zone root
|
|
10145
|
+
:param region: The Amazon EC2 Region where you created the resource that this resource record set refers to. The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type. When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Route 53 then returns the value that is associated with the selected resource record set. Default: - Do not set latency based routing
|
|
10146
|
+
:param set_identifier: A string used to distinguish between different records with the same combination of DNS name and type. It can only be set when either weight or geoLocation is defined. This parameter must be between 1 and 128 characters in length. Default: - Auto generated string
|
|
10147
|
+
:param ttl: The resource record cache time to live (TTL). Default: Duration.minutes(30)
|
|
10148
|
+
:param weight: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. Route 53 then responds to queries based on the ratio of a resource's weight to the total. This value can be a number between 0 and 255. Default: - Do not set weighted routing
|
|
10149
|
+
|
|
10150
|
+
:return: AWS::Route53::RecordSet of type A with target alias set to existing A record
|
|
10151
|
+
|
|
10152
|
+
:aws-cdk-lib: /aws-route53-targets/route53-record.ts
|
|
10153
|
+
'''
|
|
10154
|
+
if __debug__:
|
|
10155
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c76ad72e64542d58d5e33c28ccaca560dac09b21c920d094b7a0c2386fe42886)
|
|
10156
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
10157
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
10158
|
+
attrs = ARecordAttrs(
|
|
10159
|
+
target_dns=target_dns,
|
|
10160
|
+
zone=zone,
|
|
10161
|
+
comment=comment,
|
|
10162
|
+
delete_existing=delete_existing,
|
|
10163
|
+
geo_location=geo_location,
|
|
10164
|
+
multi_value_answer=multi_value_answer,
|
|
10165
|
+
record_name=record_name,
|
|
10166
|
+
region=region,
|
|
10167
|
+
set_identifier=set_identifier,
|
|
10168
|
+
ttl=ttl,
|
|
10169
|
+
weight=weight,
|
|
10170
|
+
)
|
|
10171
|
+
|
|
10172
|
+
return typing.cast("ARecord", jsii.sinvoke(cls, "fromARecordAttributes", [scope, id, attrs]))
|
|
10173
|
+
|
|
10174
|
+
|
|
10175
|
+
@jsii.data_type(
|
|
10176
|
+
jsii_type="aws-cdk-lib.aws_route53.ARecordAttrs",
|
|
10177
|
+
jsii_struct_bases=[RecordSetOptions],
|
|
10178
|
+
name_mapping={
|
|
10179
|
+
"zone": "zone",
|
|
10180
|
+
"comment": "comment",
|
|
10181
|
+
"delete_existing": "deleteExisting",
|
|
10182
|
+
"geo_location": "geoLocation",
|
|
10183
|
+
"multi_value_answer": "multiValueAnswer",
|
|
10184
|
+
"record_name": "recordName",
|
|
10185
|
+
"region": "region",
|
|
10186
|
+
"set_identifier": "setIdentifier",
|
|
10187
|
+
"ttl": "ttl",
|
|
10188
|
+
"weight": "weight",
|
|
10189
|
+
"target_dns": "targetDNS",
|
|
10190
|
+
},
|
|
10191
|
+
)
|
|
10192
|
+
class ARecordAttrs(RecordSetOptions):
|
|
10193
|
+
def __init__(
|
|
10194
|
+
self,
|
|
10195
|
+
*,
|
|
10196
|
+
zone: IHostedZone,
|
|
10197
|
+
comment: typing.Optional[builtins.str] = None,
|
|
10198
|
+
delete_existing: typing.Optional[builtins.bool] = None,
|
|
10199
|
+
geo_location: typing.Optional[GeoLocation] = None,
|
|
10200
|
+
multi_value_answer: typing.Optional[builtins.bool] = None,
|
|
10201
|
+
record_name: typing.Optional[builtins.str] = None,
|
|
10202
|
+
region: typing.Optional[builtins.str] = None,
|
|
10203
|
+
set_identifier: typing.Optional[builtins.str] = None,
|
|
10204
|
+
ttl: typing.Optional[_Duration_4839e8c3] = None,
|
|
10205
|
+
weight: typing.Optional[jsii.Number] = None,
|
|
10206
|
+
target_dns: builtins.str,
|
|
10207
|
+
) -> None:
|
|
10208
|
+
'''Construction properties to import existing ARecord as target.
|
|
10209
|
+
|
|
10210
|
+
:param zone: The hosted zone in which to define the new record.
|
|
10211
|
+
:param comment: A comment to add on the record. Default: no comment
|
|
10212
|
+
:param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
|
|
10213
|
+
:param geo_location: The geographical origin for this record to return DNS records based on the user's location.
|
|
10214
|
+
:param multi_value_answer: Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries. Default: false
|
|
10215
|
+
:param record_name: The subdomain name for this record. This should be relative to the zone root name. For example, if you want to create a record for acme.example.com, specify "acme". You can also specify the fully qualified domain name which terminates with a ".". For example, "acme.example.com.". Default: zone root
|
|
10216
|
+
:param region: The Amazon EC2 Region where you created the resource that this resource record set refers to. The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type. When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Route 53 then returns the value that is associated with the selected resource record set. Default: - Do not set latency based routing
|
|
10217
|
+
:param set_identifier: A string used to distinguish between different records with the same combination of DNS name and type. It can only be set when either weight or geoLocation is defined. This parameter must be between 1 and 128 characters in length. Default: - Auto generated string
|
|
10218
|
+
:param ttl: The resource record cache time to live (TTL). Default: Duration.minutes(30)
|
|
10219
|
+
:param weight: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. Route 53 then responds to queries based on the ratio of a resource's weight to the total. This value can be a number between 0 and 255. Default: - Do not set weighted routing
|
|
10220
|
+
:param target_dns: Existing A record DNS name to set RecordTarget.
|
|
10221
|
+
|
|
10222
|
+
:exampleMetadata: infused
|
|
10223
|
+
|
|
10224
|
+
Example::
|
|
10225
|
+
|
|
10226
|
+
# my_zone: route53.HostedZone
|
|
10227
|
+
|
|
10228
|
+
target_record = "existing.record.cdk.local"
|
|
10229
|
+
record = route53.ARecord.from_aRecord_attributes(self, "A",
|
|
10230
|
+
zone=my_zone,
|
|
10231
|
+
record_name="test",
|
|
10232
|
+
target_dNS=target_record
|
|
10233
|
+
)
|
|
10234
|
+
'''
|
|
10235
|
+
if __debug__:
|
|
10236
|
+
type_hints = typing.get_type_hints(_typecheckingstub__514d7eccc21be019febe80e121fd7d979162668b63cb99051c629ef087f5fe9a)
|
|
10237
|
+
check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
|
|
10238
|
+
check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
|
|
10239
|
+
check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
|
|
10240
|
+
check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
|
|
10241
|
+
check_type(argname="argument multi_value_answer", value=multi_value_answer, expected_type=type_hints["multi_value_answer"])
|
|
10242
|
+
check_type(argname="argument record_name", value=record_name, expected_type=type_hints["record_name"])
|
|
10243
|
+
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
10244
|
+
check_type(argname="argument set_identifier", value=set_identifier, expected_type=type_hints["set_identifier"])
|
|
10245
|
+
check_type(argname="argument ttl", value=ttl, expected_type=type_hints["ttl"])
|
|
10246
|
+
check_type(argname="argument weight", value=weight, expected_type=type_hints["weight"])
|
|
10247
|
+
check_type(argname="argument target_dns", value=target_dns, expected_type=type_hints["target_dns"])
|
|
10248
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
10249
|
+
"zone": zone,
|
|
10250
|
+
"target_dns": target_dns,
|
|
10251
|
+
}
|
|
10252
|
+
if comment is not None:
|
|
10253
|
+
self._values["comment"] = comment
|
|
10254
|
+
if delete_existing is not None:
|
|
10255
|
+
self._values["delete_existing"] = delete_existing
|
|
10256
|
+
if geo_location is not None:
|
|
10257
|
+
self._values["geo_location"] = geo_location
|
|
10258
|
+
if multi_value_answer is not None:
|
|
10259
|
+
self._values["multi_value_answer"] = multi_value_answer
|
|
10260
|
+
if record_name is not None:
|
|
10261
|
+
self._values["record_name"] = record_name
|
|
10262
|
+
if region is not None:
|
|
10263
|
+
self._values["region"] = region
|
|
10264
|
+
if set_identifier is not None:
|
|
10265
|
+
self._values["set_identifier"] = set_identifier
|
|
10266
|
+
if ttl is not None:
|
|
10267
|
+
self._values["ttl"] = ttl
|
|
10268
|
+
if weight is not None:
|
|
10269
|
+
self._values["weight"] = weight
|
|
10270
|
+
|
|
10271
|
+
@builtins.property
|
|
10272
|
+
def zone(self) -> IHostedZone:
|
|
10273
|
+
'''The hosted zone in which to define the new record.'''
|
|
10274
|
+
result = self._values.get("zone")
|
|
10275
|
+
assert result is not None, "Required property 'zone' is missing"
|
|
10276
|
+
return typing.cast(IHostedZone, result)
|
|
10277
|
+
|
|
10278
|
+
@builtins.property
|
|
10279
|
+
def comment(self) -> typing.Optional[builtins.str]:
|
|
10280
|
+
'''A comment to add on the record.
|
|
10281
|
+
|
|
10282
|
+
:default: no comment
|
|
10283
|
+
'''
|
|
10284
|
+
result = self._values.get("comment")
|
|
10285
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10286
|
+
|
|
10287
|
+
@builtins.property
|
|
10288
|
+
def delete_existing(self) -> typing.Optional[builtins.bool]:
|
|
10289
|
+
'''Whether to delete the same record set in the hosted zone if it already exists (dangerous!).
|
|
10290
|
+
|
|
10291
|
+
This allows to deploy a new record set while minimizing the downtime because the
|
|
10292
|
+
new record set will be created immediately after the existing one is deleted. It
|
|
10293
|
+
also avoids "manual" actions to delete existing record sets.
|
|
10294
|
+
.. epigraph::
|
|
10295
|
+
|
|
10296
|
+
**N.B.:** this feature is dangerous, use with caution! It can only be used safely when
|
|
10297
|
+
``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing
|
|
10298
|
+
an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment
|
|
10299
|
+
will delete the record!
|
|
10300
|
+
|
|
10301
|
+
:default: false
|
|
10302
|
+
'''
|
|
10303
|
+
result = self._values.get("delete_existing")
|
|
10304
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
10305
|
+
|
|
10306
|
+
@builtins.property
|
|
10307
|
+
def geo_location(self) -> typing.Optional[GeoLocation]:
|
|
10308
|
+
'''The geographical origin for this record to return DNS records based on the user's location.'''
|
|
10309
|
+
result = self._values.get("geo_location")
|
|
10310
|
+
return typing.cast(typing.Optional[GeoLocation], result)
|
|
10311
|
+
|
|
10312
|
+
@builtins.property
|
|
10313
|
+
def multi_value_answer(self) -> typing.Optional[builtins.bool]:
|
|
10314
|
+
'''Whether to return multiple values, such as IP addresses for your web servers, in response to DNS queries.
|
|
10315
|
+
|
|
10316
|
+
:default: false
|
|
10317
|
+
'''
|
|
10318
|
+
result = self._values.get("multi_value_answer")
|
|
10319
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
10320
|
+
|
|
10321
|
+
@builtins.property
|
|
10322
|
+
def record_name(self) -> typing.Optional[builtins.str]:
|
|
10323
|
+
'''The subdomain name for this record. This should be relative to the zone root name.
|
|
10324
|
+
|
|
10325
|
+
For example, if you want to create a record for acme.example.com, specify
|
|
10326
|
+
"acme".
|
|
10327
|
+
|
|
10328
|
+
You can also specify the fully qualified domain name which terminates with a
|
|
10329
|
+
".". For example, "acme.example.com.".
|
|
10330
|
+
|
|
10331
|
+
:default: zone root
|
|
10332
|
+
'''
|
|
10333
|
+
result = self._values.get("record_name")
|
|
10334
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10335
|
+
|
|
10336
|
+
@builtins.property
|
|
10337
|
+
def region(self) -> typing.Optional[builtins.str]:
|
|
10338
|
+
'''The Amazon EC2 Region where you created the resource that this resource record set refers to.
|
|
10339
|
+
|
|
10340
|
+
The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer,
|
|
10341
|
+
and is referred to by an IP address or a DNS domain name, depending on the record type.
|
|
10342
|
+
|
|
10343
|
+
When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets,
|
|
10344
|
+
Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region.
|
|
10345
|
+
Route 53 then returns the value that is associated with the selected resource record set.
|
|
10346
|
+
|
|
10347
|
+
:default: - Do not set latency based routing
|
|
10348
|
+
|
|
10349
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-region
|
|
10350
|
+
'''
|
|
10351
|
+
result = self._values.get("region")
|
|
10352
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10353
|
+
|
|
10354
|
+
@builtins.property
|
|
10355
|
+
def set_identifier(self) -> typing.Optional[builtins.str]:
|
|
10356
|
+
'''A string used to distinguish between different records with the same combination of DNS name and type.
|
|
10357
|
+
|
|
10358
|
+
It can only be set when either weight or geoLocation is defined.
|
|
10359
|
+
|
|
10360
|
+
This parameter must be between 1 and 128 characters in length.
|
|
10361
|
+
|
|
10362
|
+
:default: - Auto generated string
|
|
10363
|
+
'''
|
|
10364
|
+
result = self._values.get("set_identifier")
|
|
10365
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10366
|
+
|
|
10367
|
+
@builtins.property
|
|
10368
|
+
def ttl(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
10369
|
+
'''The resource record cache time to live (TTL).
|
|
10370
|
+
|
|
10371
|
+
:default: Duration.minutes(30)
|
|
10372
|
+
'''
|
|
10373
|
+
result = self._values.get("ttl")
|
|
10374
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
10375
|
+
|
|
10376
|
+
@builtins.property
|
|
10377
|
+
def weight(self) -> typing.Optional[jsii.Number]:
|
|
10378
|
+
'''Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set.
|
|
10379
|
+
|
|
10380
|
+
Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type.
|
|
10381
|
+
Route 53 then responds to queries based on the ratio of a resource's weight to the total.
|
|
10382
|
+
|
|
10383
|
+
This value can be a number between 0 and 255.
|
|
10384
|
+
|
|
10385
|
+
:default: - Do not set weighted routing
|
|
10386
|
+
|
|
10387
|
+
:see: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-weighted.html
|
|
10388
|
+
'''
|
|
10389
|
+
result = self._values.get("weight")
|
|
10390
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
10391
|
+
|
|
10392
|
+
@builtins.property
|
|
10393
|
+
def target_dns(self) -> builtins.str:
|
|
10394
|
+
'''Existing A record DNS name to set RecordTarget.'''
|
|
10395
|
+
result = self._values.get("target_dns")
|
|
10396
|
+
assert result is not None, "Required property 'target_dns' is missing"
|
|
10397
|
+
return typing.cast(builtins.str, result)
|
|
10398
|
+
|
|
10399
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
10400
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
10401
|
+
|
|
10402
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
10403
|
+
return not (rhs == self)
|
|
10404
|
+
|
|
10405
|
+
def __repr__(self) -> str:
|
|
10406
|
+
return "ARecordAttrs(%s)" % ", ".join(
|
|
10407
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
10408
|
+
)
|
|
10409
|
+
|
|
10097
10410
|
|
|
10098
10411
|
@jsii.data_type(
|
|
10099
10412
|
jsii_type="aws-cdk-lib.aws_route53.ARecordProps",
|
|
@@ -13137,6 +13450,7 @@ class CaaAmazonRecord(
|
|
|
13137
13450
|
|
|
13138
13451
|
__all__ = [
|
|
13139
13452
|
"ARecord",
|
|
13453
|
+
"ARecordAttrs",
|
|
13140
13454
|
"ARecordProps",
|
|
13141
13455
|
"AaaaRecord",
|
|
13142
13456
|
"AaaaRecordProps",
|
|
@@ -14316,6 +14630,42 @@ def _typecheckingstub__ca2e60ba6b2baeeff2cc875c86af94b4b26d6f11c1cfcca09280ac533
|
|
|
14316
14630
|
"""Type checking stubs"""
|
|
14317
14631
|
pass
|
|
14318
14632
|
|
|
14633
|
+
def _typecheckingstub__c76ad72e64542d58d5e33c28ccaca560dac09b21c920d094b7a0c2386fe42886(
|
|
14634
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14635
|
+
id: builtins.str,
|
|
14636
|
+
*,
|
|
14637
|
+
target_dns: builtins.str,
|
|
14638
|
+
zone: IHostedZone,
|
|
14639
|
+
comment: typing.Optional[builtins.str] = None,
|
|
14640
|
+
delete_existing: typing.Optional[builtins.bool] = None,
|
|
14641
|
+
geo_location: typing.Optional[GeoLocation] = None,
|
|
14642
|
+
multi_value_answer: typing.Optional[builtins.bool] = None,
|
|
14643
|
+
record_name: typing.Optional[builtins.str] = None,
|
|
14644
|
+
region: typing.Optional[builtins.str] = None,
|
|
14645
|
+
set_identifier: typing.Optional[builtins.str] = None,
|
|
14646
|
+
ttl: typing.Optional[_Duration_4839e8c3] = None,
|
|
14647
|
+
weight: typing.Optional[jsii.Number] = None,
|
|
14648
|
+
) -> None:
|
|
14649
|
+
"""Type checking stubs"""
|
|
14650
|
+
pass
|
|
14651
|
+
|
|
14652
|
+
def _typecheckingstub__514d7eccc21be019febe80e121fd7d979162668b63cb99051c629ef087f5fe9a(
|
|
14653
|
+
*,
|
|
14654
|
+
zone: IHostedZone,
|
|
14655
|
+
comment: typing.Optional[builtins.str] = None,
|
|
14656
|
+
delete_existing: typing.Optional[builtins.bool] = None,
|
|
14657
|
+
geo_location: typing.Optional[GeoLocation] = None,
|
|
14658
|
+
multi_value_answer: typing.Optional[builtins.bool] = None,
|
|
14659
|
+
record_name: typing.Optional[builtins.str] = None,
|
|
14660
|
+
region: typing.Optional[builtins.str] = None,
|
|
14661
|
+
set_identifier: typing.Optional[builtins.str] = None,
|
|
14662
|
+
ttl: typing.Optional[_Duration_4839e8c3] = None,
|
|
14663
|
+
weight: typing.Optional[jsii.Number] = None,
|
|
14664
|
+
target_dns: builtins.str,
|
|
14665
|
+
) -> None:
|
|
14666
|
+
"""Type checking stubs"""
|
|
14667
|
+
pass
|
|
14668
|
+
|
|
14319
14669
|
def _typecheckingstub__a73a5c86411a0d853fcfad820ed58f5a5c19df65a7b2756560958db5cbe36569(
|
|
14320
14670
|
*,
|
|
14321
14671
|
zone: IHostedZone,
|