aws-cdk-lib 2.193.0__py3-none-any.whl → 2.195.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 +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.193.0.jsii.tgz → aws-cdk-lib@2.195.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +63 -2
- aws_cdk/aws_aps/__init__.py +34 -22
- aws_cdk/aws_autoscaling/__init__.py +8 -0
- aws_cdk/aws_batch/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +587 -8
- aws_cdk/aws_ce/__init__.py +34 -22
- aws_cdk/aws_cloudfront/__init__.py +6090 -3972
- aws_cdk/aws_codebuild/__init__.py +19 -10
- aws_cdk/aws_codepipeline/__init__.py +108 -0
- aws_cdk/aws_cognito/__init__.py +132 -6
- aws_cdk/aws_datazone/__init__.py +370 -0
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dsql/__init__.py +9 -0
- aws_cdk/aws_dynamodb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +138 -11
- aws_cdk/aws_ecr/__init__.py +419 -0
- aws_cdk/aws_ecs/__init__.py +22 -25
- aws_cdk/aws_entityresolution/__init__.py +7 -2
- aws_cdk/aws_events/__init__.py +41 -8
- aws_cdk/aws_fsx/__init__.py +2 -3
- aws_cdk/aws_imagebuilder/__init__.py +160 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -2
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -2
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediapackagev2/__init__.py +50 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_memorydb/__init__.py +21 -11
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_omics/__init__.py +5 -5
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +87 -8
- aws_cdk/aws_redshiftserverless/__init__.py +20 -0
- aws_cdk/aws_route53/__init__.py +18 -14
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +41 -0
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +255 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_vpclattice/__init__.py +6 -2
- aws_cdk/aws_wisdom/__init__.py +25 -6
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/RECORD +54 -53
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -4110,7 +4110,12 @@ class AuroraPostgresEngineVersion(
|
|
|
4110
4110
|
@jsii.python.classproperty
|
|
4111
4111
|
@jsii.member(jsii_name="VER_16_5")
|
|
4112
4112
|
def VER_16_5(cls) -> "AuroraPostgresEngineVersion":
|
|
4113
|
-
'''Version "16.5".
|
|
4113
|
+
'''(deprecated) Version "16.5".
|
|
4114
|
+
|
|
4115
|
+
:deprecated: Version 16.5 is no longer supported by Amazon RDS.
|
|
4116
|
+
|
|
4117
|
+
:stability: deprecated
|
|
4118
|
+
'''
|
|
4114
4119
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_5"))
|
|
4115
4120
|
|
|
4116
4121
|
@jsii.python.classproperty
|
|
@@ -4134,15 +4139,31 @@ class AuroraPostgresEngineVersion(
|
|
|
4134
4139
|
@jsii.python.classproperty
|
|
4135
4140
|
@jsii.member(jsii_name="VER_17_1")
|
|
4136
4141
|
def VER_17_1(cls) -> "AuroraPostgresEngineVersion":
|
|
4137
|
-
'''Version "17.1".
|
|
4142
|
+
'''(deprecated) Version "17.1".
|
|
4143
|
+
|
|
4144
|
+
:deprecated: Version 17.1 is no longer supported by Amazon RDS.
|
|
4145
|
+
|
|
4146
|
+
:stability: deprecated
|
|
4147
|
+
'''
|
|
4138
4148
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_17_1"))
|
|
4139
4149
|
|
|
4140
4150
|
@jsii.python.classproperty
|
|
4141
4151
|
@jsii.member(jsii_name="VER_17_2")
|
|
4142
4152
|
def VER_17_2(cls) -> "AuroraPostgresEngineVersion":
|
|
4143
|
-
'''Version "17.2".
|
|
4153
|
+
'''(deprecated) Version "17.2".
|
|
4154
|
+
|
|
4155
|
+
:deprecated: Version 17.2 is no longer supported by Amazon RDS.
|
|
4156
|
+
|
|
4157
|
+
:stability: deprecated
|
|
4158
|
+
'''
|
|
4144
4159
|
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_17_2"))
|
|
4145
4160
|
|
|
4161
|
+
@jsii.python.classproperty
|
|
4162
|
+
@jsii.member(jsii_name="VER_17_4")
|
|
4163
|
+
def VER_17_4(cls) -> "AuroraPostgresEngineVersion":
|
|
4164
|
+
'''Version "17.4".'''
|
|
4165
|
+
return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_17_4"))
|
|
4166
|
+
|
|
4146
4167
|
@jsii.python.classproperty
|
|
4147
4168
|
@jsii.member(jsii_name="VER_9_6_11")
|
|
4148
4169
|
def VER_9_6_11(cls) -> "AuroraPostgresEngineVersion":
|
|
@@ -5242,7 +5263,7 @@ class CfnDBCluster(
|
|
|
5242
5263
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5243
5264
|
:param allocated_storage: The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. Valid for Cluster Type: Multi-AZ DB clusters only This setting is required to create a Multi-AZ DB cluster.
|
|
5244
5265
|
:param associated_roles: Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
5245
|
-
:param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster
|
|
5266
|
+
:param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster. For more information about automatic minor version upgrades, see `Automatically upgrading the minor engine version <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades>`_ .
|
|
5246
5267
|
:param availability_zones: A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see `Choosing the Regions and Availability Zones <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters only
|
|
5247
5268
|
:param backtrack_window: The target backtrack window, in seconds. To disable backtracking, set this value to ``0`` . Valid for Cluster Type: Aurora MySQL DB clusters only Default: ``0`` Constraints: - If specified, this value must be set to a number from 0 to 259,200 (72 hours).
|
|
5248
5269
|
:param backup_retention_period: The number of days for which automated backups are retained. Default: 1 Constraints: - Must be a value from 1 to 35 Valid for: Aurora DB clusters and Multi-AZ DB clusters Default: - 1
|
|
@@ -7436,7 +7457,7 @@ class CfnDBClusterProps:
|
|
|
7436
7457
|
|
|
7437
7458
|
:param allocated_storage: The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. Valid for Cluster Type: Multi-AZ DB clusters only This setting is required to create a Multi-AZ DB cluster.
|
|
7438
7459
|
:param associated_roles: Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
7439
|
-
:param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster
|
|
7460
|
+
:param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster. For more information about automatic minor version upgrades, see `Automatically upgrading the minor engine version <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades>`_ .
|
|
7440
7461
|
:param availability_zones: A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see `Choosing the Regions and Availability Zones <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters only
|
|
7441
7462
|
:param backtrack_window: The target backtrack window, in seconds. To disable backtracking, set this value to ``0`` . Valid for Cluster Type: Aurora MySQL DB clusters only Default: ``0`` Constraints: - If specified, this value must be set to a number from 0 to 259,200 (72 hours).
|
|
7442
7463
|
:param backup_retention_period: The number of days for which automated backups are retained. Default: 1 Constraints: - Must be a value from 1 to 35 Valid for: Aurora DB clusters and Multi-AZ DB clusters Default: - 1
|
|
@@ -7799,7 +7820,9 @@ class CfnDBClusterProps:
|
|
|
7799
7820
|
|
|
7800
7821
|
By default, minor engine upgrades are applied automatically.
|
|
7801
7822
|
|
|
7802
|
-
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster
|
|
7823
|
+
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster.
|
|
7824
|
+
|
|
7825
|
+
For more information about automatic minor version upgrades, see `Automatically upgrading the minor engine version <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades>`_ .
|
|
7803
7826
|
|
|
7804
7827
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-autominorversionupgrade
|
|
7805
7828
|
'''
|
|
@@ -8878,6 +8901,7 @@ class CfnDBInstance(
|
|
|
8878
8901
|
character_set_name="characterSetName",
|
|
8879
8902
|
copy_tags_to_snapshot=False,
|
|
8880
8903
|
custom_iam_instance_profile="customIamInstanceProfile",
|
|
8904
|
+
database_insights_mode="databaseInsightsMode",
|
|
8881
8905
|
db_cluster_identifier="dbClusterIdentifier",
|
|
8882
8906
|
db_cluster_snapshot_identifier="dbClusterSnapshotIdentifier",
|
|
8883
8907
|
db_instance_class="dbInstanceClass",
|
|
@@ -8974,6 +8998,7 @@ class CfnDBInstance(
|
|
|
8974
8998
|
character_set_name: typing.Optional[builtins.str] = None,
|
|
8975
8999
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8976
9000
|
custom_iam_instance_profile: typing.Optional[builtins.str] = None,
|
|
9001
|
+
database_insights_mode: typing.Optional[builtins.str] = None,
|
|
8977
9002
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
8978
9003
|
db_cluster_snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
8979
9004
|
db_instance_class: typing.Optional[builtins.str] = None,
|
|
@@ -9057,6 +9082,7 @@ class CfnDBInstance(
|
|
|
9057
9082
|
:param character_set_name: For supported engines, indicates that the DB instance should be associated with the specified character set. *Amazon Aurora* Not applicable. The character set is managed by the DB cluster. For more information, see `AWS::RDS::DBCluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html>`_ .
|
|
9058
9083
|
:param copy_tags_to_snapshot: Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
|
|
9059
9084
|
:param custom_iam_instance_profile: The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. This setting is required for RDS Custom. Constraints: - The profile must exist in your account. - The profile must have an IAM role that Amazon EC2 has permissions to assume. - The instance profile name and the associated IAM role name must start with the prefix ``AWSRDSCustom`` . For the list of permissions required for the IAM role, see `Configure IAM and your VPC <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc>`_ in the *Amazon RDS User Guide* .
|
|
9085
|
+
:param database_insights_mode: The mode of Database Insights to enable for the DB instance. .. epigraph:: Aurora DB instances inherit this value from the DB cluster, so you can't change this value.
|
|
9060
9086
|
:param db_cluster_identifier: The identifier of the DB cluster that this DB instance will belong to. This setting doesn't apply to RDS Custom DB instances.
|
|
9061
9087
|
:param db_cluster_snapshot_identifier: The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see `Multi-AZ DB cluster deployments <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html>`_ in the *Amazon RDS User Guide* . Constraints: - Must match the identifier of an existing Multi-AZ DB cluster snapshot. - Can't be specified when ``DBSnapshotIdentifier`` is specified. - Must be specified when ``DBSnapshotIdentifier`` isn't specified. - If you are restoring from a shared manual Multi-AZ DB cluster snapshot, the ``DBClusterSnapshotIdentifier`` must be the ARN of the shared snapshot. - Can't be the identifier of an Aurora DB cluster snapshot.
|
|
9062
9088
|
:param db_instance_class: The compute and memory capacity of the DB instance, for example ``db.m5.large`` . Not all DB instance classes are available in all AWS Regions , or for all database engines. For the full list of DB instance classes, and availability for your engine, see `DB instance classes <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html>`_ in the *Amazon RDS User Guide* or `Aurora DB instance classes <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html>`_ in the *Amazon Aurora User Guide* .
|
|
@@ -9142,6 +9168,7 @@ class CfnDBInstance(
|
|
|
9142
9168
|
character_set_name=character_set_name,
|
|
9143
9169
|
copy_tags_to_snapshot=copy_tags_to_snapshot,
|
|
9144
9170
|
custom_iam_instance_profile=custom_iam_instance_profile,
|
|
9171
|
+
database_insights_mode=database_insights_mode,
|
|
9145
9172
|
db_cluster_identifier=db_cluster_identifier,
|
|
9146
9173
|
db_cluster_snapshot_identifier=db_cluster_snapshot_identifier,
|
|
9147
9174
|
db_instance_class=db_instance_class,
|
|
@@ -9272,8 +9299,7 @@ class CfnDBInstance(
|
|
|
9272
9299
|
@builtins.property
|
|
9273
9300
|
@jsii.member(jsii_name="attrDatabaseInsightsMode")
|
|
9274
9301
|
def attr_database_insights_mode(self) -> builtins.str:
|
|
9275
|
-
'''
|
|
9276
|
-
|
|
9302
|
+
'''
|
|
9277
9303
|
:cloudformationAttribute: DatabaseInsightsMode
|
|
9278
9304
|
'''
|
|
9279
9305
|
return typing.cast(builtins.str, jsii.get(self, "attrDatabaseInsightsMode"))
|
|
@@ -9617,6 +9643,19 @@ class CfnDBInstance(
|
|
|
9617
9643
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9618
9644
|
jsii.set(self, "customIamInstanceProfile", value) # pyright: ignore[reportArgumentType]
|
|
9619
9645
|
|
|
9646
|
+
@builtins.property
|
|
9647
|
+
@jsii.member(jsii_name="databaseInsightsMode")
|
|
9648
|
+
def database_insights_mode(self) -> typing.Optional[builtins.str]:
|
|
9649
|
+
'''The mode of Database Insights to enable for the DB instance.'''
|
|
9650
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "databaseInsightsMode"))
|
|
9651
|
+
|
|
9652
|
+
@database_insights_mode.setter
|
|
9653
|
+
def database_insights_mode(self, value: typing.Optional[builtins.str]) -> None:
|
|
9654
|
+
if __debug__:
|
|
9655
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b46fcfbcf52de4fba0e79ef45cfd1f9b086be851a81f128b407d6e590bcc50de)
|
|
9656
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9657
|
+
jsii.set(self, "databaseInsightsMode", value) # pyright: ignore[reportArgumentType]
|
|
9658
|
+
|
|
9620
9659
|
@builtins.property
|
|
9621
9660
|
@jsii.member(jsii_name="dbClusterIdentifier")
|
|
9622
9661
|
def db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
@@ -10968,6 +11007,7 @@ class CfnDBInstance(
|
|
|
10968
11007
|
"character_set_name": "characterSetName",
|
|
10969
11008
|
"copy_tags_to_snapshot": "copyTagsToSnapshot",
|
|
10970
11009
|
"custom_iam_instance_profile": "customIamInstanceProfile",
|
|
11010
|
+
"database_insights_mode": "databaseInsightsMode",
|
|
10971
11011
|
"db_cluster_identifier": "dbClusterIdentifier",
|
|
10972
11012
|
"db_cluster_snapshot_identifier": "dbClusterSnapshotIdentifier",
|
|
10973
11013
|
"db_instance_class": "dbInstanceClass",
|
|
@@ -11053,6 +11093,7 @@ class CfnDBInstanceProps:
|
|
|
11053
11093
|
character_set_name: typing.Optional[builtins.str] = None,
|
|
11054
11094
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11055
11095
|
custom_iam_instance_profile: typing.Optional[builtins.str] = None,
|
|
11096
|
+
database_insights_mode: typing.Optional[builtins.str] = None,
|
|
11056
11097
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
11057
11098
|
db_cluster_snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
11058
11099
|
db_instance_class: typing.Optional[builtins.str] = None,
|
|
@@ -11135,6 +11176,7 @@ class CfnDBInstanceProps:
|
|
|
11135
11176
|
:param character_set_name: For supported engines, indicates that the DB instance should be associated with the specified character set. *Amazon Aurora* Not applicable. The character set is managed by the DB cluster. For more information, see `AWS::RDS::DBCluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html>`_ .
|
|
11136
11177
|
:param copy_tags_to_snapshot: Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
|
|
11137
11178
|
:param custom_iam_instance_profile: The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. This setting is required for RDS Custom. Constraints: - The profile must exist in your account. - The profile must have an IAM role that Amazon EC2 has permissions to assume. - The instance profile name and the associated IAM role name must start with the prefix ``AWSRDSCustom`` . For the list of permissions required for the IAM role, see `Configure IAM and your VPC <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc>`_ in the *Amazon RDS User Guide* .
|
|
11179
|
+
:param database_insights_mode: The mode of Database Insights to enable for the DB instance. .. epigraph:: Aurora DB instances inherit this value from the DB cluster, so you can't change this value.
|
|
11138
11180
|
:param db_cluster_identifier: The identifier of the DB cluster that this DB instance will belong to. This setting doesn't apply to RDS Custom DB instances.
|
|
11139
11181
|
:param db_cluster_snapshot_identifier: The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see `Multi-AZ DB cluster deployments <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html>`_ in the *Amazon RDS User Guide* . Constraints: - Must match the identifier of an existing Multi-AZ DB cluster snapshot. - Can't be specified when ``DBSnapshotIdentifier`` is specified. - Must be specified when ``DBSnapshotIdentifier`` isn't specified. - If you are restoring from a shared manual Multi-AZ DB cluster snapshot, the ``DBClusterSnapshotIdentifier`` must be the ARN of the shared snapshot. - Can't be the identifier of an Aurora DB cluster snapshot.
|
|
11140
11182
|
:param db_instance_class: The compute and memory capacity of the DB instance, for example ``db.m5.large`` . Not all DB instance classes are available in all AWS Regions , or for all database engines. For the full list of DB instance classes, and availability for your engine, see `DB instance classes <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html>`_ in the *Amazon RDS User Guide* or `Aurora DB instance classes <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html>`_ in the *Amazon Aurora User Guide* .
|
|
@@ -11228,6 +11270,7 @@ class CfnDBInstanceProps:
|
|
|
11228
11270
|
character_set_name="characterSetName",
|
|
11229
11271
|
copy_tags_to_snapshot=False,
|
|
11230
11272
|
custom_iam_instance_profile="customIamInstanceProfile",
|
|
11273
|
+
database_insights_mode="databaseInsightsMode",
|
|
11231
11274
|
db_cluster_identifier="dbClusterIdentifier",
|
|
11232
11275
|
db_cluster_snapshot_identifier="dbClusterSnapshotIdentifier",
|
|
11233
11276
|
db_instance_class="dbInstanceClass",
|
|
@@ -11320,6 +11363,7 @@ class CfnDBInstanceProps:
|
|
|
11320
11363
|
check_type(argname="argument character_set_name", value=character_set_name, expected_type=type_hints["character_set_name"])
|
|
11321
11364
|
check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
|
|
11322
11365
|
check_type(argname="argument custom_iam_instance_profile", value=custom_iam_instance_profile, expected_type=type_hints["custom_iam_instance_profile"])
|
|
11366
|
+
check_type(argname="argument database_insights_mode", value=database_insights_mode, expected_type=type_hints["database_insights_mode"])
|
|
11323
11367
|
check_type(argname="argument db_cluster_identifier", value=db_cluster_identifier, expected_type=type_hints["db_cluster_identifier"])
|
|
11324
11368
|
check_type(argname="argument db_cluster_snapshot_identifier", value=db_cluster_snapshot_identifier, expected_type=type_hints["db_cluster_snapshot_identifier"])
|
|
11325
11369
|
check_type(argname="argument db_instance_class", value=db_instance_class, expected_type=type_hints["db_instance_class"])
|
|
@@ -11415,6 +11459,8 @@ class CfnDBInstanceProps:
|
|
|
11415
11459
|
self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
|
|
11416
11460
|
if custom_iam_instance_profile is not None:
|
|
11417
11461
|
self._values["custom_iam_instance_profile"] = custom_iam_instance_profile
|
|
11462
|
+
if database_insights_mode is not None:
|
|
11463
|
+
self._values["database_insights_mode"] = database_insights_mode
|
|
11418
11464
|
if db_cluster_identifier is not None:
|
|
11419
11465
|
self._values["db_cluster_identifier"] = db_cluster_identifier
|
|
11420
11466
|
if db_cluster_snapshot_identifier is not None:
|
|
@@ -11834,6 +11880,19 @@ class CfnDBInstanceProps:
|
|
|
11834
11880
|
result = self._values.get("custom_iam_instance_profile")
|
|
11835
11881
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
11836
11882
|
|
|
11883
|
+
@builtins.property
|
|
11884
|
+
def database_insights_mode(self) -> typing.Optional[builtins.str]:
|
|
11885
|
+
'''The mode of Database Insights to enable for the DB instance.
|
|
11886
|
+
|
|
11887
|
+
.. epigraph::
|
|
11888
|
+
|
|
11889
|
+
Aurora DB instances inherit this value from the DB cluster, so you can't change this value.
|
|
11890
|
+
|
|
11891
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-databaseinsightsmode
|
|
11892
|
+
'''
|
|
11893
|
+
result = self._values.get("database_insights_mode")
|
|
11894
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11895
|
+
|
|
11837
11896
|
@builtins.property
|
|
11838
11897
|
def db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
11839
11898
|
'''The identifier of the DB cluster that this DB instance will belong to.
|
|
@@ -32926,6 +32985,12 @@ class MysqlEngineVersion(
|
|
|
32926
32985
|
'''Version "8.0.41".'''
|
|
32927
32986
|
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_41"))
|
|
32928
32987
|
|
|
32988
|
+
@jsii.python.classproperty
|
|
32989
|
+
@jsii.member(jsii_name="VER_8_0_42")
|
|
32990
|
+
def VER_8_0_42(cls) -> "MysqlEngineVersion":
|
|
32991
|
+
'''Version "8.0.42".'''
|
|
32992
|
+
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_42"))
|
|
32993
|
+
|
|
32929
32994
|
@jsii.python.classproperty
|
|
32930
32995
|
@jsii.member(jsii_name="VER_8_4_3")
|
|
32931
32996
|
def VER_8_4_3(cls) -> "MysqlEngineVersion":
|
|
@@ -32938,6 +33003,12 @@ class MysqlEngineVersion(
|
|
|
32938
33003
|
'''Version "8.4.4".'''
|
|
32939
33004
|
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_4_4"))
|
|
32940
33005
|
|
|
33006
|
+
@jsii.python.classproperty
|
|
33007
|
+
@jsii.member(jsii_name="VER_8_4_5")
|
|
33008
|
+
def VER_8_4_5(cls) -> "MysqlEngineVersion":
|
|
33009
|
+
'''Version "8.4.5".'''
|
|
33010
|
+
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_4_5"))
|
|
33011
|
+
|
|
32941
33012
|
@builtins.property
|
|
32942
33013
|
@jsii.member(jsii_name="mysqlFullVersion")
|
|
32943
33014
|
def mysql_full_version(self) -> builtins.str:
|
|
@@ -48424,6 +48495,7 @@ def _typecheckingstub__255b0779ca741853674876540bf77279f6293bea05de2cd18724d2b92
|
|
|
48424
48495
|
character_set_name: typing.Optional[builtins.str] = None,
|
|
48425
48496
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
48426
48497
|
custom_iam_instance_profile: typing.Optional[builtins.str] = None,
|
|
48498
|
+
database_insights_mode: typing.Optional[builtins.str] = None,
|
|
48427
48499
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
48428
48500
|
db_cluster_snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
48429
48501
|
db_instance_class: typing.Optional[builtins.str] = None,
|
|
@@ -48594,6 +48666,12 @@ def _typecheckingstub__226e820a1b504a7c3743da9e7c7340401e28197ad7bd4b0cb3f5526c4
|
|
|
48594
48666
|
"""Type checking stubs"""
|
|
48595
48667
|
pass
|
|
48596
48668
|
|
|
48669
|
+
def _typecheckingstub__b46fcfbcf52de4fba0e79ef45cfd1f9b086be851a81f128b407d6e590bcc50de(
|
|
48670
|
+
value: typing.Optional[builtins.str],
|
|
48671
|
+
) -> None:
|
|
48672
|
+
"""Type checking stubs"""
|
|
48673
|
+
pass
|
|
48674
|
+
|
|
48597
48675
|
def _typecheckingstub__47e201d1e2bcfacba9b2fdb9245c97a0850bff8695fda8e45cb8e1df70fbde73(
|
|
48598
48676
|
value: typing.Optional[builtins.str],
|
|
48599
48677
|
) -> None:
|
|
@@ -49036,6 +49114,7 @@ def _typecheckingstub__3bddb1be0bd1f1699e3a084c5859d94d8879ff15011f2f2eaac29ec16
|
|
|
49036
49114
|
character_set_name: typing.Optional[builtins.str] = None,
|
|
49037
49115
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49038
49116
|
custom_iam_instance_profile: typing.Optional[builtins.str] = None,
|
|
49117
|
+
database_insights_mode: typing.Optional[builtins.str] = None,
|
|
49039
49118
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
49040
49119
|
db_cluster_snapshot_identifier: typing.Optional[builtins.str] = None,
|
|
49041
49120
|
db_instance_class: typing.Optional[builtins.str] = None,
|
|
@@ -1434,6 +1434,15 @@ class CfnWorkgroup(
|
|
|
1434
1434
|
'''
|
|
1435
1435
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrWorkgroup"))
|
|
1436
1436
|
|
|
1437
|
+
@builtins.property
|
|
1438
|
+
@jsii.member(jsii_name="attrWorkgroupBaseCapacity")
|
|
1439
|
+
def attr_workgroup_base_capacity(self) -> jsii.Number:
|
|
1440
|
+
'''The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
|
|
1441
|
+
|
|
1442
|
+
:cloudformationAttribute: Workgroup.BaseCapacity
|
|
1443
|
+
'''
|
|
1444
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrWorkgroupBaseCapacity"))
|
|
1445
|
+
|
|
1437
1446
|
@builtins.property
|
|
1438
1447
|
@jsii.member(jsii_name="attrWorkgroupConfigParameters")
|
|
1439
1448
|
def attr_workgroup_config_parameters(self) -> _IResolvable_da3f097b:
|
|
@@ -1496,6 +1505,17 @@ class CfnWorkgroup(
|
|
|
1496
1505
|
'''
|
|
1497
1506
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrWorkgroupEnhancedVpcRouting"))
|
|
1498
1507
|
|
|
1508
|
+
@builtins.property
|
|
1509
|
+
@jsii.member(jsii_name="attrWorkgroupMaxCapacity")
|
|
1510
|
+
def attr_workgroup_max_capacity(self) -> jsii.Number:
|
|
1511
|
+
'''The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
|
|
1512
|
+
|
|
1513
|
+
The max capacity is specified in RPUs.
|
|
1514
|
+
|
|
1515
|
+
:cloudformationAttribute: Workgroup.MaxCapacity
|
|
1516
|
+
'''
|
|
1517
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrWorkgroupMaxCapacity"))
|
|
1518
|
+
|
|
1499
1519
|
@builtins.property
|
|
1500
1520
|
@jsii.member(jsii_name="attrWorkgroupNamespaceName")
|
|
1501
1521
|
def attr_workgroup_namespace_name(self) -> builtins.str:
|
aws_cdk/aws_route53/__init__.py
CHANGED
|
@@ -9154,14 +9154,18 @@ class RecordTarget(
|
|
|
9154
9154
|
|
|
9155
9155
|
Example::
|
|
9156
9156
|
|
|
9157
|
-
|
|
9157
|
+
from aws_cdk.region_info import RegionInfo
|
|
9158
9158
|
|
|
9159
|
-
#
|
|
9160
|
-
#
|
|
9159
|
+
# zone: route53.HostedZone
|
|
9160
|
+
# ebs_environment_url: str
|
|
9161
9161
|
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9162
|
+
|
|
9163
|
+
route53.ARecord(self, "AliasRecord",
|
|
9164
|
+
zone=zone,
|
|
9165
|
+
target=route53.RecordTarget.from_alias(
|
|
9166
|
+
targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
|
|
9167
|
+
"hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
|
|
9168
|
+
}))
|
|
9165
9169
|
)
|
|
9166
9170
|
'''
|
|
9167
9171
|
|
|
@@ -10821,17 +10825,17 @@ class ARecord(
|
|
|
10821
10825
|
|
|
10822
10826
|
Example::
|
|
10823
10827
|
|
|
10824
|
-
|
|
10828
|
+
from aws_cdk.region_info import RegionInfo
|
|
10825
10829
|
|
|
10826
10830
|
# zone: route53.HostedZone
|
|
10827
|
-
#
|
|
10831
|
+
# ebs_environment_url: str
|
|
10828
10832
|
|
|
10829
10833
|
|
|
10830
10834
|
route53.ARecord(self, "AliasRecord",
|
|
10831
10835
|
zone=zone,
|
|
10832
10836
|
target=route53.RecordTarget.from_alias(
|
|
10833
|
-
targets.
|
|
10834
|
-
"
|
|
10837
|
+
targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
|
|
10838
|
+
"hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
|
|
10835
10839
|
}))
|
|
10836
10840
|
)
|
|
10837
10841
|
'''
|
|
@@ -11265,17 +11269,17 @@ class ARecordProps(RecordSetOptions):
|
|
|
11265
11269
|
|
|
11266
11270
|
Example::
|
|
11267
11271
|
|
|
11268
|
-
|
|
11272
|
+
from aws_cdk.region_info import RegionInfo
|
|
11269
11273
|
|
|
11270
11274
|
# zone: route53.HostedZone
|
|
11271
|
-
#
|
|
11275
|
+
# ebs_environment_url: str
|
|
11272
11276
|
|
|
11273
11277
|
|
|
11274
11278
|
route53.ARecord(self, "AliasRecord",
|
|
11275
11279
|
zone=zone,
|
|
11276
11280
|
target=route53.RecordTarget.from_alias(
|
|
11277
|
-
targets.
|
|
11278
|
-
"
|
|
11281
|
+
targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
|
|
11282
|
+
"hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
|
|
11279
11283
|
}))
|
|
11280
11284
|
)
|
|
11281
11285
|
'''
|
|
@@ -225,6 +225,47 @@ route53.ARecord(self, "AliasRecord",
|
|
|
225
225
|
)
|
|
226
226
|
```
|
|
227
227
|
|
|
228
|
+
If Elastic Beanstalk environment URL is not avaiable at synth time, you can specify Hosted Zone ID of the target
|
|
229
|
+
|
|
230
|
+
```python
|
|
231
|
+
from aws_cdk.region_info import RegionInfo
|
|
232
|
+
|
|
233
|
+
# zone: route53.HostedZone
|
|
234
|
+
# ebs_environment_url: str
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
route53.ARecord(self, "AliasRecord",
|
|
238
|
+
zone=zone,
|
|
239
|
+
target=route53.RecordTarget.from_alias(
|
|
240
|
+
targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
|
|
241
|
+
"hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
|
|
242
|
+
}))
|
|
243
|
+
)
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
Or you can specify Stack region for CDK to generate the correct Hosted Zone ID.
|
|
247
|
+
|
|
248
|
+
```python
|
|
249
|
+
from aws_cdk import App
|
|
250
|
+
|
|
251
|
+
# app: App
|
|
252
|
+
# zone: route53.HostedZone
|
|
253
|
+
# ebs_environment_url: str
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
stack = Stack(app, "my-stack",
|
|
257
|
+
env=Environment(
|
|
258
|
+
region="us-east-1"
|
|
259
|
+
)
|
|
260
|
+
)
|
|
261
|
+
|
|
262
|
+
route53.ARecord(stack, "AliasRecord",
|
|
263
|
+
zone=zone,
|
|
264
|
+
target=route53.RecordTarget.from_alias(
|
|
265
|
+
targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url))
|
|
266
|
+
)
|
|
267
|
+
```
|
|
268
|
+
|
|
228
269
|
See the documentation of `aws-cdk-lib/aws-route53` for more information.
|
|
229
270
|
'''
|
|
230
271
|
from pkgutil import extend_path
|
|
@@ -652,6 +693,8 @@ class ElasticBeanstalkEnvironmentEndpointTarget(
|
|
|
652
693
|
|
|
653
694
|
Example::
|
|
654
695
|
|
|
696
|
+
from aws_cdk.region_info import RegionInfo
|
|
697
|
+
|
|
655
698
|
# zone: route53.HostedZone
|
|
656
699
|
# ebs_environment_url: str
|
|
657
700
|
|
|
@@ -660,7 +703,7 @@ class ElasticBeanstalkEnvironmentEndpointTarget(
|
|
|
660
703
|
zone=zone,
|
|
661
704
|
target=route53.RecordTarget.from_alias(
|
|
662
705
|
targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
|
|
663
|
-
"
|
|
706
|
+
"hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
|
|
664
707
|
}))
|
|
665
708
|
)
|
|
666
709
|
'''
|
|
@@ -818,6 +861,15 @@ class IAliasRecordTargetProps(typing_extensions.Protocol):
|
|
|
818
861
|
'''
|
|
819
862
|
...
|
|
820
863
|
|
|
864
|
+
@builtins.property
|
|
865
|
+
@jsii.member(jsii_name="hostedZoneId")
|
|
866
|
+
def hosted_zone_id(self) -> typing.Optional[builtins.str]:
|
|
867
|
+
'''Target Hosted zone ID.
|
|
868
|
+
|
|
869
|
+
:default: - hosted zone ID for the EBS endpoint will be retrieved based on the stack's region.
|
|
870
|
+
'''
|
|
871
|
+
...
|
|
872
|
+
|
|
821
873
|
|
|
822
874
|
class _IAliasRecordTargetPropsProxy:
|
|
823
875
|
'''Properties the alias record target.'''
|
|
@@ -833,6 +885,15 @@ class _IAliasRecordTargetPropsProxy:
|
|
|
833
885
|
'''
|
|
834
886
|
return typing.cast(typing.Optional[builtins.bool], jsii.get(self, "evaluateTargetHealth"))
|
|
835
887
|
|
|
888
|
+
@builtins.property
|
|
889
|
+
@jsii.member(jsii_name="hostedZoneId")
|
|
890
|
+
def hosted_zone_id(self) -> typing.Optional[builtins.str]:
|
|
891
|
+
'''Target Hosted zone ID.
|
|
892
|
+
|
|
893
|
+
:default: - hosted zone ID for the EBS endpoint will be retrieved based on the stack's region.
|
|
894
|
+
'''
|
|
895
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "hostedZoneId"))
|
|
896
|
+
|
|
836
897
|
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
837
898
|
typing.cast(typing.Any, IAliasRecordTargetProps).__jsii_proxy_class__ = lambda : _IAliasRecordTargetPropsProxy
|
|
838
899
|
|
|
@@ -714,7 +714,7 @@ class CfnProfileResourceAssociation(
|
|
|
714
714
|
@builtins.property
|
|
715
715
|
@jsii.member(jsii_name="attrResourceType")
|
|
716
716
|
def attr_resource_type(self) -> builtins.str:
|
|
717
|
-
'''Resource type, such as a private hosted zone, or DNS Firewall rule group.
|
|
717
|
+
'''Resource type, such as a private hosted zone, interface VPC endpoint, or DNS Firewall rule group.
|
|
718
718
|
|
|
719
719
|
:cloudformationAttribute: ResourceType
|
|
720
720
|
'''
|
|
@@ -3480,6 +3480,7 @@ class CfnResolverRule(
|
|
|
3480
3480
|
rule_type="ruleType",
|
|
3481
3481
|
|
|
3482
3482
|
# the properties below are optional
|
|
3483
|
+
delegation_record="delegationRecord",
|
|
3483
3484
|
domain_name="domainName",
|
|
3484
3485
|
name="name",
|
|
3485
3486
|
resolver_endpoint_id="resolverEndpointId",
|
|
@@ -3503,6 +3504,7 @@ class CfnResolverRule(
|
|
|
3503
3504
|
id: builtins.str,
|
|
3504
3505
|
*,
|
|
3505
3506
|
rule_type: builtins.str,
|
|
3507
|
+
delegation_record: typing.Optional[builtins.str] = None,
|
|
3506
3508
|
domain_name: typing.Optional[builtins.str] = None,
|
|
3507
3509
|
name: typing.Optional[builtins.str] = None,
|
|
3508
3510
|
resolver_endpoint_id: typing.Optional[builtins.str] = None,
|
|
@@ -3513,6 +3515,7 @@ class CfnResolverRule(
|
|
|
3513
3515
|
:param scope: Scope in which this resource is defined.
|
|
3514
3516
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3515
3517
|
:param rule_type: When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` . When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` . For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify ``FORWARD`` for ``RuleType`` . To then have Resolver process queries for apex.example.com, you create a rule and specify ``SYSTEM`` for ``RuleType`` . Currently, only Resolver can create rules that have a value of ``RECURSIVE`` for ``RuleType`` .
|
|
3518
|
+
:param delegation_record: The name server domain for queries to be delegated to if a query matches the delegation record.
|
|
3516
3519
|
:param domain_name: DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` . If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).
|
|
3517
3520
|
:param name: The name for the Resolver rule, which you specified when you created the Resolver rule.
|
|
3518
3521
|
:param resolver_endpoint_id: The ID of the endpoint that the rule is associated with.
|
|
@@ -3525,6 +3528,7 @@ class CfnResolverRule(
|
|
|
3525
3528
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3526
3529
|
props = CfnResolverRuleProps(
|
|
3527
3530
|
rule_type=rule_type,
|
|
3531
|
+
delegation_record=delegation_record,
|
|
3528
3532
|
domain_name=domain_name,
|
|
3529
3533
|
name=name,
|
|
3530
3534
|
resolver_endpoint_id=resolver_endpoint_id,
|
|
@@ -3648,6 +3652,19 @@ class CfnResolverRule(
|
|
|
3648
3652
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3649
3653
|
jsii.set(self, "ruleType", value) # pyright: ignore[reportArgumentType]
|
|
3650
3654
|
|
|
3655
|
+
@builtins.property
|
|
3656
|
+
@jsii.member(jsii_name="delegationRecord")
|
|
3657
|
+
def delegation_record(self) -> typing.Optional[builtins.str]:
|
|
3658
|
+
'''The name server domain for queries to be delegated to if a query matches the delegation record.'''
|
|
3659
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "delegationRecord"))
|
|
3660
|
+
|
|
3661
|
+
@delegation_record.setter
|
|
3662
|
+
def delegation_record(self, value: typing.Optional[builtins.str]) -> None:
|
|
3663
|
+
if __debug__:
|
|
3664
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b1126d07ce449d0d6220e3fbf183f2d786e81574a4f131914dfe0914a55bb851)
|
|
3665
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3666
|
+
jsii.set(self, "delegationRecord", value) # pyright: ignore[reportArgumentType]
|
|
3667
|
+
|
|
3651
3668
|
@builtins.property
|
|
3652
3669
|
@jsii.member(jsii_name="domainName")
|
|
3653
3670
|
def domain_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -4106,6 +4123,7 @@ class CfnResolverRuleAssociationProps:
|
|
|
4106
4123
|
jsii_struct_bases=[],
|
|
4107
4124
|
name_mapping={
|
|
4108
4125
|
"rule_type": "ruleType",
|
|
4126
|
+
"delegation_record": "delegationRecord",
|
|
4109
4127
|
"domain_name": "domainName",
|
|
4110
4128
|
"name": "name",
|
|
4111
4129
|
"resolver_endpoint_id": "resolverEndpointId",
|
|
@@ -4118,6 +4136,7 @@ class CfnResolverRuleProps:
|
|
|
4118
4136
|
self,
|
|
4119
4137
|
*,
|
|
4120
4138
|
rule_type: builtins.str,
|
|
4139
|
+
delegation_record: typing.Optional[builtins.str] = None,
|
|
4121
4140
|
domain_name: typing.Optional[builtins.str] = None,
|
|
4122
4141
|
name: typing.Optional[builtins.str] = None,
|
|
4123
4142
|
resolver_endpoint_id: typing.Optional[builtins.str] = None,
|
|
@@ -4127,6 +4146,7 @@ class CfnResolverRuleProps:
|
|
|
4127
4146
|
'''Properties for defining a ``CfnResolverRule``.
|
|
4128
4147
|
|
|
4129
4148
|
:param rule_type: When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` . When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` . For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify ``FORWARD`` for ``RuleType`` . To then have Resolver process queries for apex.example.com, you create a rule and specify ``SYSTEM`` for ``RuleType`` . Currently, only Resolver can create rules that have a value of ``RECURSIVE`` for ``RuleType`` .
|
|
4149
|
+
:param delegation_record: The name server domain for queries to be delegated to if a query matches the delegation record.
|
|
4130
4150
|
:param domain_name: DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` . If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).
|
|
4131
4151
|
:param name: The name for the Resolver rule, which you specified when you created the Resolver rule.
|
|
4132
4152
|
:param resolver_endpoint_id: The ID of the endpoint that the rule is associated with.
|
|
@@ -4146,6 +4166,7 @@ class CfnResolverRuleProps:
|
|
|
4146
4166
|
rule_type="ruleType",
|
|
4147
4167
|
|
|
4148
4168
|
# the properties below are optional
|
|
4169
|
+
delegation_record="delegationRecord",
|
|
4149
4170
|
domain_name="domainName",
|
|
4150
4171
|
name="name",
|
|
4151
4172
|
resolver_endpoint_id="resolverEndpointId",
|
|
@@ -4165,6 +4186,7 @@ class CfnResolverRuleProps:
|
|
|
4165
4186
|
if __debug__:
|
|
4166
4187
|
type_hints = typing.get_type_hints(_typecheckingstub__fdcaea1870aaf2dc13fe56b2d15a89d6adba2ad5884071fc618c9e4bb2c3ddec)
|
|
4167
4188
|
check_type(argname="argument rule_type", value=rule_type, expected_type=type_hints["rule_type"])
|
|
4189
|
+
check_type(argname="argument delegation_record", value=delegation_record, expected_type=type_hints["delegation_record"])
|
|
4168
4190
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
4169
4191
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
4170
4192
|
check_type(argname="argument resolver_endpoint_id", value=resolver_endpoint_id, expected_type=type_hints["resolver_endpoint_id"])
|
|
@@ -4173,6 +4195,8 @@ class CfnResolverRuleProps:
|
|
|
4173
4195
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4174
4196
|
"rule_type": rule_type,
|
|
4175
4197
|
}
|
|
4198
|
+
if delegation_record is not None:
|
|
4199
|
+
self._values["delegation_record"] = delegation_record
|
|
4176
4200
|
if domain_name is not None:
|
|
4177
4201
|
self._values["domain_name"] = domain_name
|
|
4178
4202
|
if name is not None:
|
|
@@ -4200,6 +4224,15 @@ class CfnResolverRuleProps:
|
|
|
4200
4224
|
assert result is not None, "Required property 'rule_type' is missing"
|
|
4201
4225
|
return typing.cast(builtins.str, result)
|
|
4202
4226
|
|
|
4227
|
+
@builtins.property
|
|
4228
|
+
def delegation_record(self) -> typing.Optional[builtins.str]:
|
|
4229
|
+
'''The name server domain for queries to be delegated to if a query matches the delegation record.
|
|
4230
|
+
|
|
4231
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-delegationrecord
|
|
4232
|
+
'''
|
|
4233
|
+
result = self._values.get("delegation_record")
|
|
4234
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4235
|
+
|
|
4203
4236
|
@builtins.property
|
|
4204
4237
|
def domain_name(self) -> typing.Optional[builtins.str]:
|
|
4205
4238
|
'''DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` .
|
|
@@ -4838,6 +4871,7 @@ def _typecheckingstub__7253810e416357d129df95b3c7aa9aa0f08e68de7d465658e598912cf
|
|
|
4838
4871
|
id: builtins.str,
|
|
4839
4872
|
*,
|
|
4840
4873
|
rule_type: builtins.str,
|
|
4874
|
+
delegation_record: typing.Optional[builtins.str] = None,
|
|
4841
4875
|
domain_name: typing.Optional[builtins.str] = None,
|
|
4842
4876
|
name: typing.Optional[builtins.str] = None,
|
|
4843
4877
|
resolver_endpoint_id: typing.Optional[builtins.str] = None,
|
|
@@ -4865,6 +4899,12 @@ def _typecheckingstub__13530a5c4f7ce175ae03b85dc7d4550ae7a3cb68cb2be12c89a167e8d
|
|
|
4865
4899
|
"""Type checking stubs"""
|
|
4866
4900
|
pass
|
|
4867
4901
|
|
|
4902
|
+
def _typecheckingstub__b1126d07ce449d0d6220e3fbf183f2d786e81574a4f131914dfe0914a55bb851(
|
|
4903
|
+
value: typing.Optional[builtins.str],
|
|
4904
|
+
) -> None:
|
|
4905
|
+
"""Type checking stubs"""
|
|
4906
|
+
pass
|
|
4907
|
+
|
|
4868
4908
|
def _typecheckingstub__3e83136a81b10aed2481c602cdca3f63e1c2bcaed82fe69b1ab2413af7c0b7c0(
|
|
4869
4909
|
value: typing.Optional[builtins.str],
|
|
4870
4910
|
) -> None:
|
|
@@ -4959,6 +4999,7 @@ def _typecheckingstub__3b7cd1048ae30851b3480dc04a365c7bd487212f9328f80bc61e1bae1
|
|
|
4959
4999
|
def _typecheckingstub__fdcaea1870aaf2dc13fe56b2d15a89d6adba2ad5884071fc618c9e4bb2c3ddec(
|
|
4960
5000
|
*,
|
|
4961
5001
|
rule_type: builtins.str,
|
|
5002
|
+
delegation_record: typing.Optional[builtins.str] = None,
|
|
4962
5003
|
domain_name: typing.Optional[builtins.str] = None,
|
|
4963
5004
|
name: typing.Optional[builtins.str] = None,
|
|
4964
5005
|
resolver_endpoint_id: typing.Optional[builtins.str] = None,
|