aws-cdk-lib 2.165.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.165.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 +2271 -359
- aws_cdk/aws_backup/__init__.py +57 -31
- aws_cdk/aws_bedrock/__init__.py +994 -197
- 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_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +0 -8
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +60 -7
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +762 -0
- aws_cdk/aws_dynamodb/__init__.py +13 -8
- aws_cdk/aws_ec2/__init__.py +316 -11
- aws_cdk/aws_ecs/__init__.py +20 -7
- aws_cdk/aws_elasticache/__init__.py +16 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +73 -46
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_inspectorv2/__init__.py +6 -12
- aws_cdk/aws_kinesis/__init__.py +297 -1
- aws_cdk/aws_kms/__init__.py +2 -0
- aws_cdk/aws_lambda/__init__.py +339 -22
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_logs/__init__.py +214 -0
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_nimblestudio/__init__.py +6 -103
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +2 -0
- aws_cdk/aws_quicksight/__init__.py +481 -10
- aws_cdk/aws_rds/__init__.py +667 -16
- aws_cdk/aws_route53/__init__.py +38 -12
- aws_cdk/aws_s3_assets/__init__.py +37 -0
- aws_cdk/aws_s3_deployment/__init__.py +18 -7
- aws_cdk/aws_sagemaker/__init__.py +61 -25
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_servicecatalog/__init__.py +52 -4
- aws_cdk/aws_ses/__init__.py +22 -1
- aws_cdk/aws_sqs/__init__.py +12 -9
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_synthetics/__init__.py +133 -1
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2348 -54
- aws_cdk/triggers/__init__.py +3 -3
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/RECORD +60 -60
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -122,6 +122,21 @@ rds.DatabaseClusterFromSnapshot(self, "Database",
|
|
|
122
122
|
)
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
+
By default, automatic minor version upgrades for the engine type are enabled in a cluster, but you can also disable this.
|
|
126
|
+
To do so, set `autoMinorVersionUpgrade` to `false`.
|
|
127
|
+
|
|
128
|
+
```python
|
|
129
|
+
# vpc: ec2.IVpc
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
rds.DatabaseCluster(self, "DatabaseCluster",
|
|
133
|
+
engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_07_0),
|
|
134
|
+
writer=rds.ClusterInstance.serverless_v2("writerInstance"),
|
|
135
|
+
vpc=vpc,
|
|
136
|
+
auto_minor_version_upgrade=False
|
|
137
|
+
)
|
|
138
|
+
```
|
|
139
|
+
|
|
125
140
|
### Updating the database instances in a cluster
|
|
126
141
|
|
|
127
142
|
Database cluster instances may be updated in bulk or on a rolling basis.
|
|
@@ -2067,17 +2082,17 @@ class AuroraMysqlClusterEngineProps:
|
|
|
2067
2082
|
|
|
2068
2083
|
cluster = rds.DatabaseCluster(self, "Database",
|
|
2069
2084
|
engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
|
|
2085
|
+
credentials=rds.Credentials.from_generated_secret("clusteradmin"), # Optional - will default to 'admin' username and generated password
|
|
2070
2086
|
writer=rds.ClusterInstance.provisioned("writer",
|
|
2071
|
-
|
|
2087
|
+
publicly_accessible=False
|
|
2072
2088
|
),
|
|
2073
|
-
serverless_v2_min_capacity=6.5,
|
|
2074
|
-
serverless_v2_max_capacity=64,
|
|
2075
2089
|
readers=[
|
|
2076
|
-
|
|
2077
|
-
rds.ClusterInstance.serverless_v2("reader1", scale_with_writer=True),
|
|
2078
|
-
# will be put in promotion tier 2 and will not scale with the writer
|
|
2090
|
+
rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
|
|
2079
2091
|
rds.ClusterInstance.serverless_v2("reader2")
|
|
2080
2092
|
],
|
|
2093
|
+
vpc_subnets=ec2.SubnetSelection(
|
|
2094
|
+
subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
|
|
2095
|
+
),
|
|
2081
2096
|
vpc=vpc
|
|
2082
2097
|
)
|
|
2083
2098
|
'''
|
|
@@ -2123,17 +2138,11 @@ class AuroraMysqlEngineVersion(
|
|
|
2123
2138
|
|
|
2124
2139
|
cluster = rds.DatabaseCluster(self, "Database",
|
|
2125
2140
|
engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0),
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
publicly_accessible=False
|
|
2129
|
-
),
|
|
2130
|
-
readers=[
|
|
2131
|
-
rds.ClusterInstance.provisioned("reader1", promotion_tier=1),
|
|
2132
|
-
rds.ClusterInstance.serverless_v2("reader2")
|
|
2133
|
-
],
|
|
2134
|
-
vpc_subnets=ec2.SubnetSelection(
|
|
2135
|
-
subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
|
|
2141
|
+
writer=rds.ClusterInstance.provisioned("Instance",
|
|
2142
|
+
instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL)
|
|
2136
2143
|
),
|
|
2144
|
+
readers=[rds.ClusterInstance.provisioned("reader")],
|
|
2145
|
+
instance_update_behaviour=rds.InstanceUpdateBehaviour.ROLLING, # Optional - defaults to rds.InstanceUpdateBehaviour.BULK
|
|
2137
2146
|
vpc=vpc
|
|
2138
2147
|
)
|
|
2139
2148
|
'''
|
|
@@ -4804,6 +4813,7 @@ class CfnDBCluster(
|
|
|
4804
4813
|
availability_zones=["availabilityZones"],
|
|
4805
4814
|
backtrack_window=123,
|
|
4806
4815
|
backup_retention_period=123,
|
|
4816
|
+
cluster_scalability_type="clusterScalabilityType",
|
|
4807
4817
|
copy_tags_to_snapshot=False,
|
|
4808
4818
|
database_name="databaseName",
|
|
4809
4819
|
db_cluster_identifier="dbClusterIdentifier",
|
|
@@ -4884,6 +4894,7 @@ class CfnDBCluster(
|
|
|
4884
4894
|
availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4885
4895
|
backtrack_window: typing.Optional[jsii.Number] = None,
|
|
4886
4896
|
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
4897
|
+
cluster_scalability_type: typing.Optional[builtins.str] = None,
|
|
4887
4898
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4888
4899
|
database_name: typing.Optional[builtins.str] = None,
|
|
4889
4900
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -4944,6 +4955,7 @@ class CfnDBCluster(
|
|
|
4944
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
|
|
4945
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).
|
|
4946
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.
|
|
4947
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
|
|
4948
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
|
|
4949
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
|
|
@@ -5006,6 +5018,7 @@ class CfnDBCluster(
|
|
|
5006
5018
|
availability_zones=availability_zones,
|
|
5007
5019
|
backtrack_window=backtrack_window,
|
|
5008
5020
|
backup_retention_period=backup_retention_period,
|
|
5021
|
+
cluster_scalability_type=cluster_scalability_type,
|
|
5009
5022
|
copy_tags_to_snapshot=copy_tags_to_snapshot,
|
|
5010
5023
|
database_name=database_name,
|
|
5011
5024
|
db_cluster_identifier=db_cluster_identifier,
|
|
@@ -5292,6 +5305,19 @@ class CfnDBCluster(
|
|
|
5292
5305
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5293
5306
|
jsii.set(self, "backupRetentionPeriod", value) # pyright: ignore[reportArgumentType]
|
|
5294
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
|
+
|
|
5295
5321
|
@builtins.property
|
|
5296
5322
|
@jsii.member(jsii_name="copyTagsToSnapshot")
|
|
5297
5323
|
def copy_tags_to_snapshot(
|
|
@@ -6962,6 +6988,7 @@ class CfnDBClusterParameterGroupProps:
|
|
|
6962
6988
|
"availability_zones": "availabilityZones",
|
|
6963
6989
|
"backtrack_window": "backtrackWindow",
|
|
6964
6990
|
"backup_retention_period": "backupRetentionPeriod",
|
|
6991
|
+
"cluster_scalability_type": "clusterScalabilityType",
|
|
6965
6992
|
"copy_tags_to_snapshot": "copyTagsToSnapshot",
|
|
6966
6993
|
"database_name": "databaseName",
|
|
6967
6994
|
"db_cluster_identifier": "dbClusterIdentifier",
|
|
@@ -7024,6 +7051,7 @@ class CfnDBClusterProps:
|
|
|
7024
7051
|
availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7025
7052
|
backtrack_window: typing.Optional[jsii.Number] = None,
|
|
7026
7053
|
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
7054
|
+
cluster_scalability_type: typing.Optional[builtins.str] = None,
|
|
7027
7055
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7028
7056
|
database_name: typing.Optional[builtins.str] = None,
|
|
7029
7057
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -7083,6 +7111,7 @@ class CfnDBClusterProps:
|
|
|
7083
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
|
|
7084
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).
|
|
7085
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.
|
|
7086
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
|
|
7087
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
|
|
7088
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
|
|
@@ -7155,6 +7184,7 @@ class CfnDBClusterProps:
|
|
|
7155
7184
|
availability_zones=["availabilityZones"],
|
|
7156
7185
|
backtrack_window=123,
|
|
7157
7186
|
backup_retention_period=123,
|
|
7187
|
+
cluster_scalability_type="clusterScalabilityType",
|
|
7158
7188
|
copy_tags_to_snapshot=False,
|
|
7159
7189
|
database_name="databaseName",
|
|
7160
7190
|
db_cluster_identifier="dbClusterIdentifier",
|
|
@@ -7231,6 +7261,7 @@ class CfnDBClusterProps:
|
|
|
7231
7261
|
check_type(argname="argument availability_zones", value=availability_zones, expected_type=type_hints["availability_zones"])
|
|
7232
7262
|
check_type(argname="argument backtrack_window", value=backtrack_window, expected_type=type_hints["backtrack_window"])
|
|
7233
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"])
|
|
7234
7265
|
check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
|
|
7235
7266
|
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
7236
7267
|
check_type(argname="argument db_cluster_identifier", value=db_cluster_identifier, expected_type=type_hints["db_cluster_identifier"])
|
|
@@ -7294,6 +7325,8 @@ class CfnDBClusterProps:
|
|
|
7294
7325
|
self._values["backtrack_window"] = backtrack_window
|
|
7295
7326
|
if backup_retention_period is not None:
|
|
7296
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
|
|
7297
7330
|
if copy_tags_to_snapshot is not None:
|
|
7298
7331
|
self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
|
|
7299
7332
|
if database_name is not None:
|
|
@@ -7487,6 +7520,17 @@ class CfnDBClusterProps:
|
|
|
7487
7520
|
result = self._values.get("backup_retention_period")
|
|
7488
7521
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7489
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
|
+
|
|
7490
7534
|
@builtins.property
|
|
7491
7535
|
def copy_tags_to_snapshot(
|
|
7492
7536
|
self,
|
|
@@ -15485,6 +15529,433 @@ class CfnDBSecurityGroupProps:
|
|
|
15485
15529
|
)
|
|
15486
15530
|
|
|
15487
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
|
+
|
|
15488
15959
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
15489
15960
|
class CfnDBSubnetGroup(
|
|
15490
15961
|
_CfnResource_9df397a6,
|
|
@@ -19970,6 +20441,7 @@ class DatabaseClusterEngine(
|
|
|
19970
20441
|
name_mapping={
|
|
19971
20442
|
"engine": "engine",
|
|
19972
20443
|
"snapshot_identifier": "snapshotIdentifier",
|
|
20444
|
+
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
19973
20445
|
"backtrack_window": "backtrackWindow",
|
|
19974
20446
|
"backup": "backup",
|
|
19975
20447
|
"cloudwatch_logs_exports": "cloudwatchLogsExports",
|
|
@@ -20024,6 +20496,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20024
20496
|
*,
|
|
20025
20497
|
engine: "IClusterEngine",
|
|
20026
20498
|
snapshot_identifier: builtins.str,
|
|
20499
|
+
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
20027
20500
|
backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
|
|
20028
20501
|
backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
20029
20502
|
cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -20075,6 +20548,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20075
20548
|
|
|
20076
20549
|
:param engine: What kind of database to start.
|
|
20077
20550
|
:param snapshot_identifier: The identifier for the DB instance snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB instance snapshot.
|
|
20551
|
+
:param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. Default: true
|
|
20078
20552
|
:param backtrack_window: The number of seconds to set a cluster's target backtrack window to. This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters. Default: 0 seconds (no backtrack)
|
|
20079
20553
|
:param backup: Backup settings. Default: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
20080
20554
|
:param cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. Default: - no log exports
|
|
@@ -20145,6 +20619,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20145
20619
|
type_hints = typing.get_type_hints(_typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1ef437561)
|
|
20146
20620
|
check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
|
|
20147
20621
|
check_type(argname="argument snapshot_identifier", value=snapshot_identifier, expected_type=type_hints["snapshot_identifier"])
|
|
20622
|
+
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
20148
20623
|
check_type(argname="argument backtrack_window", value=backtrack_window, expected_type=type_hints["backtrack_window"])
|
|
20149
20624
|
check_type(argname="argument backup", value=backup, expected_type=type_hints["backup"])
|
|
20150
20625
|
check_type(argname="argument cloudwatch_logs_exports", value=cloudwatch_logs_exports, expected_type=type_hints["cloudwatch_logs_exports"])
|
|
@@ -20195,6 +20670,8 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20195
20670
|
"engine": engine,
|
|
20196
20671
|
"snapshot_identifier": snapshot_identifier,
|
|
20197
20672
|
}
|
|
20673
|
+
if auto_minor_version_upgrade is not None:
|
|
20674
|
+
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
20198
20675
|
if backtrack_window is not None:
|
|
20199
20676
|
self._values["backtrack_window"] = backtrack_window
|
|
20200
20677
|
if backup is not None:
|
|
@@ -20306,6 +20783,15 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20306
20783
|
assert result is not None, "Required property 'snapshot_identifier' is missing"
|
|
20307
20784
|
return typing.cast(builtins.str, result)
|
|
20308
20785
|
|
|
20786
|
+
@builtins.property
|
|
20787
|
+
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
20788
|
+
'''Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.
|
|
20789
|
+
|
|
20790
|
+
:default: true
|
|
20791
|
+
'''
|
|
20792
|
+
result = self._values.get("auto_minor_version_upgrade")
|
|
20793
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
20794
|
+
|
|
20309
20795
|
@builtins.property
|
|
20310
20796
|
def backtrack_window(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
20311
20797
|
'''The number of seconds to set a cluster's target backtrack window to.
|
|
@@ -20848,6 +21334,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20848
21334
|
jsii_struct_bases=[],
|
|
20849
21335
|
name_mapping={
|
|
20850
21336
|
"engine": "engine",
|
|
21337
|
+
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
20851
21338
|
"backtrack_window": "backtrackWindow",
|
|
20852
21339
|
"backup": "backup",
|
|
20853
21340
|
"cloudwatch_logs_exports": "cloudwatchLogsExports",
|
|
@@ -20900,6 +21387,7 @@ class DatabaseClusterProps:
|
|
|
20900
21387
|
self,
|
|
20901
21388
|
*,
|
|
20902
21389
|
engine: "IClusterEngine",
|
|
21390
|
+
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
20903
21391
|
backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
|
|
20904
21392
|
backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
20905
21393
|
cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -20949,6 +21437,7 @@ class DatabaseClusterProps:
|
|
|
20949
21437
|
'''Properties for a new database cluster.
|
|
20950
21438
|
|
|
20951
21439
|
:param engine: What kind of database to start.
|
|
21440
|
+
:param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. Default: true
|
|
20952
21441
|
:param backtrack_window: The number of seconds to set a cluster's target backtrack window to. This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters. Default: 0 seconds (no backtrack)
|
|
20953
21442
|
:param backup: Backup settings. Default: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
20954
21443
|
:param cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. Default: - no log exports
|
|
@@ -21026,6 +21515,7 @@ class DatabaseClusterProps:
|
|
|
21026
21515
|
if __debug__:
|
|
21027
21516
|
type_hints = typing.get_type_hints(_typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b427eeca4)
|
|
21028
21517
|
check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
|
|
21518
|
+
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
21029
21519
|
check_type(argname="argument backtrack_window", value=backtrack_window, expected_type=type_hints["backtrack_window"])
|
|
21030
21520
|
check_type(argname="argument backup", value=backup, expected_type=type_hints["backup"])
|
|
21031
21521
|
check_type(argname="argument cloudwatch_logs_exports", value=cloudwatch_logs_exports, expected_type=type_hints["cloudwatch_logs_exports"])
|
|
@@ -21074,6 +21564,8 @@ class DatabaseClusterProps:
|
|
|
21074
21564
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
21075
21565
|
"engine": engine,
|
|
21076
21566
|
}
|
|
21567
|
+
if auto_minor_version_upgrade is not None:
|
|
21568
|
+
self._values["auto_minor_version_upgrade"] = auto_minor_version_upgrade
|
|
21077
21569
|
if backtrack_window is not None:
|
|
21078
21570
|
self._values["backtrack_window"] = backtrack_window
|
|
21079
21571
|
if backup is not None:
|
|
@@ -21172,6 +21664,15 @@ class DatabaseClusterProps:
|
|
|
21172
21664
|
assert result is not None, "Required property 'engine' is missing"
|
|
21173
21665
|
return typing.cast("IClusterEngine", result)
|
|
21174
21666
|
|
|
21667
|
+
@builtins.property
|
|
21668
|
+
def auto_minor_version_upgrade(self) -> typing.Optional[builtins.bool]:
|
|
21669
|
+
'''Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.
|
|
21670
|
+
|
|
21671
|
+
:default: true
|
|
21672
|
+
'''
|
|
21673
|
+
result = self._values.get("auto_minor_version_upgrade")
|
|
21674
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
21675
|
+
|
|
21175
21676
|
@builtins.property
|
|
21176
21677
|
def backtrack_window(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
21177
21678
|
'''The number of seconds to set a cluster's target backtrack window to.
|
|
@@ -32513,6 +33014,18 @@ class OracleEngineVersion(
|
|
|
32513
33014
|
'''Version "19.0.0.0.ru-2024-04.rur-2024-04.r1".'''
|
|
32514
33015
|
return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_19_0_0_0_2024_04_R1"))
|
|
32515
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
|
+
|
|
32516
33029
|
@jsii.python.classproperty
|
|
32517
33030
|
@jsii.member(jsii_name="VER_21")
|
|
32518
33031
|
def VER_21(cls) -> "OracleEngineVersion":
|
|
@@ -32585,6 +33098,18 @@ class OracleEngineVersion(
|
|
|
32585
33098
|
'''Version "21.0.0.0.ru-2024-04.rur-2024-04.r1".'''
|
|
32586
33099
|
return typing.cast("OracleEngineVersion", jsii.sget(cls, "VER_21_0_0_0_2024_04_R1"))
|
|
32587
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
|
+
|
|
32588
33113
|
@builtins.property
|
|
32589
33114
|
@jsii.member(jsii_name="oracleFullVersion")
|
|
32590
33115
|
def oracle_full_version(self) -> builtins.str:
|
|
@@ -38027,6 +38552,12 @@ class SqlServerEngineVersion(
|
|
|
38027
38552
|
'''Version "13.00.6445.1.v1".'''
|
|
38028
38553
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6445_1_V1"))
|
|
38029
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
|
+
|
|
38030
38561
|
@jsii.python.classproperty
|
|
38031
38562
|
@jsii.member(jsii_name="VER_14")
|
|
38032
38563
|
def VER_14(cls) -> "SqlServerEngineVersion":
|
|
@@ -38165,6 +38696,12 @@ class SqlServerEngineVersion(
|
|
|
38165
38696
|
'''Version "14.00.3475.1.v1 ".'''
|
|
38166
38697
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3475_1_V1"))
|
|
38167
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
|
+
|
|
38168
38705
|
@jsii.python.classproperty
|
|
38169
38706
|
@jsii.member(jsii_name="VER_15")
|
|
38170
38707
|
def VER_15(cls) -> "SqlServerEngineVersion":
|
|
@@ -38267,6 +38804,12 @@ class SqlServerEngineVersion(
|
|
|
38267
38804
|
'''Version "15.00.4390.2.v1".'''
|
|
38268
38805
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4390_2_V1"))
|
|
38269
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
|
+
|
|
38270
38813
|
@jsii.python.classproperty
|
|
38271
38814
|
@jsii.member(jsii_name="VER_16")
|
|
38272
38815
|
def VER_16(cls) -> "SqlServerEngineVersion":
|
|
@@ -38327,6 +38870,12 @@ class SqlServerEngineVersion(
|
|
|
38327
38870
|
'''Version "16.00.4140.3.v1".'''
|
|
38328
38871
|
return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4140_3_V1"))
|
|
38329
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
|
+
|
|
38330
38879
|
@builtins.property
|
|
38331
38880
|
@jsii.member(jsii_name="sqlServerFullVersion")
|
|
38332
38881
|
def sql_server_full_version(self) -> builtins.str:
|
|
@@ -39958,6 +40507,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
39958
40507
|
*,
|
|
39959
40508
|
engine: "IClusterEngine",
|
|
39960
40509
|
snapshot_identifier: builtins.str,
|
|
40510
|
+
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
39961
40511
|
backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
|
|
39962
40512
|
backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
39963
40513
|
cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -40010,6 +40560,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
40010
40560
|
:param id: -
|
|
40011
40561
|
:param engine: What kind of database to start.
|
|
40012
40562
|
:param snapshot_identifier: The identifier for the DB instance snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB instance snapshot.
|
|
40563
|
+
:param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. Default: true
|
|
40013
40564
|
:param backtrack_window: The number of seconds to set a cluster's target backtrack window to. This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters. Default: 0 seconds (no backtrack)
|
|
40014
40565
|
:param backup: Backup settings. Default: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
40015
40566
|
:param cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. Default: - no log exports
|
|
@@ -40064,6 +40615,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
40064
40615
|
props = DatabaseClusterFromSnapshotProps(
|
|
40065
40616
|
engine=engine,
|
|
40066
40617
|
snapshot_identifier=snapshot_identifier,
|
|
40618
|
+
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
40067
40619
|
backtrack_window=backtrack_window,
|
|
40068
40620
|
backup=backup,
|
|
40069
40621
|
cloudwatch_logs_exports=cloudwatch_logs_exports,
|
|
@@ -43980,6 +44532,7 @@ class DatabaseCluster(
|
|
|
43980
44532
|
id: builtins.str,
|
|
43981
44533
|
*,
|
|
43982
44534
|
engine: IClusterEngine,
|
|
44535
|
+
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
43983
44536
|
backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
|
|
43984
44537
|
backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
43985
44538
|
cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -44030,6 +44583,7 @@ class DatabaseCluster(
|
|
|
44030
44583
|
:param scope: -
|
|
44031
44584
|
:param id: -
|
|
44032
44585
|
:param engine: What kind of database to start.
|
|
44586
|
+
:param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. Default: true
|
|
44033
44587
|
:param backtrack_window: The number of seconds to set a cluster's target backtrack window to. This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters. Default: 0 seconds (no backtrack)
|
|
44034
44588
|
:param backup: Backup settings. Default: - Backup retention period for automated backups is 1 day. Backup preferred window is set to a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
|
|
44035
44589
|
:param cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to CloudWatch Logs. Default: - no log exports
|
|
@@ -44082,6 +44636,7 @@ class DatabaseCluster(
|
|
|
44082
44636
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
44083
44637
|
props = DatabaseClusterProps(
|
|
44084
44638
|
engine=engine,
|
|
44639
|
+
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
44085
44640
|
backtrack_window=backtrack_window,
|
|
44086
44641
|
backup=backup,
|
|
44087
44642
|
cloudwatch_logs_exports=cloudwatch_logs_exports,
|
|
@@ -44942,6 +45497,8 @@ __all__ = [
|
|
|
44942
45497
|
"CfnDBSecurityGroupIngress",
|
|
44943
45498
|
"CfnDBSecurityGroupIngressProps",
|
|
44944
45499
|
"CfnDBSecurityGroupProps",
|
|
45500
|
+
"CfnDBShardGroup",
|
|
45501
|
+
"CfnDBShardGroupProps",
|
|
44945
45502
|
"CfnDBSubnetGroup",
|
|
44946
45503
|
"CfnDBSubnetGroupProps",
|
|
44947
45504
|
"CfnEventSubscription",
|
|
@@ -45262,6 +45819,7 @@ def _typecheckingstub__1eb14b9dcc306eabcc2963c7b6ef9b87bf8d616bb5691dbc6656242be
|
|
|
45262
45819
|
availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
45263
45820
|
backtrack_window: typing.Optional[jsii.Number] = None,
|
|
45264
45821
|
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
45822
|
+
cluster_scalability_type: typing.Optional[builtins.str] = None,
|
|
45265
45823
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
45266
45824
|
database_name: typing.Optional[builtins.str] = None,
|
|
45267
45825
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -45364,6 +45922,12 @@ def _typecheckingstub__8dbb89a95c41c7cbbc3c4804ae23a1ef19f4b4b61e97878b54d704b3d
|
|
|
45364
45922
|
"""Type checking stubs"""
|
|
45365
45923
|
pass
|
|
45366
45924
|
|
|
45925
|
+
def _typecheckingstub__aa79454f09bd865c2e6aaff719f2c4f06381f6f4444dd1e6568c9be39dfe64df(
|
|
45926
|
+
value: typing.Optional[builtins.str],
|
|
45927
|
+
) -> None:
|
|
45928
|
+
"""Type checking stubs"""
|
|
45929
|
+
pass
|
|
45930
|
+
|
|
45367
45931
|
def _typecheckingstub__7aaebe942bef486fa4f2def6b116a47a3513d6909fa29d9fdd20eb31f9d9dc03(
|
|
45368
45932
|
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
45369
45933
|
) -> None:
|
|
@@ -45789,6 +46353,7 @@ def _typecheckingstub__aaf089104646bb0ea95e48cd2107d642585c3eb3785a21112fc029b15
|
|
|
45789
46353
|
availability_zones: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
45790
46354
|
backtrack_window: typing.Optional[jsii.Number] = None,
|
|
45791
46355
|
backup_retention_period: typing.Optional[jsii.Number] = None,
|
|
46356
|
+
cluster_scalability_type: typing.Optional[builtins.str] = None,
|
|
45792
46357
|
copy_tags_to_snapshot: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
45793
46358
|
database_name: typing.Optional[builtins.str] = None,
|
|
45794
46359
|
db_cluster_identifier: typing.Optional[builtins.str] = None,
|
|
@@ -47018,6 +47583,88 @@ def _typecheckingstub__353ab04c42f26a9f8baa07d83a7623ee82f726e2e95aed3dc34a61071
|
|
|
47018
47583
|
"""Type checking stubs"""
|
|
47019
47584
|
pass
|
|
47020
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
|
+
|
|
47021
47668
|
def _typecheckingstub__3437b6f3359034732d6fbef14006ac020c94fa5b18aa95cb4c8bb7332cc58dc7(
|
|
47022
47669
|
scope: _constructs_77d1e7e8.Construct,
|
|
47023
47670
|
id: builtins.str,
|
|
@@ -47611,6 +48258,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
|
|
|
47611
48258
|
*,
|
|
47612
48259
|
engine: IClusterEngine,
|
|
47613
48260
|
snapshot_identifier: builtins.str,
|
|
48261
|
+
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
47614
48262
|
backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
|
|
47615
48263
|
backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
47616
48264
|
cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -47664,6 +48312,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
|
|
|
47664
48312
|
def _typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b427eeca4(
|
|
47665
48313
|
*,
|
|
47666
48314
|
engine: IClusterEngine,
|
|
48315
|
+
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
47667
48316
|
backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
|
|
47668
48317
|
backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
47669
48318
|
cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -48869,6 +49518,7 @@ def _typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4
|
|
|
48869
49518
|
*,
|
|
48870
49519
|
engine: IClusterEngine,
|
|
48871
49520
|
snapshot_identifier: builtins.str,
|
|
49521
|
+
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
48872
49522
|
backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
|
|
48873
49523
|
backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
48874
49524
|
cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -49355,6 +50005,7 @@ def _typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c56
|
|
|
49355
50005
|
id: builtins.str,
|
|
49356
50006
|
*,
|
|
49357
50007
|
engine: IClusterEngine,
|
|
50008
|
+
auto_minor_version_upgrade: typing.Optional[builtins.bool] = None,
|
|
49358
50009
|
backtrack_window: typing.Optional[_Duration_4839e8c3] = None,
|
|
49359
50010
|
backup: typing.Optional[typing.Union[BackupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
49360
50011
|
cloudwatch_logs_exports: typing.Optional[typing.Sequence[builtins.str]] = None,
|