aws-cdk-lib 2.166.0__py3-none-any.whl → 2.167.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 +1 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.166.0.jsii.tgz → aws-cdk-lib@2.167.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +9 -0
- aws_cdk/aws_appsync/__init__.py +209 -79
- aws_cdk/aws_bedrock/__init__.py +51 -45
- aws_cdk/aws_cleanrooms/__init__.py +66 -5
- aws_cdk/aws_cloudfront/__init__.py +21 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +59 -29
- aws_cdk/aws_datasync/__init__.py +51 -0
- aws_cdk/aws_ec2/__init__.py +305 -9
- aws_cdk/aws_ecs/__init__.py +37 -34
- aws_cdk/aws_elasticache/__init__.py +5 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +73 -46
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_inspectorv2/__init__.py +6 -12
- aws_cdk/aws_kms/__init__.py +2 -0
- aws_cdk/aws_lambda/__init__.py +336 -19
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_logs/__init__.py +214 -0
- aws_cdk/aws_nimblestudio/__init__.py +6 -103
- aws_cdk/aws_quicksight/__init__.py +481 -10
- aws_cdk/aws_rds/__init__.py +602 -0
- aws_cdk/aws_s3_assets/__init__.py +37 -0
- aws_cdk/aws_s3_deployment/__init__.py +5 -0
- aws_cdk/aws_servicecatalog/__init__.py +52 -4
- aws_cdk/aws_ses/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_synthetics/__init__.py +12 -1
- aws_cdk/aws_wisdom/__init__.py +344 -24
- aws_cdk/triggers/__init__.py +3 -3
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/RECORD +38 -38
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -4813,6 +4813,7 @@ class CfnDBCluster(
|
|
|
4813
4813
|
availability_zones=["availabilityZones"],
|
|
4814
4814
|
backtrack_window=123,
|
|
4815
4815
|
backup_retention_period=123,
|
|
4816
|
+
cluster_scalability_type="clusterScalabilityType",
|
|
4816
4817
|
copy_tags_to_snapshot=False,
|
|
4817
4818
|
database_name="databaseName",
|
|
4818
4819
|
db_cluster_identifier="dbClusterIdentifier",
|
|
@@ -4893,6 +4894,7 @@ class CfnDBCluster(
|
|
|
4893
4894
|
availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4894
4895
|
backtrack_window: typing.Optional[jsii.Number] = None,
|
|
4895
4896
|
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
4897
|
+
cluster_scalability_type: typing.Optional[builtins.str] = None,
|
|
4896
4898
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4897
4899
|
database_name: typing.Optional[builtins.str] = None,
|
|
4898
4900
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -4953,6 +4955,7 @@ class CfnDBCluster(
|
|
|
4953
4955
|
: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
|
|
4954
4956
|
: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).
|
|
4955
4957
|
: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
|
|
4958
|
+
:param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. When set to ``limitless`` , the cluster operates as an Aurora Limitless Database, allowing you to create a DB shard group for horizontal scaling (sharding) capabilities. When set to ``standard`` (the default), the cluster uses normal DB instance creation.
|
|
4956
4959
|
:param copy_tags_to_snapshot: A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4957
4960
|
:param database_name: The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see `Naming Constraints <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_Limits.html#RDS_Limits.Constraints>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
4958
4961
|
:param db_cluster_identifier: The DB cluster identifier. This parameter is stored as a lowercase string. Constraints: - Must contain from 1 to 63 letters, numbers, or hyphens. - First character must be a letter. - Can't end with a hyphen or contain two consecutive hyphens. Example: ``my-cluster1`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
@@ -5015,6 +5018,7 @@ class CfnDBCluster(
|
|
|
5015
5018
|
availability_zones=availability_zones,
|
|
5016
5019
|
backtrack_window=backtrack_window,
|
|
5017
5020
|
backup_retention_period=backup_retention_period,
|
|
5021
|
+
cluster_scalability_type=cluster_scalability_type,
|
|
5018
5022
|
copy_tags_to_snapshot=copy_tags_to_snapshot,
|
|
5019
5023
|
database_name=database_name,
|
|
5020
5024
|
db_cluster_identifier=db_cluster_identifier,
|
|
@@ -5301,6 +5305,19 @@ class CfnDBCluster(
|
|
|
5301
5305
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5302
5306
|
jsii.set(self, "backupRetentionPeriod", value) # pyright: ignore[reportArgumentType]
|
|
5303
5307
|
|
|
5308
|
+
@builtins.property
|
|
5309
|
+
@jsii.member(jsii_name="clusterScalabilityType")
|
|
5310
|
+
def cluster_scalability_type(self) -> typing.Optional[builtins.str]:
|
|
5311
|
+
'''Specifies the scalability mode of the Aurora DB cluster.'''
|
|
5312
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "clusterScalabilityType"))
|
|
5313
|
+
|
|
5314
|
+
@cluster_scalability_type.setter
|
|
5315
|
+
def cluster_scalability_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
5316
|
+
if __debug__:
|
|
5317
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aa79454f09bd865c2e6aaff719f2c4f06381f6f4444dd1e6568c9be39dfe64df)
|
|
5318
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5319
|
+
jsii.set(self, "clusterScalabilityType", value) # pyright: ignore[reportArgumentType]
|
|
5320
|
+
|
|
5304
5321
|
@builtins.property
|
|
5305
5322
|
@jsii.member(jsii_name="copyTagsToSnapshot")
|
|
5306
5323
|
def copy_tags_to_snapshot(
|
|
@@ -6971,6 +6988,7 @@ class CfnDBClusterParameterGroupProps:
|
|
|
6971
6988
|
"availability_zones": "availabilityZones",
|
|
6972
6989
|
"backtrack_window": "backtrackWindow",
|
|
6973
6990
|
"backup_retention_period": "backupRetentionPeriod",
|
|
6991
|
+
"cluster_scalability_type": "clusterScalabilityType",
|
|
6974
6992
|
"copy_tags_to_snapshot": "copyTagsToSnapshot",
|
|
6975
6993
|
"database_name": "databaseName",
|
|
6976
6994
|
"db_cluster_identifier": "dbClusterIdentifier",
|
|
@@ -7033,6 +7051,7 @@ class CfnDBClusterProps:
|
|
|
7033
7051
|
availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7034
7052
|
backtrack_window: typing.Optional[jsii.Number] = None,
|
|
7035
7053
|
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
7054
|
+
cluster_scalability_type: typing.Optional[builtins.str] = None,
|
|
7036
7055
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7037
7056
|
database_name: typing.Optional[builtins.str] = None,
|
|
7038
7057
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -7092,6 +7111,7 @@ class CfnDBClusterProps:
|
|
|
7092
7111
|
: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
|
|
7093
7112
|
: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).
|
|
7094
7113
|
: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
|
|
7114
|
+
:param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. When set to ``limitless`` , the cluster operates as an Aurora Limitless Database, allowing you to create a DB shard group for horizontal scaling (sharding) capabilities. When set to ``standard`` (the default), the cluster uses normal DB instance creation.
|
|
7095
7115
|
:param copy_tags_to_snapshot: A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them. Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
7096
7116
|
:param database_name: The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see `Naming Constraints <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_Limits.html#RDS_Limits.Constraints>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
7097
7117
|
:param db_cluster_identifier: The DB cluster identifier. This parameter is stored as a lowercase string. Constraints: - Must contain from 1 to 63 letters, numbers, or hyphens. - First character must be a letter. - Can't end with a hyphen or contain two consecutive hyphens. Example: ``my-cluster1`` Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
|
@@ -7164,6 +7184,7 @@ class CfnDBClusterProps:
|
|
|
7164
7184
|
availability_zones=["availabilityZones"],
|
|
7165
7185
|
backtrack_window=123,
|
|
7166
7186
|
backup_retention_period=123,
|
|
7187
|
+
cluster_scalability_type="clusterScalabilityType",
|
|
7167
7188
|
copy_tags_to_snapshot=False,
|
|
7168
7189
|
database_name="databaseName",
|
|
7169
7190
|
db_cluster_identifier="dbClusterIdentifier",
|
|
@@ -7240,6 +7261,7 @@ class CfnDBClusterProps:
|
|
|
7240
7261
|
check_type(argname="argument availability_zones", value=availability_zones, expected_type=type_hints["availability_zones"])
|
|
7241
7262
|
check_type(argname="argument backtrack_window", value=backtrack_window, expected_type=type_hints["backtrack_window"])
|
|
7242
7263
|
check_type(argname="argument backup_retention_period", value=backup_retention_period, expected_type=type_hints["backup_retention_period"])
|
|
7264
|
+
check_type(argname="argument cluster_scalability_type", value=cluster_scalability_type, expected_type=type_hints["cluster_scalability_type"])
|
|
7243
7265
|
check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
|
|
7244
7266
|
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
7245
7267
|
check_type(argname="argument db_cluster_identifier", value=db_cluster_identifier, expected_type=type_hints["db_cluster_identifier"])
|
|
@@ -7303,6 +7325,8 @@ class CfnDBClusterProps:
|
|
|
7303
7325
|
self._values["backtrack_window"] = backtrack_window
|
|
7304
7326
|
if backup_retention_period is not None:
|
|
7305
7327
|
self._values["backup_retention_period"] = backup_retention_period
|
|
7328
|
+
if cluster_scalability_type is not None:
|
|
7329
|
+
self._values["cluster_scalability_type"] = cluster_scalability_type
|
|
7306
7330
|
if copy_tags_to_snapshot is not None:
|
|
7307
7331
|
self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
|
|
7308
7332
|
if database_name is not None:
|
|
@@ -7496,6 +7520,17 @@ class CfnDBClusterProps:
|
|
|
7496
7520
|
result = self._values.get("backup_retention_period")
|
|
7497
7521
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7498
7522
|
|
|
7523
|
+
@builtins.property
|
|
7524
|
+
def cluster_scalability_type(self) -> typing.Optional[builtins.str]:
|
|
7525
|
+
'''Specifies the scalability mode of the Aurora DB cluster.
|
|
7526
|
+
|
|
7527
|
+
When set to ``limitless`` , the cluster operates as an Aurora Limitless Database, allowing you to create a DB shard group for horizontal scaling (sharding) capabilities. When set to ``standard`` (the default), the cluster uses normal DB instance creation.
|
|
7528
|
+
|
|
7529
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-clusterscalabilitytype
|
|
7530
|
+
'''
|
|
7531
|
+
result = self._values.get("cluster_scalability_type")
|
|
7532
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7533
|
+
|
|
7499
7534
|
@builtins.property
|
|
7500
7535
|
def copy_tags_to_snapshot(
|
|
7501
7536
|
self,
|
|
@@ -15494,6 +15529,433 @@ class CfnDBSecurityGroupProps:
|
|
|
15494
15529
|
)
|
|
15495
15530
|
|
|
15496
15531
|
|
|
15532
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
15533
|
+
class CfnDBShardGroup(
|
|
15534
|
+
_CfnResource_9df397a6,
|
|
15535
|
+
metaclass=jsii.JSIIMeta,
|
|
15536
|
+
jsii_type="aws-cdk-lib.aws_rds.CfnDBShardGroup",
|
|
15537
|
+
):
|
|
15538
|
+
'''Creates a new DB shard group for Aurora Limitless Database.
|
|
15539
|
+
|
|
15540
|
+
You must enable Aurora Limitless Database to create a DB shard group.
|
|
15541
|
+
|
|
15542
|
+
Valid for: Aurora DB clusters only
|
|
15543
|
+
|
|
15544
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html
|
|
15545
|
+
:cloudformationResource: AWS::RDS::DBShardGroup
|
|
15546
|
+
:exampleMetadata: fixture=_generated
|
|
15547
|
+
|
|
15548
|
+
Example::
|
|
15549
|
+
|
|
15550
|
+
# The code below shows an example of how to instantiate this type.
|
|
15551
|
+
# The values are placeholders you should change.
|
|
15552
|
+
from aws_cdk import aws_rds as rds
|
|
15553
|
+
|
|
15554
|
+
cfn_dBShard_group = rds.CfnDBShardGroup(self, "MyCfnDBShardGroup",
|
|
15555
|
+
db_cluster_identifier="dbClusterIdentifier",
|
|
15556
|
+
max_acu=123,
|
|
15557
|
+
|
|
15558
|
+
# the properties below are optional
|
|
15559
|
+
compute_redundancy=123,
|
|
15560
|
+
db_shard_group_identifier="dbShardGroupIdentifier",
|
|
15561
|
+
min_acu=123,
|
|
15562
|
+
publicly_accessible=False,
|
|
15563
|
+
tags=[CfnTag(
|
|
15564
|
+
key="key",
|
|
15565
|
+
value="value"
|
|
15566
|
+
)]
|
|
15567
|
+
)
|
|
15568
|
+
'''
|
|
15569
|
+
|
|
15570
|
+
def __init__(
|
|
15571
|
+
self,
|
|
15572
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
15573
|
+
id: builtins.str,
|
|
15574
|
+
*,
|
|
15575
|
+
db_cluster_identifier: builtins.str,
|
|
15576
|
+
max_acu: jsii.Number,
|
|
15577
|
+
compute_redundancy: typing.Optional[jsii.Number] = None,
|
|
15578
|
+
db_shard_group_identifier: typing.Optional[builtins.str] = None,
|
|
15579
|
+
min_acu: typing.Optional[jsii.Number] = None,
|
|
15580
|
+
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15581
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15582
|
+
) -> None:
|
|
15583
|
+
'''
|
|
15584
|
+
:param scope: Scope in which this resource is defined.
|
|
15585
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
15586
|
+
:param db_cluster_identifier: The name of the primary DB cluster for the DB shard group.
|
|
15587
|
+
:param max_acu: The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
|
|
15588
|
+
:param compute_redundancy: Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:. - 0 - Creates a DB shard group without a standby DB shard group. This is the default value. - 1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ). - 2 - Creates a DB shard group with two standby DB shard groups in two different AZs.
|
|
15589
|
+
:param db_shard_group_identifier: The name of the DB shard group.
|
|
15590
|
+
:param min_acu: The minimum capacity of the DB shard group in Aurora capacity units (ACUs).
|
|
15591
|
+
:param publicly_accessible: Specifies whether the DB shard group is publicly accessible. When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access to the DB shard group is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB shard group doesn't permit it. When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether ``DBSubnetGroupName`` is specified. If ``DBSubnetGroupName`` isn't specified, and ``PubliclyAccessible`` isn't specified, the following applies: - If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB shard group is private. - If the default VPC in the target Region has an internet gateway attached to it, the DB shard group is public. If ``DBSubnetGroupName`` is specified, and ``PubliclyAccessible`` isn't specified, the following applies: - If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB shard group is private. - If the subnets are part of a VPC that has an internet gateway attached to it, the DB shard group is public.
|
|
15592
|
+
:param tags: An optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group.
|
|
15593
|
+
'''
|
|
15594
|
+
if __debug__:
|
|
15595
|
+
type_hints = typing.get_type_hints(_typecheckingstub__52e68c9a7f034ba2ad83bff29281493c05184a08e26db3295de02a088592660a)
|
|
15596
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
15597
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
15598
|
+
props = CfnDBShardGroupProps(
|
|
15599
|
+
db_cluster_identifier=db_cluster_identifier,
|
|
15600
|
+
max_acu=max_acu,
|
|
15601
|
+
compute_redundancy=compute_redundancy,
|
|
15602
|
+
db_shard_group_identifier=db_shard_group_identifier,
|
|
15603
|
+
min_acu=min_acu,
|
|
15604
|
+
publicly_accessible=publicly_accessible,
|
|
15605
|
+
tags=tags,
|
|
15606
|
+
)
|
|
15607
|
+
|
|
15608
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
15609
|
+
|
|
15610
|
+
@jsii.member(jsii_name="inspect")
|
|
15611
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
15612
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
15613
|
+
|
|
15614
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
15615
|
+
'''
|
|
15616
|
+
if __debug__:
|
|
15617
|
+
type_hints = typing.get_type_hints(_typecheckingstub__534717861da9d37c4c6e4b6af6e0340e154b59f1237f7c9a80271281ca423787)
|
|
15618
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
15619
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
15620
|
+
|
|
15621
|
+
@jsii.member(jsii_name="renderProperties")
|
|
15622
|
+
def _render_properties(
|
|
15623
|
+
self,
|
|
15624
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
15625
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
15626
|
+
'''
|
|
15627
|
+
:param props: -
|
|
15628
|
+
'''
|
|
15629
|
+
if __debug__:
|
|
15630
|
+
type_hints = typing.get_type_hints(_typecheckingstub__84a35e2c792f5779c29a8b50d0abf25734a3c0005a0f4232dd2943b788a06d6e)
|
|
15631
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
15632
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
15633
|
+
|
|
15634
|
+
@jsii.python.classproperty
|
|
15635
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
15636
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
15637
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
15638
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
15639
|
+
|
|
15640
|
+
@builtins.property
|
|
15641
|
+
@jsii.member(jsii_name="attrDbShardGroupResourceId")
|
|
15642
|
+
def attr_db_shard_group_resource_id(self) -> builtins.str:
|
|
15643
|
+
'''The AWS Region -unique, immutable identifier for the DB shard group.
|
|
15644
|
+
|
|
15645
|
+
:cloudformationAttribute: DBShardGroupResourceId
|
|
15646
|
+
'''
|
|
15647
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDbShardGroupResourceId"))
|
|
15648
|
+
|
|
15649
|
+
@builtins.property
|
|
15650
|
+
@jsii.member(jsii_name="attrEndpoint")
|
|
15651
|
+
def attr_endpoint(self) -> builtins.str:
|
|
15652
|
+
'''This data type represents the information you need to connect to an Amazon RDS DB instance.
|
|
15653
|
+
|
|
15654
|
+
This data type is used as a response element in the following actions:
|
|
15655
|
+
|
|
15656
|
+
- ``CreateDBInstance``
|
|
15657
|
+
- ``DescribeDBInstances``
|
|
15658
|
+
- ``DeleteDBInstance``
|
|
15659
|
+
|
|
15660
|
+
For the data structure that represents Amazon Aurora DB cluster endpoints, see ``DBClusterEndpoint`` .
|
|
15661
|
+
|
|
15662
|
+
:cloudformationAttribute: Endpoint
|
|
15663
|
+
'''
|
|
15664
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEndpoint"))
|
|
15665
|
+
|
|
15666
|
+
@builtins.property
|
|
15667
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
15668
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
15669
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
15670
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
15671
|
+
|
|
15672
|
+
@builtins.property
|
|
15673
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
15674
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
15675
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
15676
|
+
|
|
15677
|
+
@builtins.property
|
|
15678
|
+
@jsii.member(jsii_name="dbClusterIdentifier")
|
|
15679
|
+
def db_cluster_identifier(self) -> builtins.str:
|
|
15680
|
+
'''The name of the primary DB cluster for the DB shard group.'''
|
|
15681
|
+
return typing.cast(builtins.str, jsii.get(self, "dbClusterIdentifier"))
|
|
15682
|
+
|
|
15683
|
+
@db_cluster_identifier.setter
|
|
15684
|
+
def db_cluster_identifier(self, value: builtins.str) -> None:
|
|
15685
|
+
if __debug__:
|
|
15686
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0fa185a2f40b9212b5147eb4d2e648cee489755a739dc82acd6694faed21144c)
|
|
15687
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15688
|
+
jsii.set(self, "dbClusterIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
15689
|
+
|
|
15690
|
+
@builtins.property
|
|
15691
|
+
@jsii.member(jsii_name="maxAcu")
|
|
15692
|
+
def max_acu(self) -> jsii.Number:
|
|
15693
|
+
'''The maximum capacity of the DB shard group in Aurora capacity units (ACUs).'''
|
|
15694
|
+
return typing.cast(jsii.Number, jsii.get(self, "maxAcu"))
|
|
15695
|
+
|
|
15696
|
+
@max_acu.setter
|
|
15697
|
+
def max_acu(self, value: jsii.Number) -> None:
|
|
15698
|
+
if __debug__:
|
|
15699
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6163ad5fb006f679705825f41c277b1da5dc16ed12dfceb41443fddbca344367)
|
|
15700
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15701
|
+
jsii.set(self, "maxAcu", value) # pyright: ignore[reportArgumentType]
|
|
15702
|
+
|
|
15703
|
+
@builtins.property
|
|
15704
|
+
@jsii.member(jsii_name="computeRedundancy")
|
|
15705
|
+
def compute_redundancy(self) -> typing.Optional[jsii.Number]:
|
|
15706
|
+
'''Specifies whether to create standby DB shard groups for the DB shard group.
|
|
15707
|
+
|
|
15708
|
+
Valid values are the following:.
|
|
15709
|
+
'''
|
|
15710
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "computeRedundancy"))
|
|
15711
|
+
|
|
15712
|
+
@compute_redundancy.setter
|
|
15713
|
+
def compute_redundancy(self, value: typing.Optional[jsii.Number]) -> None:
|
|
15714
|
+
if __debug__:
|
|
15715
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fd80e47e2c74410c2d1aeb8f579de907d725ba0e70da1b0753127e2df7f84637)
|
|
15716
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15717
|
+
jsii.set(self, "computeRedundancy", value) # pyright: ignore[reportArgumentType]
|
|
15718
|
+
|
|
15719
|
+
@builtins.property
|
|
15720
|
+
@jsii.member(jsii_name="dbShardGroupIdentifier")
|
|
15721
|
+
def db_shard_group_identifier(self) -> typing.Optional[builtins.str]:
|
|
15722
|
+
'''The name of the DB shard group.'''
|
|
15723
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dbShardGroupIdentifier"))
|
|
15724
|
+
|
|
15725
|
+
@db_shard_group_identifier.setter
|
|
15726
|
+
def db_shard_group_identifier(self, value: typing.Optional[builtins.str]) -> None:
|
|
15727
|
+
if __debug__:
|
|
15728
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7af11f6d2eed7f548342c81ece5676801f4d8625f66e847de29d2626431af392)
|
|
15729
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15730
|
+
jsii.set(self, "dbShardGroupIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
15731
|
+
|
|
15732
|
+
@builtins.property
|
|
15733
|
+
@jsii.member(jsii_name="minAcu")
|
|
15734
|
+
def min_acu(self) -> typing.Optional[jsii.Number]:
|
|
15735
|
+
'''The minimum capacity of the DB shard group in Aurora capacity units (ACUs).'''
|
|
15736
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "minAcu"))
|
|
15737
|
+
|
|
15738
|
+
@min_acu.setter
|
|
15739
|
+
def min_acu(self, value: typing.Optional[jsii.Number]) -> None:
|
|
15740
|
+
if __debug__:
|
|
15741
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0c6ca52dfd80fa80117e216210d5d25cc82690aab397e1de9dd9eb55e6bdf735)
|
|
15742
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15743
|
+
jsii.set(self, "minAcu", value) # pyright: ignore[reportArgumentType]
|
|
15744
|
+
|
|
15745
|
+
@builtins.property
|
|
15746
|
+
@jsii.member(jsii_name="publiclyAccessible")
|
|
15747
|
+
def publicly_accessible(
|
|
15748
|
+
self,
|
|
15749
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
15750
|
+
'''Specifies whether the DB shard group is publicly accessible.'''
|
|
15751
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "publiclyAccessible"))
|
|
15752
|
+
|
|
15753
|
+
@publicly_accessible.setter
|
|
15754
|
+
def publicly_accessible(
|
|
15755
|
+
self,
|
|
15756
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
15757
|
+
) -> None:
|
|
15758
|
+
if __debug__:
|
|
15759
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1b530f585e8ab66a043605af70336fcc88e00e107a4b74b4d628ab8b97ae684f)
|
|
15760
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15761
|
+
jsii.set(self, "publiclyAccessible", value) # pyright: ignore[reportArgumentType]
|
|
15762
|
+
|
|
15763
|
+
@builtins.property
|
|
15764
|
+
@jsii.member(jsii_name="tags")
|
|
15765
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
15766
|
+
'''An optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group.'''
|
|
15767
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
15768
|
+
|
|
15769
|
+
@tags.setter
|
|
15770
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
15771
|
+
if __debug__:
|
|
15772
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e53ef81264461b10bd3618ceed774b33f6e260d07c8e23c1e64729a118899057)
|
|
15773
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15774
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
15775
|
+
|
|
15776
|
+
|
|
15777
|
+
@jsii.data_type(
|
|
15778
|
+
jsii_type="aws-cdk-lib.aws_rds.CfnDBShardGroupProps",
|
|
15779
|
+
jsii_struct_bases=[],
|
|
15780
|
+
name_mapping={
|
|
15781
|
+
"db_cluster_identifier": "dbClusterIdentifier",
|
|
15782
|
+
"max_acu": "maxAcu",
|
|
15783
|
+
"compute_redundancy": "computeRedundancy",
|
|
15784
|
+
"db_shard_group_identifier": "dbShardGroupIdentifier",
|
|
15785
|
+
"min_acu": "minAcu",
|
|
15786
|
+
"publicly_accessible": "publiclyAccessible",
|
|
15787
|
+
"tags": "tags",
|
|
15788
|
+
},
|
|
15789
|
+
)
|
|
15790
|
+
class CfnDBShardGroupProps:
|
|
15791
|
+
def __init__(
|
|
15792
|
+
self,
|
|
15793
|
+
*,
|
|
15794
|
+
db_cluster_identifier: builtins.str,
|
|
15795
|
+
max_acu: jsii.Number,
|
|
15796
|
+
compute_redundancy: typing.Optional[jsii.Number] = None,
|
|
15797
|
+
db_shard_group_identifier: typing.Optional[builtins.str] = None,
|
|
15798
|
+
min_acu: typing.Optional[jsii.Number] = None,
|
|
15799
|
+
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15800
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15801
|
+
) -> None:
|
|
15802
|
+
'''Properties for defining a ``CfnDBShardGroup``.
|
|
15803
|
+
|
|
15804
|
+
:param db_cluster_identifier: The name of the primary DB cluster for the DB shard group.
|
|
15805
|
+
:param max_acu: The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
|
|
15806
|
+
:param compute_redundancy: Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:. - 0 - Creates a DB shard group without a standby DB shard group. This is the default value. - 1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ). - 2 - Creates a DB shard group with two standby DB shard groups in two different AZs.
|
|
15807
|
+
:param db_shard_group_identifier: The name of the DB shard group.
|
|
15808
|
+
:param min_acu: The minimum capacity of the DB shard group in Aurora capacity units (ACUs).
|
|
15809
|
+
:param publicly_accessible: Specifies whether the DB shard group is publicly accessible. When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access to the DB shard group is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB shard group doesn't permit it. When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether ``DBSubnetGroupName`` is specified. If ``DBSubnetGroupName`` isn't specified, and ``PubliclyAccessible`` isn't specified, the following applies: - If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB shard group is private. - If the default VPC in the target Region has an internet gateway attached to it, the DB shard group is public. If ``DBSubnetGroupName`` is specified, and ``PubliclyAccessible`` isn't specified, the following applies: - If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB shard group is private. - If the subnets are part of a VPC that has an internet gateway attached to it, the DB shard group is public.
|
|
15810
|
+
:param tags: An optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group.
|
|
15811
|
+
|
|
15812
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html
|
|
15813
|
+
:exampleMetadata: fixture=_generated
|
|
15814
|
+
|
|
15815
|
+
Example::
|
|
15816
|
+
|
|
15817
|
+
# The code below shows an example of how to instantiate this type.
|
|
15818
|
+
# The values are placeholders you should change.
|
|
15819
|
+
from aws_cdk import aws_rds as rds
|
|
15820
|
+
|
|
15821
|
+
cfn_dBShard_group_props = rds.CfnDBShardGroupProps(
|
|
15822
|
+
db_cluster_identifier="dbClusterIdentifier",
|
|
15823
|
+
max_acu=123,
|
|
15824
|
+
|
|
15825
|
+
# the properties below are optional
|
|
15826
|
+
compute_redundancy=123,
|
|
15827
|
+
db_shard_group_identifier="dbShardGroupIdentifier",
|
|
15828
|
+
min_acu=123,
|
|
15829
|
+
publicly_accessible=False,
|
|
15830
|
+
tags=[CfnTag(
|
|
15831
|
+
key="key",
|
|
15832
|
+
value="value"
|
|
15833
|
+
)]
|
|
15834
|
+
)
|
|
15835
|
+
'''
|
|
15836
|
+
if __debug__:
|
|
15837
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ef2e2c3ea9f2513c52e11e182ce1bd49fc39031812b9d1f5137293b8efa4336b)
|
|
15838
|
+
check_type(argname="argument db_cluster_identifier", value=db_cluster_identifier, expected_type=type_hints["db_cluster_identifier"])
|
|
15839
|
+
check_type(argname="argument max_acu", value=max_acu, expected_type=type_hints["max_acu"])
|
|
15840
|
+
check_type(argname="argument compute_redundancy", value=compute_redundancy, expected_type=type_hints["compute_redundancy"])
|
|
15841
|
+
check_type(argname="argument db_shard_group_identifier", value=db_shard_group_identifier, expected_type=type_hints["db_shard_group_identifier"])
|
|
15842
|
+
check_type(argname="argument min_acu", value=min_acu, expected_type=type_hints["min_acu"])
|
|
15843
|
+
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
15844
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
15845
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
15846
|
+
"db_cluster_identifier": db_cluster_identifier,
|
|
15847
|
+
"max_acu": max_acu,
|
|
15848
|
+
}
|
|
15849
|
+
if compute_redundancy is not None:
|
|
15850
|
+
self._values["compute_redundancy"] = compute_redundancy
|
|
15851
|
+
if db_shard_group_identifier is not None:
|
|
15852
|
+
self._values["db_shard_group_identifier"] = db_shard_group_identifier
|
|
15853
|
+
if min_acu is not None:
|
|
15854
|
+
self._values["min_acu"] = min_acu
|
|
15855
|
+
if publicly_accessible is not None:
|
|
15856
|
+
self._values["publicly_accessible"] = publicly_accessible
|
|
15857
|
+
if tags is not None:
|
|
15858
|
+
self._values["tags"] = tags
|
|
15859
|
+
|
|
15860
|
+
@builtins.property
|
|
15861
|
+
def db_cluster_identifier(self) -> builtins.str:
|
|
15862
|
+
'''The name of the primary DB cluster for the DB shard group.
|
|
15863
|
+
|
|
15864
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-dbclusteridentifier
|
|
15865
|
+
'''
|
|
15866
|
+
result = self._values.get("db_cluster_identifier")
|
|
15867
|
+
assert result is not None, "Required property 'db_cluster_identifier' is missing"
|
|
15868
|
+
return typing.cast(builtins.str, result)
|
|
15869
|
+
|
|
15870
|
+
@builtins.property
|
|
15871
|
+
def max_acu(self) -> jsii.Number:
|
|
15872
|
+
'''The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
|
|
15873
|
+
|
|
15874
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-maxacu
|
|
15875
|
+
'''
|
|
15876
|
+
result = self._values.get("max_acu")
|
|
15877
|
+
assert result is not None, "Required property 'max_acu' is missing"
|
|
15878
|
+
return typing.cast(jsii.Number, result)
|
|
15879
|
+
|
|
15880
|
+
@builtins.property
|
|
15881
|
+
def compute_redundancy(self) -> typing.Optional[jsii.Number]:
|
|
15882
|
+
'''Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:.
|
|
15883
|
+
|
|
15884
|
+
- 0 - Creates a DB shard group without a standby DB shard group. This is the default value.
|
|
15885
|
+
- 1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ).
|
|
15886
|
+
- 2 - Creates a DB shard group with two standby DB shard groups in two different AZs.
|
|
15887
|
+
|
|
15888
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-computeredundancy
|
|
15889
|
+
'''
|
|
15890
|
+
result = self._values.get("compute_redundancy")
|
|
15891
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
15892
|
+
|
|
15893
|
+
@builtins.property
|
|
15894
|
+
def db_shard_group_identifier(self) -> typing.Optional[builtins.str]:
|
|
15895
|
+
'''The name of the DB shard group.
|
|
15896
|
+
|
|
15897
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-dbshardgroupidentifier
|
|
15898
|
+
'''
|
|
15899
|
+
result = self._values.get("db_shard_group_identifier")
|
|
15900
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
15901
|
+
|
|
15902
|
+
@builtins.property
|
|
15903
|
+
def min_acu(self) -> typing.Optional[jsii.Number]:
|
|
15904
|
+
'''The minimum capacity of the DB shard group in Aurora capacity units (ACUs).
|
|
15905
|
+
|
|
15906
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-minacu
|
|
15907
|
+
'''
|
|
15908
|
+
result = self._values.get("min_acu")
|
|
15909
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
15910
|
+
|
|
15911
|
+
@builtins.property
|
|
15912
|
+
def publicly_accessible(
|
|
15913
|
+
self,
|
|
15914
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
15915
|
+
'''Specifies whether the DB shard group is publicly accessible.
|
|
15916
|
+
|
|
15917
|
+
When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access to the DB shard group is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB shard group doesn't permit it.
|
|
15918
|
+
|
|
15919
|
+
When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address.
|
|
15920
|
+
|
|
15921
|
+
Default: The default behavior varies depending on whether ``DBSubnetGroupName`` is specified.
|
|
15922
|
+
|
|
15923
|
+
If ``DBSubnetGroupName`` isn't specified, and ``PubliclyAccessible`` isn't specified, the following applies:
|
|
15924
|
+
|
|
15925
|
+
- If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB shard group is private.
|
|
15926
|
+
- If the default VPC in the target Region has an internet gateway attached to it, the DB shard group is public.
|
|
15927
|
+
|
|
15928
|
+
If ``DBSubnetGroupName`` is specified, and ``PubliclyAccessible`` isn't specified, the following applies:
|
|
15929
|
+
|
|
15930
|
+
- If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB shard group is private.
|
|
15931
|
+
- If the subnets are part of a VPC that has an internet gateway attached to it, the DB shard group is public.
|
|
15932
|
+
|
|
15933
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-publiclyaccessible
|
|
15934
|
+
'''
|
|
15935
|
+
result = self._values.get("publicly_accessible")
|
|
15936
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
15937
|
+
|
|
15938
|
+
@builtins.property
|
|
15939
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
15940
|
+
'''An optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group.
|
|
15941
|
+
|
|
15942
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-tags
|
|
15943
|
+
'''
|
|
15944
|
+
result = self._values.get("tags")
|
|
15945
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
15946
|
+
|
|
15947
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
15948
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
15949
|
+
|
|
15950
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
15951
|
+
return not (rhs == self)
|
|
15952
|
+
|
|
15953
|
+
def __repr__(self) -> str:
|
|
15954
|
+
return "CfnDBShardGroupProps(%s)" % ", ".join(
|
|
15955
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
15956
|
+
)
|
|
15957
|
+
|
|
15958
|
+
|
|
15497
15959
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
15498
15960
|
class CfnDBSubnetGroup(
|
|
15499
15961
|
_CfnResource_9df397a6,
|
|
@@ -32552,6 +33014,18 @@ class OracleEngineVersion(
|
|
|
32552
33014
|
'''Version "19.0.0.0.ru-2024-04.rur-2024-04.r1".'''
|
|
32553
33015
|
return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_19_0_0_0_2024_04_R1"))
|
|
32554
33016
|
|
|
33017
|
+
@jsii.python.classproperty
|
|
33018
|
+
@jsii.member(jsii_name="VER_19_0_0_0_2024_07_R1")
|
|
33019
|
+
def VER_19_0_0_0_2024_07_R1(cls) -> "OracleEngineVersion":
|
|
33020
|
+
'''Version "19.0.0.0.ru-2024-07.rur-2024-07.r1".'''
|
|
33021
|
+
return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_19_0_0_0_2024_07_R1"))
|
|
33022
|
+
|
|
33023
|
+
@jsii.python.classproperty
|
|
33024
|
+
@jsii.member(jsii_name="VER_19_0_0_0_2024_10_R1")
|
|
33025
|
+
def VER_19_0_0_0_2024_10_R1(cls) -> "OracleEngineVersion":
|
|
33026
|
+
'''Version "19.0.0.0.ru-2024-10.rur-2024-10.r1".'''
|
|
33027
|
+
return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_19_0_0_0_2024_10_R1"))
|
|
33028
|
+
|
|
32555
33029
|
@jsii.python.classproperty
|
|
32556
33030
|
@jsii.member(jsii_name="VER_21")
|
|
32557
33031
|
def VER_21(cls) -> "OracleEngineVersion":
|
|
@@ -32624,6 +33098,18 @@ class OracleEngineVersion(
|
|
|
32624
33098
|
'''Version "21.0.0.0.ru-2024-04.rur-2024-04.r1".'''
|
|
32625
33099
|
return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_21_0_0_0_2024_04_R1"))
|
|
32626
33100
|
|
|
33101
|
+
@jsii.python.classproperty
|
|
33102
|
+
@jsii.member(jsii_name="VER_21_0_0_0_2024_07_R1")
|
|
33103
|
+
def VER_21_0_0_0_2024_07_R1(cls) -> "OracleEngineVersion":
|
|
33104
|
+
'''Version "21.0.0.0.ru-2024-07.rur-2024-07.r1".'''
|
|
33105
|
+
return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_21_0_0_0_2024_07_R1"))
|
|
33106
|
+
|
|
33107
|
+
@jsii.python.classproperty
|
|
33108
|
+
@jsii.member(jsii_name="VER_21_0_0_0_2024_10_R1")
|
|
33109
|
+
def VER_21_0_0_0_2024_10_R1(cls) -> "OracleEngineVersion":
|
|
33110
|
+
'''Version "21.0.0.0.ru-2024-10.rur-2024-10.r1".'''
|
|
33111
|
+
return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_21_0_0_0_2024_10_R1"))
|
|
33112
|
+
|
|
32627
33113
|
@builtins.property
|
|
32628
33114
|
@jsii.member(jsii_name="oracleFullVersion")
|
|
32629
33115
|
def oracle_full_version(self) -> builtins.str:
|
|
@@ -38066,6 +38552,12 @@ class SqlServerEngineVersion(
|
|
|
38066
38552
|
'''Version "13.00.6445.1.v1".'''
|
|
38067
38553
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6445_1_V1"))
|
|
38068
38554
|
|
|
38555
|
+
@jsii.python.classproperty
|
|
38556
|
+
@jsii.member(jsii_name="VER_13_00_6450_1_V1")
|
|
38557
|
+
def VER_13_00_6450_1_V1(cls) -> "SqlServerEngineVersion":
|
|
38558
|
+
'''Version "13.00.6450.1.v1".'''
|
|
38559
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6450_1_V1"))
|
|
38560
|
+
|
|
38069
38561
|
@jsii.python.classproperty
|
|
38070
38562
|
@jsii.member(jsii_name="VER_14")
|
|
38071
38563
|
def VER_14(cls) -> "SqlServerEngineVersion":
|
|
@@ -38204,6 +38696,12 @@ class SqlServerEngineVersion(
|
|
|
38204
38696
|
'''Version "14.00.3475.1.v1 ".'''
|
|
38205
38697
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3475_1_V1"))
|
|
38206
38698
|
|
|
38699
|
+
@jsii.python.classproperty
|
|
38700
|
+
@jsii.member(jsii_name="VER_14_00_3480_1_V1")
|
|
38701
|
+
def VER_14_00_3480_1_V1(cls) -> "SqlServerEngineVersion":
|
|
38702
|
+
'''Version "14.00.3480.1.v1 ".'''
|
|
38703
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3480_1_V1"))
|
|
38704
|
+
|
|
38207
38705
|
@jsii.python.classproperty
|
|
38208
38706
|
@jsii.member(jsii_name="VER_15")
|
|
38209
38707
|
def VER_15(cls) -> "SqlServerEngineVersion":
|
|
@@ -38306,6 +38804,12 @@ class SqlServerEngineVersion(
|
|
|
38306
38804
|
'''Version "15.00.4390.2.v1".'''
|
|
38307
38805
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4390_2_V1"))
|
|
38308
38806
|
|
|
38807
|
+
@jsii.python.classproperty
|
|
38808
|
+
@jsii.member(jsii_name="VER_15_00_4395_2_V1")
|
|
38809
|
+
def VER_15_00_4395_2_V1(cls) -> "SqlServerEngineVersion":
|
|
38810
|
+
'''Version "15.00.4395.2.v1".'''
|
|
38811
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4395_2_V1"))
|
|
38812
|
+
|
|
38309
38813
|
@jsii.python.classproperty
|
|
38310
38814
|
@jsii.member(jsii_name="VER_16")
|
|
38311
38815
|
def VER_16(cls) -> "SqlServerEngineVersion":
|
|
@@ -38366,6 +38870,12 @@ class SqlServerEngineVersion(
|
|
|
38366
38870
|
'''Version "16.00.4140.3.v1".'''
|
|
38367
38871
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4140_3_V1"))
|
|
38368
38872
|
|
|
38873
|
+
@jsii.python.classproperty
|
|
38874
|
+
@jsii.member(jsii_name="VER_16_00_4150_1_V1")
|
|
38875
|
+
def VER_16_00_4150_1_V1(cls) -> "SqlServerEngineVersion":
|
|
38876
|
+
'''Version "16.00.4150.1.v1".'''
|
|
38877
|
+
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4150_1_V1"))
|
|
38878
|
+
|
|
38369
38879
|
@builtins.property
|
|
38370
38880
|
@jsii.member(jsii_name="sqlServerFullVersion")
|
|
38371
38881
|
def sql_server_full_version(self) -> builtins.str:
|
|
@@ -44987,6 +45497,8 @@ __all__ = [
|
|
|
44987
45497
|
"CfnDBSecurityGroupIngress",
|
|
44988
45498
|
"CfnDBSecurityGroupIngressProps",
|
|
44989
45499
|
"CfnDBSecurityGroupProps",
|
|
45500
|
+
"CfnDBShardGroup",
|
|
45501
|
+
"CfnDBShardGroupProps",
|
|
44990
45502
|
"CfnDBSubnetGroup",
|
|
44991
45503
|
"CfnDBSubnetGroupProps",
|
|
44992
45504
|
"CfnEventSubscription",
|
|
@@ -45307,6 +45819,7 @@ def _typecheckingstub__1eb14b9dcc306eabcc2963c7b6ef9b87bf8d616bb5691dbc6656242be
|
|
|
45307
45819
|
availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
45308
45820
|
backtrack_window: typing.Optional[jsii.Number] = None,
|
|
45309
45821
|
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
45822
|
+
cluster_scalability_type: typing.Optional[builtins.str] = None,
|
|
45310
45823
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
45311
45824
|
database_name: typing.Optional[builtins.str] = None,
|
|
45312
45825
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -45409,6 +45922,12 @@ def _typecheckingstub__8dbb89a95c41c7cbbc3c4804ae23a1ef19f4b4b61e97878b54d704b3d
|
|
|
45409
45922
|
"""Type checking stubs"""
|
|
45410
45923
|
pass
|
|
45411
45924
|
|
|
45925
|
+
def _typecheckingstub__aa79454f09bd865c2e6aaff719f2c4f06381f6f4444dd1e6568c9be39dfe64df(
|
|
45926
|
+
value: typing.Optional[builtins.str],
|
|
45927
|
+
) -> None:
|
|
45928
|
+
"""Type checking stubs"""
|
|
45929
|
+
pass
|
|
45930
|
+
|
|
45412
45931
|
def _typecheckingstub__7aaebe942bef486fa4f2def6b116a47a3513d6909fa29d9fdd20eb31f9d9dc03(
|
|
45413
45932
|
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
45414
45933
|
) -> None:
|
|
@@ -45834,6 +46353,7 @@ def _typecheckingstub__aaf089104646bb0ea95e48cd2107d642585c3eb3785a21112fc029b15
|
|
|
45834
46353
|
availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
45835
46354
|
backtrack_window: typing.Optional[jsii.Number] = None,
|
|
45836
46355
|
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
46356
|
+
cluster_scalability_type: typing.Optional[builtins.str] = None,
|
|
45837
46357
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
45838
46358
|
database_name: typing.Optional[builtins.str] = None,
|
|
45839
46359
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -47063,6 +47583,88 @@ def _typecheckingstub__353ab04c42f26a9f8baa07d83a7623ee82f726e2e95aed3dc34a61071
|
|
|
47063
47583
|
"""Type checking stubs"""
|
|
47064
47584
|
pass
|
|
47065
47585
|
|
|
47586
|
+
def _typecheckingstub__52e68c9a7f034ba2ad83bff29281493c05184a08e26db3295de02a088592660a(
|
|
47587
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
47588
|
+
id: builtins.str,
|
|
47589
|
+
*,
|
|
47590
|
+
db_cluster_identifier: builtins.str,
|
|
47591
|
+
max_acu: jsii.Number,
|
|
47592
|
+
compute_redundancy: typing.Optional[jsii.Number] = None,
|
|
47593
|
+
db_shard_group_identifier: typing.Optional[builtins.str] = None,
|
|
47594
|
+
min_acu: typing.Optional[jsii.Number] = None,
|
|
47595
|
+
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
47596
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47597
|
+
) -> None:
|
|
47598
|
+
"""Type checking stubs"""
|
|
47599
|
+
pass
|
|
47600
|
+
|
|
47601
|
+
def _typecheckingstub__534717861da9d37c4c6e4b6af6e0340e154b59f1237f7c9a80271281ca423787(
|
|
47602
|
+
inspector: _TreeInspector_488e0dd5,
|
|
47603
|
+
) -> None:
|
|
47604
|
+
"""Type checking stubs"""
|
|
47605
|
+
pass
|
|
47606
|
+
|
|
47607
|
+
def _typecheckingstub__84a35e2c792f5779c29a8b50d0abf25734a3c0005a0f4232dd2943b788a06d6e(
|
|
47608
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
47609
|
+
) -> None:
|
|
47610
|
+
"""Type checking stubs"""
|
|
47611
|
+
pass
|
|
47612
|
+
|
|
47613
|
+
def _typecheckingstub__0fa185a2f40b9212b5147eb4d2e648cee489755a739dc82acd6694faed21144c(
|
|
47614
|
+
value: builtins.str,
|
|
47615
|
+
) -> None:
|
|
47616
|
+
"""Type checking stubs"""
|
|
47617
|
+
pass
|
|
47618
|
+
|
|
47619
|
+
def _typecheckingstub__6163ad5fb006f679705825f41c277b1da5dc16ed12dfceb41443fddbca344367(
|
|
47620
|
+
value: jsii.Number,
|
|
47621
|
+
) -> None:
|
|
47622
|
+
"""Type checking stubs"""
|
|
47623
|
+
pass
|
|
47624
|
+
|
|
47625
|
+
def _typecheckingstub__fd80e47e2c74410c2d1aeb8f579de907d725ba0e70da1b0753127e2df7f84637(
|
|
47626
|
+
value: typing.Optional[jsii.Number],
|
|
47627
|
+
) -> None:
|
|
47628
|
+
"""Type checking stubs"""
|
|
47629
|
+
pass
|
|
47630
|
+
|
|
47631
|
+
def _typecheckingstub__7af11f6d2eed7f548342c81ece5676801f4d8625f66e847de29d2626431af392(
|
|
47632
|
+
value: typing.Optional[builtins.str],
|
|
47633
|
+
) -> None:
|
|
47634
|
+
"""Type checking stubs"""
|
|
47635
|
+
pass
|
|
47636
|
+
|
|
47637
|
+
def _typecheckingstub__0c6ca52dfd80fa80117e216210d5d25cc82690aab397e1de9dd9eb55e6bdf735(
|
|
47638
|
+
value: typing.Optional[jsii.Number],
|
|
47639
|
+
) -> None:
|
|
47640
|
+
"""Type checking stubs"""
|
|
47641
|
+
pass
|
|
47642
|
+
|
|
47643
|
+
def _typecheckingstub__1b530f585e8ab66a043605af70336fcc88e00e107a4b74b4d628ab8b97ae684f(
|
|
47644
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
47645
|
+
) -> None:
|
|
47646
|
+
"""Type checking stubs"""
|
|
47647
|
+
pass
|
|
47648
|
+
|
|
47649
|
+
def _typecheckingstub__e53ef81264461b10bd3618ceed774b33f6e260d07c8e23c1e64729a118899057(
|
|
47650
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
47651
|
+
) -> None:
|
|
47652
|
+
"""Type checking stubs"""
|
|
47653
|
+
pass
|
|
47654
|
+
|
|
47655
|
+
def _typecheckingstub__ef2e2c3ea9f2513c52e11e182ce1bd49fc39031812b9d1f5137293b8efa4336b(
|
|
47656
|
+
*,
|
|
47657
|
+
db_cluster_identifier: builtins.str,
|
|
47658
|
+
max_acu: jsii.Number,
|
|
47659
|
+
compute_redundancy: typing.Optional[jsii.Number] = None,
|
|
47660
|
+
db_shard_group_identifier: typing.Optional[builtins.str] = None,
|
|
47661
|
+
min_acu: typing.Optional[jsii.Number] = None,
|
|
47662
|
+
publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
47663
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47664
|
+
) -> None:
|
|
47665
|
+
"""Type checking stubs"""
|
|
47666
|
+
pass
|
|
47667
|
+
|
|
47066
47668
|
def _typecheckingstub__3437b6f3359034732d6fbef14006ac020c94fa5b18aa95cb4c8bb7332cc58dc7(
|
|
47067
47669
|
scope: _constructs_77d1e7e8.Construct,
|
|
47068
47670
|
id: builtins.str,
|