aws-cdk-lib 2.156.0__py3-none-any.whl → 2.157.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 +26 -22
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.156.0.jsii.tgz → aws-cdk-lib@2.157.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +10 -75
- aws_cdk/aws_amplify/__init__.py +106 -0
- aws_cdk/aws_apigatewayv2/__init__.py +81 -13
- aws_cdk/aws_appintegrations/__init__.py +14 -14
- aws_cdk/aws_applicationsignals/__init__.py +750 -1
- aws_cdk/aws_appsync/__init__.py +50 -18
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_backup/__init__.py +39 -0
- aws_cdk/aws_batch/__init__.py +41 -0
- aws_cdk/aws_bedrock/__init__.py +1513 -94
- aws_cdk/aws_chatbot/__init__.py +6 -6
- aws_cdk/aws_cloudformation/__init__.py +22 -22
- aws_cdk/aws_cloudfront/experimental/__init__.py +30 -3
- aws_cdk/aws_datasync/__init__.py +40 -29
- aws_cdk/aws_ec2/__init__.py +373 -49
- aws_cdk/aws_ecs/__init__.py +253 -87
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
- aws_cdk/aws_entityresolution/__init__.py +117 -4
- aws_cdk/aws_glue/__init__.py +0 -8
- aws_cdk/aws_groundstation/__init__.py +27 -16
- aws_cdk/aws_guardduty/__init__.py +26 -14
- aws_cdk/aws_iotfleetwise/__init__.py +108 -0
- aws_cdk/aws_lambda/__init__.py +147 -17
- aws_cdk/aws_lambda_nodejs/__init__.py +30 -3
- aws_cdk/aws_macie/__init__.py +4 -4
- aws_cdk/aws_medialive/__init__.py +348 -0
- aws_cdk/aws_mediapackagev2/__init__.py +38 -38
- aws_cdk/aws_neptune/__init__.py +14 -8
- aws_cdk/aws_opensearchservice/__init__.py +194 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +884 -0
- aws_cdk/aws_personalize/__init__.py +2 -2
- aws_cdk/aws_pipes/__init__.py +22 -22
- aws_cdk/aws_qbusiness/__init__.py +675 -6
- aws_cdk/aws_quicksight/__init__.py +3285 -0
- aws_cdk/aws_rds/__init__.py +18 -0
- aws_cdk/aws_sagemaker/__init__.py +1167 -0
- aws_cdk/aws_secretsmanager/__init__.py +2 -3
- aws_cdk/aws_securityhub/__init__.py +108 -103
- aws_cdk/aws_ses/__init__.py +31 -0
- aws_cdk/aws_sns/__init__.py +19 -13
- aws_cdk/aws_ssm/__init__.py +10 -6
- aws_cdk/aws_ssmquicksetup/__init__.py +967 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -4
- aws_cdk/triggers/__init__.py +30 -3
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/RECORD +53 -51
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.156.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/top_level.txt +0 -0
|
@@ -992,10 +992,10 @@ class CfnOriginEndpoint(
|
|
|
992
992
|
cfn_origin_endpoint = mediapackagev2.CfnOriginEndpoint(self, "MyCfnOriginEndpoint",
|
|
993
993
|
channel_group_name="channelGroupName",
|
|
994
994
|
channel_name="channelName",
|
|
995
|
+
container_type="containerType",
|
|
995
996
|
origin_endpoint_name="originEndpointName",
|
|
996
997
|
|
|
997
998
|
# the properties below are optional
|
|
998
|
-
container_type="containerType",
|
|
999
999
|
dash_manifests=[mediapackagev2.CfnOriginEndpoint.DashManifestConfigurationProperty(
|
|
1000
1000
|
manifest_name="manifestName",
|
|
1001
1001
|
|
|
@@ -1106,8 +1106,8 @@ class CfnOriginEndpoint(
|
|
|
1106
1106
|
*,
|
|
1107
1107
|
channel_group_name: builtins.str,
|
|
1108
1108
|
channel_name: builtins.str,
|
|
1109
|
+
container_type: builtins.str,
|
|
1109
1110
|
origin_endpoint_name: builtins.str,
|
|
1110
|
-
container_type: typing.Optional[builtins.str] = None,
|
|
1111
1111
|
dash_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashManifestConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1112
1112
|
description: typing.Optional[builtins.str] = None,
|
|
1113
1113
|
force_endpoint_error_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1122,8 +1122,8 @@ class CfnOriginEndpoint(
|
|
|
1122
1122
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1123
1123
|
:param channel_group_name: The name of the channel group associated with the origin endpoint configuration.
|
|
1124
1124
|
:param channel_name: The channel name associated with the origin endpoint.
|
|
1125
|
-
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
1126
1125
|
:param container_type: The container type associated with the origin endpoint configuration.
|
|
1126
|
+
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
1127
1127
|
:param dash_manifests: A DASH manifest configuration.
|
|
1128
1128
|
:param description: The description associated with the origin endpoint.
|
|
1129
1129
|
:param force_endpoint_error_configuration:
|
|
@@ -1140,8 +1140,8 @@ class CfnOriginEndpoint(
|
|
|
1140
1140
|
props = CfnOriginEndpointProps(
|
|
1141
1141
|
channel_group_name=channel_group_name,
|
|
1142
1142
|
channel_name=channel_name,
|
|
1143
|
-
origin_endpoint_name=origin_endpoint_name,
|
|
1144
1143
|
container_type=container_type,
|
|
1144
|
+
origin_endpoint_name=origin_endpoint_name,
|
|
1145
1145
|
dash_manifests=dash_manifests,
|
|
1146
1146
|
description=description,
|
|
1147
1147
|
force_endpoint_error_configuration=force_endpoint_error_configuration,
|
|
@@ -1272,6 +1272,19 @@ class CfnOriginEndpoint(
|
|
|
1272
1272
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1273
1273
|
jsii.set(self, "channelName", value) # pyright: ignore[reportArgumentType]
|
|
1274
1274
|
|
|
1275
|
+
@builtins.property
|
|
1276
|
+
@jsii.member(jsii_name="containerType")
|
|
1277
|
+
def container_type(self) -> builtins.str:
|
|
1278
|
+
'''The container type associated with the origin endpoint configuration.'''
|
|
1279
|
+
return typing.cast(builtins.str, jsii.get(self, "containerType"))
|
|
1280
|
+
|
|
1281
|
+
@container_type.setter
|
|
1282
|
+
def container_type(self, value: builtins.str) -> None:
|
|
1283
|
+
if __debug__:
|
|
1284
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ded0ec9a4a78b0a13f4013526976d3ef27bae8928fb665d57679f95325a85b6)
|
|
1285
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1286
|
+
jsii.set(self, "containerType", value) # pyright: ignore[reportArgumentType]
|
|
1287
|
+
|
|
1275
1288
|
@builtins.property
|
|
1276
1289
|
@jsii.member(jsii_name="originEndpointName")
|
|
1277
1290
|
def origin_endpoint_name(self) -> builtins.str:
|
|
@@ -1285,19 +1298,6 @@ class CfnOriginEndpoint(
|
|
|
1285
1298
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1286
1299
|
jsii.set(self, "originEndpointName", value) # pyright: ignore[reportArgumentType]
|
|
1287
1300
|
|
|
1288
|
-
@builtins.property
|
|
1289
|
-
@jsii.member(jsii_name="containerType")
|
|
1290
|
-
def container_type(self) -> typing.Optional[builtins.str]:
|
|
1291
|
-
'''The container type associated with the origin endpoint configuration.'''
|
|
1292
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "containerType"))
|
|
1293
|
-
|
|
1294
|
-
@container_type.setter
|
|
1295
|
-
def container_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
1296
|
-
if __debug__:
|
|
1297
|
-
type_hints = typing.get_type_hints(_typecheckingstub__7ded0ec9a4a78b0a13f4013526976d3ef27bae8928fb665d57679f95325a85b6)
|
|
1298
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1299
|
-
jsii.set(self, "containerType", value) # pyright: ignore[reportArgumentType]
|
|
1300
|
-
|
|
1301
1301
|
@builtins.property
|
|
1302
1302
|
@jsii.member(jsii_name="dashManifests")
|
|
1303
1303
|
def dash_manifests(
|
|
@@ -3284,8 +3284,8 @@ class CfnOriginEndpointPolicyProps:
|
|
|
3284
3284
|
name_mapping={
|
|
3285
3285
|
"channel_group_name": "channelGroupName",
|
|
3286
3286
|
"channel_name": "channelName",
|
|
3287
|
-
"origin_endpoint_name": "originEndpointName",
|
|
3288
3287
|
"container_type": "containerType",
|
|
3288
|
+
"origin_endpoint_name": "originEndpointName",
|
|
3289
3289
|
"dash_manifests": "dashManifests",
|
|
3290
3290
|
"description": "description",
|
|
3291
3291
|
"force_endpoint_error_configuration": "forceEndpointErrorConfiguration",
|
|
@@ -3302,8 +3302,8 @@ class CfnOriginEndpointProps:
|
|
|
3302
3302
|
*,
|
|
3303
3303
|
channel_group_name: builtins.str,
|
|
3304
3304
|
channel_name: builtins.str,
|
|
3305
|
+
container_type: builtins.str,
|
|
3305
3306
|
origin_endpoint_name: builtins.str,
|
|
3306
|
-
container_type: typing.Optional[builtins.str] = None,
|
|
3307
3307
|
dash_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3308
3308
|
description: typing.Optional[builtins.str] = None,
|
|
3309
3309
|
force_endpoint_error_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3317,8 +3317,8 @@ class CfnOriginEndpointProps:
|
|
|
3317
3317
|
|
|
3318
3318
|
:param channel_group_name: The name of the channel group associated with the origin endpoint configuration.
|
|
3319
3319
|
:param channel_name: The channel name associated with the origin endpoint.
|
|
3320
|
-
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
3321
3320
|
:param container_type: The container type associated with the origin endpoint configuration.
|
|
3321
|
+
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
3322
3322
|
:param dash_manifests: A DASH manifest configuration.
|
|
3323
3323
|
:param description: The description associated with the origin endpoint.
|
|
3324
3324
|
:param force_endpoint_error_configuration:
|
|
@@ -3340,10 +3340,10 @@ class CfnOriginEndpointProps:
|
|
|
3340
3340
|
cfn_origin_endpoint_props = mediapackagev2.CfnOriginEndpointProps(
|
|
3341
3341
|
channel_group_name="channelGroupName",
|
|
3342
3342
|
channel_name="channelName",
|
|
3343
|
+
container_type="containerType",
|
|
3343
3344
|
origin_endpoint_name="originEndpointName",
|
|
3344
3345
|
|
|
3345
3346
|
# the properties below are optional
|
|
3346
|
-
container_type="containerType",
|
|
3347
3347
|
dash_manifests=[mediapackagev2.CfnOriginEndpoint.DashManifestConfigurationProperty(
|
|
3348
3348
|
manifest_name="manifestName",
|
|
3349
3349
|
|
|
@@ -3450,8 +3450,8 @@ class CfnOriginEndpointProps:
|
|
|
3450
3450
|
type_hints = typing.get_type_hints(_typecheckingstub__d261c9ffb32b381ea679962b9a614498343af1f15dd4bdfdbf788de765f62402)
|
|
3451
3451
|
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
3452
3452
|
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
3453
|
-
check_type(argname="argument origin_endpoint_name", value=origin_endpoint_name, expected_type=type_hints["origin_endpoint_name"])
|
|
3454
3453
|
check_type(argname="argument container_type", value=container_type, expected_type=type_hints["container_type"])
|
|
3454
|
+
check_type(argname="argument origin_endpoint_name", value=origin_endpoint_name, expected_type=type_hints["origin_endpoint_name"])
|
|
3455
3455
|
check_type(argname="argument dash_manifests", value=dash_manifests, expected_type=type_hints["dash_manifests"])
|
|
3456
3456
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
3457
3457
|
check_type(argname="argument force_endpoint_error_configuration", value=force_endpoint_error_configuration, expected_type=type_hints["force_endpoint_error_configuration"])
|
|
@@ -3463,10 +3463,9 @@ class CfnOriginEndpointProps:
|
|
|
3463
3463
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3464
3464
|
"channel_group_name": channel_group_name,
|
|
3465
3465
|
"channel_name": channel_name,
|
|
3466
|
+
"container_type": container_type,
|
|
3466
3467
|
"origin_endpoint_name": origin_endpoint_name,
|
|
3467
3468
|
}
|
|
3468
|
-
if container_type is not None:
|
|
3469
|
-
self._values["container_type"] = container_type
|
|
3470
3469
|
if dash_manifests is not None:
|
|
3471
3470
|
self._values["dash_manifests"] = dash_manifests
|
|
3472
3471
|
if description is not None:
|
|
@@ -3504,6 +3503,16 @@ class CfnOriginEndpointProps:
|
|
|
3504
3503
|
assert result is not None, "Required property 'channel_name' is missing"
|
|
3505
3504
|
return typing.cast(builtins.str, result)
|
|
3506
3505
|
|
|
3506
|
+
@builtins.property
|
|
3507
|
+
def container_type(self) -> builtins.str:
|
|
3508
|
+
'''The container type associated with the origin endpoint configuration.
|
|
3509
|
+
|
|
3510
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-containertype
|
|
3511
|
+
'''
|
|
3512
|
+
result = self._values.get("container_type")
|
|
3513
|
+
assert result is not None, "Required property 'container_type' is missing"
|
|
3514
|
+
return typing.cast(builtins.str, result)
|
|
3515
|
+
|
|
3507
3516
|
@builtins.property
|
|
3508
3517
|
def origin_endpoint_name(self) -> builtins.str:
|
|
3509
3518
|
'''The name of the origin endpoint associated with the origin endpoint configuration.
|
|
@@ -3514,15 +3523,6 @@ class CfnOriginEndpointProps:
|
|
|
3514
3523
|
assert result is not None, "Required property 'origin_endpoint_name' is missing"
|
|
3515
3524
|
return typing.cast(builtins.str, result)
|
|
3516
3525
|
|
|
3517
|
-
@builtins.property
|
|
3518
|
-
def container_type(self) -> typing.Optional[builtins.str]:
|
|
3519
|
-
'''The container type associated with the origin endpoint configuration.
|
|
3520
|
-
|
|
3521
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-containertype
|
|
3522
|
-
'''
|
|
3523
|
-
result = self._values.get("container_type")
|
|
3524
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
3525
|
-
|
|
3526
3526
|
@builtins.property
|
|
3527
3527
|
def dash_manifests(
|
|
3528
3528
|
self,
|
|
@@ -3813,8 +3813,8 @@ def _typecheckingstub__7dba3dfc2892c78e53aee7675a7a24aa25c0b29481aca92446e31a0d8
|
|
|
3813
3813
|
*,
|
|
3814
3814
|
channel_group_name: builtins.str,
|
|
3815
3815
|
channel_name: builtins.str,
|
|
3816
|
+
container_type: builtins.str,
|
|
3816
3817
|
origin_endpoint_name: builtins.str,
|
|
3817
|
-
container_type: typing.Optional[builtins.str] = None,
|
|
3818
3818
|
dash_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3819
3819
|
description: typing.Optional[builtins.str] = None,
|
|
3820
3820
|
force_endpoint_error_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3851,14 +3851,14 @@ def _typecheckingstub__300d202906247d29b698e05c2891ad6a3e8f72748a5cb046f44ee1cde
|
|
|
3851
3851
|
"""Type checking stubs"""
|
|
3852
3852
|
pass
|
|
3853
3853
|
|
|
3854
|
-
def
|
|
3854
|
+
def _typecheckingstub__7ded0ec9a4a78b0a13f4013526976d3ef27bae8928fb665d57679f95325a85b6(
|
|
3855
3855
|
value: builtins.str,
|
|
3856
3856
|
) -> None:
|
|
3857
3857
|
"""Type checking stubs"""
|
|
3858
3858
|
pass
|
|
3859
3859
|
|
|
3860
|
-
def
|
|
3861
|
-
value:
|
|
3860
|
+
def _typecheckingstub__32b645ac54fdc447a14891e1f23268d3a802e1d51ab06333dab9a1ae79ae88fb(
|
|
3861
|
+
value: builtins.str,
|
|
3862
3862
|
) -> None:
|
|
3863
3863
|
"""Type checking stubs"""
|
|
3864
3864
|
pass
|
|
@@ -4112,8 +4112,8 @@ def _typecheckingstub__d261c9ffb32b381ea679962b9a614498343af1f15dd4bdfdbf788de76
|
|
|
4112
4112
|
*,
|
|
4113
4113
|
channel_group_name: builtins.str,
|
|
4114
4114
|
channel_name: builtins.str,
|
|
4115
|
+
container_type: builtins.str,
|
|
4115
4116
|
origin_endpoint_name: builtins.str,
|
|
4116
|
-
container_type: typing.Optional[builtins.str] = None,
|
|
4117
4117
|
dash_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4118
4118
|
description: typing.Optional[builtins.str] = None,
|
|
4119
4119
|
force_endpoint_error_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.ForceEndpointErrorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
aws_cdk/aws_neptune/__init__.py
CHANGED
|
@@ -172,7 +172,7 @@ class CfnDBCluster(
|
|
|
172
172
|
:param enable_cloudwatch_logs_exports: Specifies a list of log types that are enabled for export to CloudWatch Logs.
|
|
173
173
|
:param engine_version: Indicates the database engine version.
|
|
174
174
|
:param iam_auth_enabled: True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
|
|
175
|
-
:param kms_key_id: If ``StorageEncrypted``
|
|
175
|
+
:param kms_key_id: The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the database instances in the DB cluster, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef`` . If you enable the ``StorageEncrypted`` property but don't specify this property, the default KMS key is used. If you specify this property, you must set the ``StorageEncrypted`` property to ``true`` .
|
|
176
176
|
:param preferred_backup_window: Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the ``BackupRetentionPeriod`` . An update may require some interruption.
|
|
177
177
|
:param preferred_maintenance_window: Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
|
178
178
|
:param restore_to_time: Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
|
|
@@ -180,7 +180,7 @@ class CfnDBCluster(
|
|
|
180
180
|
:param serverless_scaling_configuration: Contains the scaling configuration of an Neptune Serverless DB cluster.
|
|
181
181
|
:param snapshot_identifier: Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. After you restore a DB cluster using a ``SnapshotIdentifier`` , you must specify the same ``SnapshotIdentifier`` for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the ``SnapshotIdentifier`` , an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the ``SnapshotIdentifier`` , and the original DB cluster is deleted.
|
|
182
182
|
:param source_db_cluster_identifier: Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
|
|
183
|
-
:param storage_encrypted: Indicates whether the DB cluster is encrypted. If you specify the ``
|
|
183
|
+
:param storage_encrypted: Indicates whether the DB cluster is encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption and set this property to ``true`` . If you enable the ``StorageEncrypted`` property but don't specify the ``KmsKeyId`` property, then the default KMS key is used. If you specify the ``KmsKeyId`` property, then that KMS key is used to encrypt the database instances in the DB cluster. If you specify the ``SourceDBClusterIdentifier`` property, and don't specify this property or disable it, the value is inherited from the source DB cluster. If the source DB cluster is encrypted, the ``KmsKeyId`` property from the source cluster is used. If you specify the ``DBSnapshotIdentifier`` and don't specify this property or disable it, the value is inherited from the snapshot and the specified ``KmsKeyId`` property from the snapshot is used.
|
|
184
184
|
:param tags: The tags assigned to this cluster.
|
|
185
185
|
:param use_latest_restorable_time: Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
|
|
186
186
|
:param vpc_security_group_ids: Provides a list of VPC security groups that the DB cluster belongs to.
|
|
@@ -508,7 +508,7 @@ class CfnDBCluster(
|
|
|
508
508
|
@builtins.property
|
|
509
509
|
@jsii.member(jsii_name="kmsKeyId")
|
|
510
510
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
511
|
-
'''
|
|
511
|
+
'''The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the database instances in the DB cluster, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef`` .'''
|
|
512
512
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
513
513
|
|
|
514
514
|
@kms_key_id.setter
|
|
@@ -1236,7 +1236,7 @@ class CfnDBClusterProps:
|
|
|
1236
1236
|
:param enable_cloudwatch_logs_exports: Specifies a list of log types that are enabled for export to CloudWatch Logs.
|
|
1237
1237
|
:param engine_version: Indicates the database engine version.
|
|
1238
1238
|
:param iam_auth_enabled: True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
|
|
1239
|
-
:param kms_key_id: If ``StorageEncrypted``
|
|
1239
|
+
:param kms_key_id: The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the database instances in the DB cluster, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef`` . If you enable the ``StorageEncrypted`` property but don't specify this property, the default KMS key is used. If you specify this property, you must set the ``StorageEncrypted`` property to ``true`` .
|
|
1240
1240
|
:param preferred_backup_window: Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the ``BackupRetentionPeriod`` . An update may require some interruption.
|
|
1241
1241
|
:param preferred_maintenance_window: Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
|
1242
1242
|
:param restore_to_time: Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
|
|
@@ -1244,7 +1244,7 @@ class CfnDBClusterProps:
|
|
|
1244
1244
|
:param serverless_scaling_configuration: Contains the scaling configuration of an Neptune Serverless DB cluster.
|
|
1245
1245
|
:param snapshot_identifier: Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. After you restore a DB cluster using a ``SnapshotIdentifier`` , you must specify the same ``SnapshotIdentifier`` for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the ``SnapshotIdentifier`` , an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the ``SnapshotIdentifier`` , and the original DB cluster is deleted.
|
|
1246
1246
|
:param source_db_cluster_identifier: Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
|
|
1247
|
-
:param storage_encrypted: Indicates whether the DB cluster is encrypted. If you specify the ``
|
|
1247
|
+
:param storage_encrypted: Indicates whether the DB cluster is encrypted. If you specify the ``KmsKeyId`` property, then you must enable encryption and set this property to ``true`` . If you enable the ``StorageEncrypted`` property but don't specify the ``KmsKeyId`` property, then the default KMS key is used. If you specify the ``KmsKeyId`` property, then that KMS key is used to encrypt the database instances in the DB cluster. If you specify the ``SourceDBClusterIdentifier`` property, and don't specify this property or disable it, the value is inherited from the source DB cluster. If the source DB cluster is encrypted, the ``KmsKeyId`` property from the source cluster is used. If you specify the ``DBSnapshotIdentifier`` and don't specify this property or disable it, the value is inherited from the snapshot and the specified ``KmsKeyId`` property from the snapshot is used.
|
|
1248
1248
|
:param tags: The tags assigned to this cluster.
|
|
1249
1249
|
:param use_latest_restorable_time: Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
|
|
1250
1250
|
:param vpc_security_group_ids: Provides a list of VPC security groups that the DB cluster belongs to.
|
|
@@ -1530,7 +1530,9 @@ class CfnDBClusterProps:
|
|
|
1530
1530
|
|
|
1531
1531
|
@builtins.property
|
|
1532
1532
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
1533
|
-
'''
|
|
1533
|
+
'''The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the database instances in the DB cluster, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef`` .
|
|
1534
|
+
|
|
1535
|
+
If you enable the ``StorageEncrypted`` property but don't specify this property, the default KMS key is used. If you specify this property, you must set the ``StorageEncrypted`` property to ``true`` .
|
|
1534
1536
|
|
|
1535
1537
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-kmskeyid
|
|
1536
1538
|
'''
|
|
@@ -1628,9 +1630,13 @@ class CfnDBClusterProps:
|
|
|
1628
1630
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1629
1631
|
'''Indicates whether the DB cluster is encrypted.
|
|
1630
1632
|
|
|
1631
|
-
If you specify the ``
|
|
1633
|
+
If you specify the ``KmsKeyId`` property, then you must enable encryption and set this property to ``true`` .
|
|
1634
|
+
|
|
1635
|
+
If you enable the ``StorageEncrypted`` property but don't specify the ``KmsKeyId`` property, then the default KMS key is used. If you specify the ``KmsKeyId`` property, then that KMS key is used to encrypt the database instances in the DB cluster.
|
|
1636
|
+
|
|
1637
|
+
If you specify the ``SourceDBClusterIdentifier`` property, and don't specify this property or disable it, the value is inherited from the source DB cluster. If the source DB cluster is encrypted, the ``KmsKeyId`` property from the source cluster is used.
|
|
1632
1638
|
|
|
1633
|
-
If you specify the ``
|
|
1639
|
+
If you specify the ``DBSnapshotIdentifier`` and don't specify this property or disable it, the value is inherited from the snapshot and the specified ``KmsKeyId`` property from the snapshot is used.
|
|
1634
1640
|
|
|
1635
1641
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-storageencrypted
|
|
1636
1642
|
'''
|