aws-cdk-lib 2.167.2__py3-none-any.whl → 2.169.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 +2083 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +244 -13
- aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
- aws_cdk/aws_applicationinsights/__init__.py +41 -0
- aws_cdk/aws_applicationsignals/__init__.py +124 -0
- aws_cdk/aws_autoscaling/__init__.py +743 -7
- aws_cdk/aws_batch/__init__.py +202 -5
- aws_cdk/aws_bedrock/__init__.py +12 -12
- aws_cdk/aws_cleanrooms/__init__.py +17 -8
- aws_cdk/aws_cloudformation/__init__.py +2571 -492
- aws_cdk/aws_cloudfront/__init__.py +281 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
- aws_cdk/aws_cloudtrail/__init__.py +52 -14
- aws_cdk/aws_codebuild/__init__.py +670 -4
- aws_cdk/aws_connect/__init__.py +378 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_deadline/__init__.py +299 -6
- aws_cdk/aws_dynamodb/__init__.py +359 -16
- aws_cdk/aws_ec2/__init__.py +19 -6
- aws_cdk/aws_ecs/__init__.py +231 -12
- aws_cdk/aws_efs/__init__.py +61 -4
- aws_cdk/aws_eks/__init__.py +116 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
- aws_cdk/aws_fis/__init__.py +495 -0
- aws_cdk/aws_gamelift/__init__.py +3204 -1104
- aws_cdk/aws_iot/__init__.py +209 -0
- aws_cdk/aws_iotfleetwise/__init__.py +550 -0
- aws_cdk/aws_iotsitewise/__init__.py +6 -3
- aws_cdk/aws_ivs/__init__.py +458 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +756 -8
- aws_cdk/aws_lambda/__init__.py +634 -259
- aws_cdk/aws_lambda_destinations/__init__.py +73 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
- aws_cdk/aws_location/__init__.py +18 -18
- aws_cdk/aws_mediastore/__init__.py +22 -10
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +35 -19
- aws_cdk/aws_rbin/__init__.py +902 -0
- aws_cdk/aws_rds/__init__.py +166 -3
- aws_cdk/aws_route53resolver/__init__.py +76 -19
- aws_cdk/aws_sagemaker/__init__.py +32 -0
- aws_cdk/aws_securityhub/__init__.py +11 -14
- aws_cdk/aws_ses/__init__.py +58 -5
- aws_cdk/aws_sns/__init__.py +593 -8
- aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
- aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_transfer/__init__.py +0 -8
- aws_cdk/aws_vpclattice/__init__.py +157 -2
- aws_cdk/aws_wisdom/__init__.py +113 -69
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +60 -58
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -2861,6 +2861,12 @@ class AuroraMysqlEngineVersion(
|
|
|
2861
2861
|
'''Version "8.0.mysql_aurora.3.07.1".'''
|
|
2862
2862
|
return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_07_1"))
|
|
2863
2863
|
|
|
2864
|
+
@jsii.python.classproperty
|
|
2865
|
+
@jsii.member(jsii_name="VER_3_08_0")
|
|
2866
|
+
def VER_3_08_0(cls) -> "AuroraMysqlEngineVersion":
|
|
2867
|
+
'''Version "8.0.mysql_aurora.3.08.0".'''
|
|
2868
|
+
return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_08_0"))
|
|
2869
|
+
|
|
2864
2870
|
@jsii.python.classproperty
|
|
2865
2871
|
@jsii.member(jsii_name="VER_5_7_12")
|
|
2866
2872
|
def VER_5_7_12(cls) -> "AuroraMysqlEngineVersion":
|
|
@@ -4973,7 +4979,7 @@ class CfnDBCluster(
|
|
|
4973
4979
|
:param enable_iam_database_authentication: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. For more information, see `IAM Database Authentication <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html>`_ in the *Amazon Aurora User Guide.* Valid for: Aurora DB clusters only
|
|
4974
4980
|
:param enable_local_write_forwarding: Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances. Valid for: Aurora DB clusters only
|
|
4975
4981
|
:param engine: The name of the database engine to be used for this DB cluster. Valid Values: - ``aurora-mysql`` - ``aurora-postgresql`` - ``mysql`` - ``postgres`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4976
|
-
:param engine_lifecycle_support: The life cycle type for this DB cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your DB cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the DB cluster will fail if the DB major version is past its end of standard support date. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections: - Amazon Aurora
|
|
4982
|
+
:param engine_lifecycle_support: The life cycle type for this DB cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your DB cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the DB cluster will fail if the DB major version is past its end of standard support date. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections: - Amazon Aurora - `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide* - Amazon RDS - `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html>`_ in the *Amazon RDS User Guide* Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled`` Default: ``open-source-rds-extended-support``
|
|
4977
4983
|
:param engine_mode: The DB engine mode of the DB cluster, either ``provisioned`` or ``serverless`` . The ``serverless`` engine mode only applies for Aurora Serverless v1 DB clusters. Aurora Serverless v2 DB clusters use the ``provisioned`` engine mode. For information about limitations and requirements for Serverless DB clusters, see the following sections in the *Amazon Aurora User Guide* : - `Limitations of Aurora Serverless v1 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations>`_ - `Requirements for Aurora Serverless v2 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html>`_ Valid for Cluster Type: Aurora DB clusters only
|
|
4978
4984
|
:param engine_version: The version number of the database engine to use. To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) and version 3 (8.0-compatible), use the following command: ``aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"`` You can supply either ``5.7`` or ``8.0`` to use the default engine version for Aurora MySQL version 2 or version 3, respectively. To list all of the available engine versions for Aurora PostgreSQL, use the following command: ``aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"`` To list all of the available engine versions for RDS for MySQL, use the following command: ``aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"`` To list all of the available engine versions for RDS for PostgreSQL, use the following command: ``aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"`` *Aurora MySQL* For information, see `Database engine updates for Amazon Aurora MySQL <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html>`_ in the *Amazon Aurora User Guide* . *Aurora PostgreSQL* For information, see `Amazon Aurora PostgreSQL releases and engine versions <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html>`_ in the *Amazon Aurora User Guide* . *MySQL* For information, see `Amazon RDS for MySQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide* . *PostgreSQL* For information, see `Amazon RDS for PostgreSQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts>`_ in the *Amazon RDS User Guide* . Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4979
4985
|
:param global_cluster_identifier: If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the `AWS::RDS::GlobalCluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html>`_ resource. If you aren't configuring a global database cluster, don't specify this property. .. epigraph:: To remove the DB cluster from a global database cluster, specify an empty value for the ``GlobalClusterIdentifier`` property. For information about Aurora global databases, see `Working with Amazon Aurora Global Databases <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters only
|
|
@@ -7129,7 +7135,7 @@ class CfnDBClusterProps:
|
|
|
7129
7135
|
:param enable_iam_database_authentication: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. For more information, see `IAM Database Authentication <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html>`_ in the *Amazon Aurora User Guide.* Valid for: Aurora DB clusters only
|
|
7130
7136
|
:param enable_local_write_forwarding: Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances. Valid for: Aurora DB clusters only
|
|
7131
7137
|
:param engine: The name of the database engine to be used for this DB cluster. Valid Values: - ``aurora-mysql`` - ``aurora-postgresql`` - ``mysql`` - ``postgres`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
7132
|
-
:param engine_lifecycle_support: The life cycle type for this DB cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your DB cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the DB cluster will fail if the DB major version is past its end of standard support date. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections: - Amazon Aurora
|
|
7138
|
+
:param engine_lifecycle_support: The life cycle type for this DB cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your DB cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the DB cluster will fail if the DB major version is past its end of standard support date. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections: - Amazon Aurora - `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide* - Amazon RDS - `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html>`_ in the *Amazon RDS User Guide* Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled`` Default: ``open-source-rds-extended-support``
|
|
7133
7139
|
:param engine_mode: The DB engine mode of the DB cluster, either ``provisioned`` or ``serverless`` . The ``serverless`` engine mode only applies for Aurora Serverless v1 DB clusters. Aurora Serverless v2 DB clusters use the ``provisioned`` engine mode. For information about limitations and requirements for Serverless DB clusters, see the following sections in the *Amazon Aurora User Guide* : - `Limitations of Aurora Serverless v1 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations>`_ - `Requirements for Aurora Serverless v2 <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html>`_ Valid for Cluster Type: Aurora DB clusters only
|
|
7134
7140
|
:param engine_version: The version number of the database engine to use. To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) and version 3 (8.0-compatible), use the following command: ``aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"`` You can supply either ``5.7`` or ``8.0`` to use the default engine version for Aurora MySQL version 2 or version 3, respectively. To list all of the available engine versions for Aurora PostgreSQL, use the following command: ``aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"`` To list all of the available engine versions for RDS for MySQL, use the following command: ``aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"`` To list all of the available engine versions for RDS for PostgreSQL, use the following command: ``aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"`` *Aurora MySQL* For information, see `Database engine updates for Amazon Aurora MySQL <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html>`_ in the *Amazon Aurora User Guide* . *Aurora PostgreSQL* For information, see `Amazon Aurora PostgreSQL releases and engine versions <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html>`_ in the *Amazon Aurora User Guide* . *MySQL* For information, see `Amazon RDS for MySQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt>`_ in the *Amazon RDS User Guide* . *PostgreSQL* For information, see `Amazon RDS for PostgreSQL <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts>`_ in the *Amazon RDS User Guide* . Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
7135
7141
|
:param global_cluster_identifier: If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the `AWS::RDS::GlobalCluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html>`_ resource. If you aren't configuring a global database cluster, don't specify this property. .. epigraph:: To remove the DB cluster from a global database cluster, specify an empty value for the ``GlobalClusterIdentifier`` property. For information about Aurora global databases, see `Working with Amazon Aurora Global Databases <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters only
|
|
@@ -7821,7 +7827,7 @@ class CfnDBClusterProps:
|
|
|
7821
7827
|
|
|
7822
7828
|
You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections:
|
|
7823
7829
|
|
|
7824
|
-
- Amazon Aurora
|
|
7830
|
+
- Amazon Aurora - `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide*
|
|
7825
7831
|
- Amazon RDS - `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html>`_ in the *Amazon RDS User Guide*
|
|
7826
7832
|
|
|
7827
7833
|
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
@@ -16678,6 +16684,9 @@ class CfnGlobalCluster(
|
|
|
16678
16684
|
engine_lifecycle_support="engineLifecycleSupport",
|
|
16679
16685
|
engine_version="engineVersion",
|
|
16680
16686
|
global_cluster_identifier="globalClusterIdentifier",
|
|
16687
|
+
global_endpoint=rds.CfnGlobalCluster.GlobalEndpointProperty(
|
|
16688
|
+
address="address"
|
|
16689
|
+
),
|
|
16681
16690
|
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
16682
16691
|
storage_encrypted=False,
|
|
16683
16692
|
tags=[CfnTag(
|
|
@@ -16697,6 +16706,7 @@ class CfnGlobalCluster(
|
|
|
16697
16706
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
16698
16707
|
engine_version: typing.Optional[builtins.str] = None,
|
|
16699
16708
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16709
|
+
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalCluster.GlobalEndpointProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16700
16710
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16701
16711
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
16702
16712
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -16709,6 +16719,7 @@ class CfnGlobalCluster(
|
|
|
16709
16719
|
:param engine_lifecycle_support: The life cycle type for this global database cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the global cluster will fail if the DB major version is past its end of standard support date. This setting only applies to Aurora PostgreSQL-based global databases. You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide* . Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled`` Default: ``open-source-rds-extended-support``
|
|
16710
16720
|
:param engine_version: The engine version to use for this global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
|
|
16711
16721
|
:param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
|
|
16722
|
+
:param global_endpoint:
|
|
16712
16723
|
:param source_db_cluster_identifier: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster: - ``DatabaseName`` - ``Engine`` - ``EngineVersion`` - ``StorageEncrypted``
|
|
16713
16724
|
:param storage_encrypted: Specifies whether to enable storage encryption for the new global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
|
|
16714
16725
|
:param tags: Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
|
|
@@ -16723,6 +16734,7 @@ class CfnGlobalCluster(
|
|
|
16723
16734
|
engine_lifecycle_support=engine_lifecycle_support,
|
|
16724
16735
|
engine_version=engine_version,
|
|
16725
16736
|
global_cluster_identifier=global_cluster_identifier,
|
|
16737
|
+
global_endpoint=global_endpoint,
|
|
16726
16738
|
source_db_cluster_identifier=source_db_cluster_identifier,
|
|
16727
16739
|
storage_encrypted=storage_encrypted,
|
|
16728
16740
|
tags=tags,
|
|
@@ -16841,6 +16853,23 @@ class CfnGlobalCluster(
|
|
|
16841
16853
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16842
16854
|
jsii.set(self, "globalClusterIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
16843
16855
|
|
|
16856
|
+
@builtins.property
|
|
16857
|
+
@jsii.member(jsii_name="globalEndpoint")
|
|
16858
|
+
def global_endpoint(
|
|
16859
|
+
self,
|
|
16860
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]]:
|
|
16861
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]], jsii.get(self, "globalEndpoint"))
|
|
16862
|
+
|
|
16863
|
+
@global_endpoint.setter
|
|
16864
|
+
def global_endpoint(
|
|
16865
|
+
self,
|
|
16866
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalCluster.GlobalEndpointProperty"]],
|
|
16867
|
+
) -> None:
|
|
16868
|
+
if __debug__:
|
|
16869
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7b1b1a8e034b0a4e155f1c4e96d4c9dd770043cd6a95e96f303770a5dff27e85)
|
|
16870
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16871
|
+
jsii.set(self, "globalEndpoint", value) # pyright: ignore[reportArgumentType]
|
|
16872
|
+
|
|
16844
16873
|
@builtins.property
|
|
16845
16874
|
@jsii.member(jsii_name="sourceDbClusterIdentifier")
|
|
16846
16875
|
def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
@@ -16888,6 +16917,58 @@ class CfnGlobalCluster(
|
|
|
16888
16917
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16889
16918
|
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
16890
16919
|
|
|
16920
|
+
@jsii.data_type(
|
|
16921
|
+
jsii_type="aws-cdk-lib.aws_rds.CfnGlobalCluster.GlobalEndpointProperty",
|
|
16922
|
+
jsii_struct_bases=[],
|
|
16923
|
+
name_mapping={"address": "address"},
|
|
16924
|
+
)
|
|
16925
|
+
class GlobalEndpointProperty:
|
|
16926
|
+
def __init__(self, *, address: typing.Optional[builtins.str] = None) -> None:
|
|
16927
|
+
'''
|
|
16928
|
+
:param address: The writer endpoint for the global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.
|
|
16929
|
+
|
|
16930
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-globalcluster-globalendpoint.html
|
|
16931
|
+
:exampleMetadata: fixture=_generated
|
|
16932
|
+
|
|
16933
|
+
Example::
|
|
16934
|
+
|
|
16935
|
+
# The code below shows an example of how to instantiate this type.
|
|
16936
|
+
# The values are placeholders you should change.
|
|
16937
|
+
from aws_cdk import aws_rds as rds
|
|
16938
|
+
|
|
16939
|
+
global_endpoint_property = rds.CfnGlobalCluster.GlobalEndpointProperty(
|
|
16940
|
+
address="address"
|
|
16941
|
+
)
|
|
16942
|
+
'''
|
|
16943
|
+
if __debug__:
|
|
16944
|
+
type_hints = typing.get_type_hints(_typecheckingstub__350cbf05f202394e90ba919ae123a3da8d1e1e8e92a272b6ff65d6578cf2dadc)
|
|
16945
|
+
check_type(argname="argument address", value=address, expected_type=type_hints["address"])
|
|
16946
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
16947
|
+
if address is not None:
|
|
16948
|
+
self._values["address"] = address
|
|
16949
|
+
|
|
16950
|
+
@builtins.property
|
|
16951
|
+
def address(self) -> typing.Optional[builtins.str]:
|
|
16952
|
+
'''The writer endpoint for the global database cluster.
|
|
16953
|
+
|
|
16954
|
+
This endpoint always points to the writer DB instance in the current primary cluster.
|
|
16955
|
+
|
|
16956
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-globalcluster-globalendpoint.html#cfn-rds-globalcluster-globalendpoint-address
|
|
16957
|
+
'''
|
|
16958
|
+
result = self._values.get("address")
|
|
16959
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
16960
|
+
|
|
16961
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
16962
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
16963
|
+
|
|
16964
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
16965
|
+
return not (rhs == self)
|
|
16966
|
+
|
|
16967
|
+
def __repr__(self) -> str:
|
|
16968
|
+
return "GlobalEndpointProperty(%s)" % ", ".join(
|
|
16969
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
16970
|
+
)
|
|
16971
|
+
|
|
16891
16972
|
|
|
16892
16973
|
@jsii.data_type(
|
|
16893
16974
|
jsii_type="aws-cdk-lib.aws_rds.CfnGlobalClusterProps",
|
|
@@ -16898,6 +16979,7 @@ class CfnGlobalCluster(
|
|
|
16898
16979
|
"engine_lifecycle_support": "engineLifecycleSupport",
|
|
16899
16980
|
"engine_version": "engineVersion",
|
|
16900
16981
|
"global_cluster_identifier": "globalClusterIdentifier",
|
|
16982
|
+
"global_endpoint": "globalEndpoint",
|
|
16901
16983
|
"source_db_cluster_identifier": "sourceDbClusterIdentifier",
|
|
16902
16984
|
"storage_encrypted": "storageEncrypted",
|
|
16903
16985
|
"tags": "tags",
|
|
@@ -16912,6 +16994,7 @@ class CfnGlobalClusterProps:
|
|
|
16912
16994
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
16913
16995
|
engine_version: typing.Optional[builtins.str] = None,
|
|
16914
16996
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16997
|
+
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16915
16998
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
16916
16999
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
16917
17000
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -16923,6 +17006,7 @@ class CfnGlobalClusterProps:
|
|
|
16923
17006
|
:param engine_lifecycle_support: The life cycle type for this global database cluster. .. epigraph:: By default, this value is set to ``open-source-rds-extended-support`` , which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled`` . In this case, creating the global cluster will fail if the DB major version is past its end of standard support date. This setting only applies to Aurora PostgreSQL-based global databases. You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see `Using Amazon RDS Extended Support <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html>`_ in the *Amazon Aurora User Guide* . Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled`` Default: ``open-source-rds-extended-support``
|
|
16924
17007
|
:param engine_version: The engine version to use for this global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
|
|
16925
17008
|
:param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
|
|
17009
|
+
:param global_endpoint:
|
|
16926
17010
|
:param source_db_cluster_identifier: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster: - ``DatabaseName`` - ``Engine`` - ``EngineVersion`` - ``StorageEncrypted``
|
|
16927
17011
|
:param storage_encrypted: Specifies whether to enable storage encryption for the new global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
|
|
16928
17012
|
:param tags: Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
|
|
@@ -16942,6 +17026,9 @@ class CfnGlobalClusterProps:
|
|
|
16942
17026
|
engine_lifecycle_support="engineLifecycleSupport",
|
|
16943
17027
|
engine_version="engineVersion",
|
|
16944
17028
|
global_cluster_identifier="globalClusterIdentifier",
|
|
17029
|
+
global_endpoint=rds.CfnGlobalCluster.GlobalEndpointProperty(
|
|
17030
|
+
address="address"
|
|
17031
|
+
),
|
|
16945
17032
|
source_db_cluster_identifier="sourceDbClusterIdentifier",
|
|
16946
17033
|
storage_encrypted=False,
|
|
16947
17034
|
tags=[CfnTag(
|
|
@@ -16957,6 +17044,7 @@ class CfnGlobalClusterProps:
|
|
|
16957
17044
|
check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
|
|
16958
17045
|
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
16959
17046
|
check_type(argname="argument global_cluster_identifier", value=global_cluster_identifier, expected_type=type_hints["global_cluster_identifier"])
|
|
17047
|
+
check_type(argname="argument global_endpoint", value=global_endpoint, expected_type=type_hints["global_endpoint"])
|
|
16960
17048
|
check_type(argname="argument source_db_cluster_identifier", value=source_db_cluster_identifier, expected_type=type_hints["source_db_cluster_identifier"])
|
|
16961
17049
|
check_type(argname="argument storage_encrypted", value=storage_encrypted, expected_type=type_hints["storage_encrypted"])
|
|
16962
17050
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -16971,6 +17059,8 @@ class CfnGlobalClusterProps:
|
|
|
16971
17059
|
self._values["engine_version"] = engine_version
|
|
16972
17060
|
if global_cluster_identifier is not None:
|
|
16973
17061
|
self._values["global_cluster_identifier"] = global_cluster_identifier
|
|
17062
|
+
if global_endpoint is not None:
|
|
17063
|
+
self._values["global_endpoint"] = global_endpoint
|
|
16974
17064
|
if source_db_cluster_identifier is not None:
|
|
16975
17065
|
self._values["source_db_cluster_identifier"] = source_db_cluster_identifier
|
|
16976
17066
|
if storage_encrypted is not None:
|
|
@@ -17051,6 +17141,16 @@ class CfnGlobalClusterProps:
|
|
|
17051
17141
|
result = self._values.get("global_cluster_identifier")
|
|
17052
17142
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
17053
17143
|
|
|
17144
|
+
@builtins.property
|
|
17145
|
+
def global_endpoint(
|
|
17146
|
+
self,
|
|
17147
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]]:
|
|
17148
|
+
'''
|
|
17149
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-globalendpoint
|
|
17150
|
+
'''
|
|
17151
|
+
result = self._values.get("global_endpoint")
|
|
17152
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]], result)
|
|
17153
|
+
|
|
17054
17154
|
@builtins.property
|
|
17055
17155
|
def source_db_cluster_identifier(self) -> typing.Optional[builtins.str]:
|
|
17056
17156
|
'''The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
|
|
@@ -31609,6 +31709,12 @@ class MysqlEngineVersion(
|
|
|
31609
31709
|
'''Version "8.0.39".'''
|
|
31610
31710
|
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_39"))
|
|
31611
31711
|
|
|
31712
|
+
@jsii.python.classproperty
|
|
31713
|
+
@jsii.member(jsii_name="VER_8_0_40")
|
|
31714
|
+
def VER_8_0_40(cls) -> "MysqlEngineVersion":
|
|
31715
|
+
'''Version "8.0.40".'''
|
|
31716
|
+
return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_40"))
|
|
31717
|
+
|
|
31612
31718
|
@builtins.property
|
|
31613
31719
|
@jsii.member(jsii_name="mysqlFullVersion")
|
|
31614
31720
|
def mysql_full_version(self) -> builtins.str:
|
|
@@ -34493,6 +34599,12 @@ class PostgresEngineVersion(
|
|
|
34493
34599
|
'''Version "12.20".'''
|
|
34494
34600
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_12_20"))
|
|
34495
34601
|
|
|
34602
|
+
@jsii.python.classproperty
|
|
34603
|
+
@jsii.member(jsii_name="VER_12_21")
|
|
34604
|
+
def VER_12_21(cls) -> "PostgresEngineVersion":
|
|
34605
|
+
'''Version "12.21".'''
|
|
34606
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_12_21"))
|
|
34607
|
+
|
|
34496
34608
|
@jsii.python.classproperty
|
|
34497
34609
|
@jsii.member(jsii_name="VER_12_3")
|
|
34498
34610
|
def VER_12_3(cls) -> "PostgresEngineVersion":
|
|
@@ -34634,6 +34746,12 @@ class PostgresEngineVersion(
|
|
|
34634
34746
|
'''Version "13.16".'''
|
|
34635
34747
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_13_16"))
|
|
34636
34748
|
|
|
34749
|
+
@jsii.python.classproperty
|
|
34750
|
+
@jsii.member(jsii_name="VER_13_17")
|
|
34751
|
+
def VER_13_17(cls) -> "PostgresEngineVersion":
|
|
34752
|
+
'''Version "13.17".'''
|
|
34753
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_13_17"))
|
|
34754
|
+
|
|
34637
34755
|
@jsii.python.classproperty
|
|
34638
34756
|
@jsii.member(jsii_name="VER_13_2")
|
|
34639
34757
|
def VER_13_2(cls) -> "PostgresEngineVersion":
|
|
@@ -34763,6 +34881,12 @@ class PostgresEngineVersion(
|
|
|
34763
34881
|
'''Version "14.13".'''
|
|
34764
34882
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_14_13"))
|
|
34765
34883
|
|
|
34884
|
+
@jsii.python.classproperty
|
|
34885
|
+
@jsii.member(jsii_name="VER_14_14")
|
|
34886
|
+
def VER_14_14(cls) -> "PostgresEngineVersion":
|
|
34887
|
+
'''Version "14.14".'''
|
|
34888
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_14_14"))
|
|
34889
|
+
|
|
34766
34890
|
@jsii.python.classproperty
|
|
34767
34891
|
@jsii.member(jsii_name="VER_14_2")
|
|
34768
34892
|
def VER_14_2(cls) -> "PostgresEngineVersion":
|
|
@@ -34904,6 +35028,12 @@ class PostgresEngineVersion(
|
|
|
34904
35028
|
'''Version "15.8".'''
|
|
34905
35029
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_15_8"))
|
|
34906
35030
|
|
|
35031
|
+
@jsii.python.classproperty
|
|
35032
|
+
@jsii.member(jsii_name="VER_15_9")
|
|
35033
|
+
def VER_15_9(cls) -> "PostgresEngineVersion":
|
|
35034
|
+
'''Version "15.9".'''
|
|
35035
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_15_9"))
|
|
35036
|
+
|
|
34907
35037
|
@jsii.python.classproperty
|
|
34908
35038
|
@jsii.member(jsii_name="VER_16")
|
|
34909
35039
|
def VER_16(cls) -> "PostgresEngineVersion":
|
|
@@ -34934,6 +35064,24 @@ class PostgresEngineVersion(
|
|
|
34934
35064
|
'''Version "16.4".'''
|
|
34935
35065
|
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_4"))
|
|
34936
35066
|
|
|
35067
|
+
@jsii.python.classproperty
|
|
35068
|
+
@jsii.member(jsii_name="VER_16_5")
|
|
35069
|
+
def VER_16_5(cls) -> "PostgresEngineVersion":
|
|
35070
|
+
'''Version "16.5".'''
|
|
35071
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_16_5"))
|
|
35072
|
+
|
|
35073
|
+
@jsii.python.classproperty
|
|
35074
|
+
@jsii.member(jsii_name="VER_17")
|
|
35075
|
+
def VER_17(cls) -> "PostgresEngineVersion":
|
|
35076
|
+
'''Version "17" (only a major version, without a specific minor version).'''
|
|
35077
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_17"))
|
|
35078
|
+
|
|
35079
|
+
@jsii.python.classproperty
|
|
35080
|
+
@jsii.member(jsii_name="VER_17_1")
|
|
35081
|
+
def VER_17_1(cls) -> "PostgresEngineVersion":
|
|
35082
|
+
'''Version "17.1".'''
|
|
35083
|
+
return typing.cast("PostgresEngineVersion", jsii.sget(cls, "VER_17_1"))
|
|
35084
|
+
|
|
34937
35085
|
@jsii.python.classproperty
|
|
34938
35086
|
@jsii.member(jsii_name="VER_9_6_24")
|
|
34939
35087
|
def VER_9_6_24(cls) -> "PostgresEngineVersion":
|
|
@@ -47814,6 +47962,7 @@ def _typecheckingstub__1611fa62b935d4f304c9fd8befd7c639fa3cc4898c7c6d9f86feb2d66
|
|
|
47814
47962
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
47815
47963
|
engine_version: typing.Optional[builtins.str] = None,
|
|
47816
47964
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
47965
|
+
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47817
47966
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
47818
47967
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
47819
47968
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -47863,6 +48012,12 @@ def _typecheckingstub__8c0878c8feb5b0667b16ebe0d996cc33dadb0920b96e5594e9cf1b8cc
|
|
|
47863
48012
|
"""Type checking stubs"""
|
|
47864
48013
|
pass
|
|
47865
48014
|
|
|
48015
|
+
def _typecheckingstub__7b1b1a8e034b0a4e155f1c4e96d4c9dd770043cd6a95e96f303770a5dff27e85(
|
|
48016
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalCluster.GlobalEndpointProperty]],
|
|
48017
|
+
) -> None:
|
|
48018
|
+
"""Type checking stubs"""
|
|
48019
|
+
pass
|
|
48020
|
+
|
|
47866
48021
|
def _typecheckingstub__2b8b99331248625e609d8c61fdd2aeead968468cd83f1da2306ce25de200e221(
|
|
47867
48022
|
value: typing.Optional[builtins.str],
|
|
47868
48023
|
) -> None:
|
|
@@ -47881,6 +48036,13 @@ def _typecheckingstub__353dbc811b6418119794dea977794a47fb1500897063d3e8fdf280f56
|
|
|
47881
48036
|
"""Type checking stubs"""
|
|
47882
48037
|
pass
|
|
47883
48038
|
|
|
48039
|
+
def _typecheckingstub__350cbf05f202394e90ba919ae123a3da8d1e1e8e92a272b6ff65d6578cf2dadc(
|
|
48040
|
+
*,
|
|
48041
|
+
address: typing.Optional[builtins.str] = None,
|
|
48042
|
+
) -> None:
|
|
48043
|
+
"""Type checking stubs"""
|
|
48044
|
+
pass
|
|
48045
|
+
|
|
47884
48046
|
def _typecheckingstub__ef2e57f0cb9427badb90bc7e1248f0f26bc8de21a104bb924da9733667030430(
|
|
47885
48047
|
*,
|
|
47886
48048
|
deletion_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -47888,6 +48050,7 @@ def _typecheckingstub__ef2e57f0cb9427badb90bc7e1248f0f26bc8de21a104bb924da973366
|
|
|
47888
48050
|
engine_lifecycle_support: typing.Optional[builtins.str] = None,
|
|
47889
48051
|
engine_version: typing.Optional[builtins.str] = None,
|
|
47890
48052
|
global_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
48053
|
+
global_endpoint: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalCluster.GlobalEndpointProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47891
48054
|
source_db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
47892
48055
|
storage_encrypted: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
47893
48056
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -447,7 +447,6 @@ class CfnFirewallRuleGroup(
|
|
|
447
447
|
cfn_firewall_rule_group = route53resolver.CfnFirewallRuleGroup(self, "MyCfnFirewallRuleGroup",
|
|
448
448
|
firewall_rules=[route53resolver.CfnFirewallRuleGroup.FirewallRuleProperty(
|
|
449
449
|
action="action",
|
|
450
|
-
firewall_domain_list_id="firewallDomainListId",
|
|
451
450
|
priority=123,
|
|
452
451
|
|
|
453
452
|
# the properties below are optional
|
|
@@ -455,7 +454,11 @@ class CfnFirewallRuleGroup(
|
|
|
455
454
|
block_override_domain="blockOverrideDomain",
|
|
456
455
|
block_override_ttl=123,
|
|
457
456
|
block_response="blockResponse",
|
|
457
|
+
confidence_threshold="confidenceThreshold",
|
|
458
|
+
dns_threat_protection="dnsThreatProtection",
|
|
459
|
+
firewall_domain_list_id="firewallDomainListId",
|
|
458
460
|
firewall_domain_redirection_action="firewallDomainRedirectionAction",
|
|
461
|
+
firewall_threat_protection_id="firewallThreatProtectionId",
|
|
459
462
|
qtype="qtype"
|
|
460
463
|
)],
|
|
461
464
|
name="name",
|
|
@@ -678,13 +681,16 @@ class CfnFirewallRuleGroup(
|
|
|
678
681
|
jsii_struct_bases=[],
|
|
679
682
|
name_mapping={
|
|
680
683
|
"action": "action",
|
|
681
|
-
"firewall_domain_list_id": "firewallDomainListId",
|
|
682
684
|
"priority": "priority",
|
|
683
685
|
"block_override_dns_type": "blockOverrideDnsType",
|
|
684
686
|
"block_override_domain": "blockOverrideDomain",
|
|
685
687
|
"block_override_ttl": "blockOverrideTtl",
|
|
686
688
|
"block_response": "blockResponse",
|
|
689
|
+
"confidence_threshold": "confidenceThreshold",
|
|
690
|
+
"dns_threat_protection": "dnsThreatProtection",
|
|
691
|
+
"firewall_domain_list_id": "firewallDomainListId",
|
|
687
692
|
"firewall_domain_redirection_action": "firewallDomainRedirectionAction",
|
|
693
|
+
"firewall_threat_protection_id": "firewallThreatProtectionId",
|
|
688
694
|
"qtype": "qtype",
|
|
689
695
|
},
|
|
690
696
|
)
|
|
@@ -693,25 +699,31 @@ class CfnFirewallRuleGroup(
|
|
|
693
699
|
self,
|
|
694
700
|
*,
|
|
695
701
|
action: builtins.str,
|
|
696
|
-
firewall_domain_list_id: builtins.str,
|
|
697
702
|
priority: jsii.Number,
|
|
698
703
|
block_override_dns_type: typing.Optional[builtins.str] = None,
|
|
699
704
|
block_override_domain: typing.Optional[builtins.str] = None,
|
|
700
705
|
block_override_ttl: typing.Optional[jsii.Number] = None,
|
|
701
706
|
block_response: typing.Optional[builtins.str] = None,
|
|
707
|
+
confidence_threshold: typing.Optional[builtins.str] = None,
|
|
708
|
+
dns_threat_protection: typing.Optional[builtins.str] = None,
|
|
709
|
+
firewall_domain_list_id: typing.Optional[builtins.str] = None,
|
|
702
710
|
firewall_domain_redirection_action: typing.Optional[builtins.str] = None,
|
|
711
|
+
firewall_threat_protection_id: typing.Optional[builtins.str] = None,
|
|
703
712
|
qtype: typing.Optional[builtins.str] = None,
|
|
704
713
|
) -> None:
|
|
705
714
|
'''A single firewall rule in a rule group.
|
|
706
715
|
|
|
707
716
|
:param action: The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: - ``ALLOW`` - Permit the request to go through. - ``ALERT`` - Permit the request to go through but send an alert to the logs. - ``BLOCK`` - Disallow the request. If this is specified,then ``BlockResponse`` must also be specified. if ``BlockResponse`` is ``OVERRIDE`` , then all of the following ``OVERRIDE`` attributes must be specified: - ``BlockOverrideDnsType`` - ``BlockOverrideDomain`` - ``BlockOverrideTtl``
|
|
708
|
-
:param firewall_domain_list_id: The ID of the domain list that's used in the rule.
|
|
709
717
|
:param priority: The priority of the rule in the rule group. This value must be unique within the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
|
|
710
718
|
:param block_override_dns_type: The DNS record's type. This determines the format of the record value that you provided in ``BlockOverrideDomain`` . Used for the rule action ``BLOCK`` with a ``BlockResponse`` setting of ``OVERRIDE`` .
|
|
711
719
|
:param block_override_domain: The custom DNS record to send back in response to the query. Used for the rule action ``BLOCK`` with a ``BlockResponse`` setting of ``OVERRIDE`` .
|
|
712
720
|
:param block_override_ttl: The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action ``BLOCK`` with a ``BlockResponse`` setting of ``OVERRIDE`` .
|
|
713
721
|
:param block_response: The way that you want DNS Firewall to block the request. Used for the rule action setting ``BLOCK`` . - ``NODATA`` - Respond indicating that the query was successful, but no response is available for it. - ``NXDOMAIN`` - Respond indicating that the domain name that's in the query doesn't exist. - ``OVERRIDE`` - Provide a custom override in the response. This option requires custom handling details in the rule's ``BlockOverride*`` settings.
|
|
722
|
+
:param confidence_threshold: FirewallDomainRedirectionAction.
|
|
723
|
+
:param dns_threat_protection: FirewallDomainRedirectionAction.
|
|
724
|
+
:param firewall_domain_list_id: The ID of the domain list that's used in the rule.
|
|
714
725
|
:param firewall_domain_redirection_action: How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME, or DNAME. ``Inspect_Redirection_Domain`` (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. ``Trust_Redirection_Domain`` inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list.
|
|
726
|
+
:param firewall_threat_protection_id: ResourceId.
|
|
715
727
|
:param qtype: The DNS query type you want the rule to evaluate. Allowed values are; - A: Returns an IPv4 address. - AAAA: Returns an Ipv6 address. - CAA: Restricts CAs that can create SSL/TLS certifications for the domain. - CNAME: Returns another domain name. - DS: Record that identifies the DNSSEC signing key of a delegated zone. - MX: Specifies mail servers. - NAPTR: Regular-expression-based rewriting of domain names. - NS: Authoritative name servers. - PTR: Maps an IP address to a domain name. - SOA: Start of authority record for the zone. - SPF: Lists the servers authorized to send emails from a domain. - SRV: Application specific values that identify servers. - TXT: Verifies email senders and application-specific values. - A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPE NUMBER , where the NUMBER can be 1-65334, for example, TYPE28. For more information, see `List of DNS record types <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/List_of_DNS_record_types>`_ .
|
|
716
728
|
|
|
717
729
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html
|
|
@@ -725,7 +737,6 @@ class CfnFirewallRuleGroup(
|
|
|
725
737
|
|
|
726
738
|
firewall_rule_property = route53resolver.CfnFirewallRuleGroup.FirewallRuleProperty(
|
|
727
739
|
action="action",
|
|
728
|
-
firewall_domain_list_id="firewallDomainListId",
|
|
729
740
|
priority=123,
|
|
730
741
|
|
|
731
742
|
# the properties below are optional
|
|
@@ -733,24 +744,30 @@ class CfnFirewallRuleGroup(
|
|
|
733
744
|
block_override_domain="blockOverrideDomain",
|
|
734
745
|
block_override_ttl=123,
|
|
735
746
|
block_response="blockResponse",
|
|
747
|
+
confidence_threshold="confidenceThreshold",
|
|
748
|
+
dns_threat_protection="dnsThreatProtection",
|
|
749
|
+
firewall_domain_list_id="firewallDomainListId",
|
|
736
750
|
firewall_domain_redirection_action="firewallDomainRedirectionAction",
|
|
751
|
+
firewall_threat_protection_id="firewallThreatProtectionId",
|
|
737
752
|
qtype="qtype"
|
|
738
753
|
)
|
|
739
754
|
'''
|
|
740
755
|
if __debug__:
|
|
741
756
|
type_hints = typing.get_type_hints(_typecheckingstub__61f0f7aa6db62533b4486bd58a4692d76a133c14cd2281a8ea8e083c9d952e92)
|
|
742
757
|
check_type(argname="argument action", value=action, expected_type=type_hints["action"])
|
|
743
|
-
check_type(argname="argument firewall_domain_list_id", value=firewall_domain_list_id, expected_type=type_hints["firewall_domain_list_id"])
|
|
744
758
|
check_type(argname="argument priority", value=priority, expected_type=type_hints["priority"])
|
|
745
759
|
check_type(argname="argument block_override_dns_type", value=block_override_dns_type, expected_type=type_hints["block_override_dns_type"])
|
|
746
760
|
check_type(argname="argument block_override_domain", value=block_override_domain, expected_type=type_hints["block_override_domain"])
|
|
747
761
|
check_type(argname="argument block_override_ttl", value=block_override_ttl, expected_type=type_hints["block_override_ttl"])
|
|
748
762
|
check_type(argname="argument block_response", value=block_response, expected_type=type_hints["block_response"])
|
|
763
|
+
check_type(argname="argument confidence_threshold", value=confidence_threshold, expected_type=type_hints["confidence_threshold"])
|
|
764
|
+
check_type(argname="argument dns_threat_protection", value=dns_threat_protection, expected_type=type_hints["dns_threat_protection"])
|
|
765
|
+
check_type(argname="argument firewall_domain_list_id", value=firewall_domain_list_id, expected_type=type_hints["firewall_domain_list_id"])
|
|
749
766
|
check_type(argname="argument firewall_domain_redirection_action", value=firewall_domain_redirection_action, expected_type=type_hints["firewall_domain_redirection_action"])
|
|
767
|
+
check_type(argname="argument firewall_threat_protection_id", value=firewall_threat_protection_id, expected_type=type_hints["firewall_threat_protection_id"])
|
|
750
768
|
check_type(argname="argument qtype", value=qtype, expected_type=type_hints["qtype"])
|
|
751
769
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
752
770
|
"action": action,
|
|
753
|
-
"firewall_domain_list_id": firewall_domain_list_id,
|
|
754
771
|
"priority": priority,
|
|
755
772
|
}
|
|
756
773
|
if block_override_dns_type is not None:
|
|
@@ -761,8 +778,16 @@ class CfnFirewallRuleGroup(
|
|
|
761
778
|
self._values["block_override_ttl"] = block_override_ttl
|
|
762
779
|
if block_response is not None:
|
|
763
780
|
self._values["block_response"] = block_response
|
|
781
|
+
if confidence_threshold is not None:
|
|
782
|
+
self._values["confidence_threshold"] = confidence_threshold
|
|
783
|
+
if dns_threat_protection is not None:
|
|
784
|
+
self._values["dns_threat_protection"] = dns_threat_protection
|
|
785
|
+
if firewall_domain_list_id is not None:
|
|
786
|
+
self._values["firewall_domain_list_id"] = firewall_domain_list_id
|
|
764
787
|
if firewall_domain_redirection_action is not None:
|
|
765
788
|
self._values["firewall_domain_redirection_action"] = firewall_domain_redirection_action
|
|
789
|
+
if firewall_threat_protection_id is not None:
|
|
790
|
+
self._values["firewall_threat_protection_id"] = firewall_threat_protection_id
|
|
766
791
|
if qtype is not None:
|
|
767
792
|
self._values["qtype"] = qtype
|
|
768
793
|
|
|
@@ -785,16 +810,6 @@ class CfnFirewallRuleGroup(
|
|
|
785
810
|
assert result is not None, "Required property 'action' is missing"
|
|
786
811
|
return typing.cast(builtins.str, result)
|
|
787
812
|
|
|
788
|
-
@builtins.property
|
|
789
|
-
def firewall_domain_list_id(self) -> builtins.str:
|
|
790
|
-
'''The ID of the domain list that's used in the rule.
|
|
791
|
-
|
|
792
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-firewalldomainlistid
|
|
793
|
-
'''
|
|
794
|
-
result = self._values.get("firewall_domain_list_id")
|
|
795
|
-
assert result is not None, "Required property 'firewall_domain_list_id' is missing"
|
|
796
|
-
return typing.cast(builtins.str, result)
|
|
797
|
-
|
|
798
813
|
@builtins.property
|
|
799
814
|
def priority(self) -> jsii.Number:
|
|
800
815
|
'''The priority of the rule in the rule group.
|
|
@@ -853,6 +868,33 @@ class CfnFirewallRuleGroup(
|
|
|
853
868
|
result = self._values.get("block_response")
|
|
854
869
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
855
870
|
|
|
871
|
+
@builtins.property
|
|
872
|
+
def confidence_threshold(self) -> typing.Optional[builtins.str]:
|
|
873
|
+
'''FirewallDomainRedirectionAction.
|
|
874
|
+
|
|
875
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-confidencethreshold
|
|
876
|
+
'''
|
|
877
|
+
result = self._values.get("confidence_threshold")
|
|
878
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
879
|
+
|
|
880
|
+
@builtins.property
|
|
881
|
+
def dns_threat_protection(self) -> typing.Optional[builtins.str]:
|
|
882
|
+
'''FirewallDomainRedirectionAction.
|
|
883
|
+
|
|
884
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-dnsthreatprotection
|
|
885
|
+
'''
|
|
886
|
+
result = self._values.get("dns_threat_protection")
|
|
887
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
888
|
+
|
|
889
|
+
@builtins.property
|
|
890
|
+
def firewall_domain_list_id(self) -> typing.Optional[builtins.str]:
|
|
891
|
+
'''The ID of the domain list that's used in the rule.
|
|
892
|
+
|
|
893
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-firewalldomainlistid
|
|
894
|
+
'''
|
|
895
|
+
result = self._values.get("firewall_domain_list_id")
|
|
896
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
897
|
+
|
|
856
898
|
@builtins.property
|
|
857
899
|
def firewall_domain_redirection_action(self) -> typing.Optional[builtins.str]:
|
|
858
900
|
'''How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME, or DNAME.
|
|
@@ -866,6 +908,15 @@ class CfnFirewallRuleGroup(
|
|
|
866
908
|
result = self._values.get("firewall_domain_redirection_action")
|
|
867
909
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
868
910
|
|
|
911
|
+
@builtins.property
|
|
912
|
+
def firewall_threat_protection_id(self) -> typing.Optional[builtins.str]:
|
|
913
|
+
'''ResourceId.
|
|
914
|
+
|
|
915
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-firewallthreatprotectionid
|
|
916
|
+
'''
|
|
917
|
+
result = self._values.get("firewall_threat_protection_id")
|
|
918
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
919
|
+
|
|
869
920
|
@builtins.property
|
|
870
921
|
def qtype(self) -> typing.Optional[builtins.str]:
|
|
871
922
|
'''The DNS query type you want the rule to evaluate. Allowed values are;
|
|
@@ -1349,7 +1400,6 @@ class CfnFirewallRuleGroupProps:
|
|
|
1349
1400
|
cfn_firewall_rule_group_props = route53resolver.CfnFirewallRuleGroupProps(
|
|
1350
1401
|
firewall_rules=[route53resolver.CfnFirewallRuleGroup.FirewallRuleProperty(
|
|
1351
1402
|
action="action",
|
|
1352
|
-
firewall_domain_list_id="firewallDomainListId",
|
|
1353
1403
|
priority=123,
|
|
1354
1404
|
|
|
1355
1405
|
# the properties below are optional
|
|
@@ -1357,7 +1407,11 @@ class CfnFirewallRuleGroupProps:
|
|
|
1357
1407
|
block_override_domain="blockOverrideDomain",
|
|
1358
1408
|
block_override_ttl=123,
|
|
1359
1409
|
block_response="blockResponse",
|
|
1410
|
+
confidence_threshold="confidenceThreshold",
|
|
1411
|
+
dns_threat_protection="dnsThreatProtection",
|
|
1412
|
+
firewall_domain_list_id="firewallDomainListId",
|
|
1360
1413
|
firewall_domain_redirection_action="firewallDomainRedirectionAction",
|
|
1414
|
+
firewall_threat_protection_id="firewallThreatProtectionId",
|
|
1361
1415
|
qtype="qtype"
|
|
1362
1416
|
)],
|
|
1363
1417
|
name="name",
|
|
@@ -4286,13 +4340,16 @@ def _typecheckingstub__68e88161bfa870a62d2b106ff0d76bb87c2d573da805d7d6852d0dff9
|
|
|
4286
4340
|
def _typecheckingstub__61f0f7aa6db62533b4486bd58a4692d76a133c14cd2281a8ea8e083c9d952e92(
|
|
4287
4341
|
*,
|
|
4288
4342
|
action: builtins.str,
|
|
4289
|
-
firewall_domain_list_id: builtins.str,
|
|
4290
4343
|
priority: jsii.Number,
|
|
4291
4344
|
block_override_dns_type: typing.Optional[builtins.str] = None,
|
|
4292
4345
|
block_override_domain: typing.Optional[builtins.str] = None,
|
|
4293
4346
|
block_override_ttl: typing.Optional[jsii.Number] = None,
|
|
4294
4347
|
block_response: typing.Optional[builtins.str] = None,
|
|
4348
|
+
confidence_threshold: typing.Optional[builtins.str] = None,
|
|
4349
|
+
dns_threat_protection: typing.Optional[builtins.str] = None,
|
|
4350
|
+
firewall_domain_list_id: typing.Optional[builtins.str] = None,
|
|
4295
4351
|
firewall_domain_redirection_action: typing.Optional[builtins.str] = None,
|
|
4352
|
+
firewall_threat_protection_id: typing.Optional[builtins.str] = None,
|
|
4296
4353
|
qtype: typing.Optional[builtins.str] = None,
|
|
4297
4354
|
) -> None:
|
|
4298
4355
|
"""Type checking stubs"""
|