aws-cdk-lib 2.172.0__py3-none-any.whl → 2.173.1__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 +57 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.172.0.jsii.tgz → aws-cdk-lib@2.173.1.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +111 -64
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_autoscaling/__init__.py +15 -6
- aws_cdk/aws_bedrock/__init__.py +32 -44
- aws_cdk/aws_chatbot/__init__.py +72 -46
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudfront/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +104 -68
- aws_cdk/aws_cloudwatch/__init__.py +51 -14
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_codepipeline/__init__.py +4 -4
- aws_cdk/aws_cognito/__init__.py +221 -53
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +25 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +130 -48
- aws_cdk/aws_ecs/__init__.py +25 -13
- aws_cdk/aws_eks/__init__.py +86 -24
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +138 -128
- aws_cdk/aws_events/__init__.py +39 -26
- aws_cdk/aws_fsx/__init__.py +134 -10
- aws_cdk/aws_imagebuilder/__init__.py +8 -8
- aws_cdk/aws_invoicing/__init__.py +651 -0
- aws_cdk/aws_iot/__init__.py +28 -22
- aws_cdk/aws_iotfleetwise/__init__.py +473 -332
- aws_cdk/aws_iotsitewise/__init__.py +6 -4
- aws_cdk/aws_ivs/__init__.py +43 -31
- aws_cdk/aws_kendra/__init__.py +4 -0
- aws_cdk/aws_lakeformation/__init__.py +2 -1
- aws_cdk/aws_lambda/__init__.py +258 -156
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +24 -14
- aws_cdk/aws_medialive/__init__.py +2359 -5
- aws_cdk/aws_mediapackage/__init__.py +3 -9
- aws_cdk/aws_mediapackagev2/__init__.py +19 -17
- aws_cdk/aws_memorydb/__init__.py +664 -4
- aws_cdk/aws_qbusiness/__init__.py +2018 -66
- aws_cdk/aws_rds/__init__.py +30 -0
- aws_cdk/aws_resourcegroups/__init__.py +26 -17
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +224 -100
- aws_cdk/aws_route53resolver/__init__.py +4 -2
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +30 -19
- aws_cdk/aws_sagemaker/__init__.py +783 -9
- aws_cdk/aws_secretsmanager/__init__.py +20 -6
- aws_cdk/aws_securityhub/__init__.py +64 -32
- aws_cdk/aws_servicediscovery/__init__.py +43 -0
- aws_cdk/aws_ses/__init__.py +109 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
- aws_cdk/aws_synthetics/__init__.py +7 -5
- aws_cdk/aws_vpclattice/__init__.py +1479 -122
- aws_cdk/aws_wisdom/__init__.py +2698 -232
- aws_cdk/aws_workspacesweb/__init__.py +118 -61
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/RECORD +69 -68
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_memorydb/__init__.py
CHANGED
|
@@ -64,6 +64,7 @@ from .. import (
|
|
|
64
64
|
IInspectable as _IInspectable_c2943556,
|
|
65
65
|
IResolvable as _IResolvable_da3f097b,
|
|
66
66
|
ITaggable as _ITaggable_36806126,
|
|
67
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
67
68
|
TagManager as _TagManager_0a598cb3,
|
|
68
69
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
69
70
|
)
|
|
@@ -358,6 +359,7 @@ class CfnCluster(
|
|
|
358
359
|
final_snapshot_name="finalSnapshotName",
|
|
359
360
|
kms_key_id="kmsKeyId",
|
|
360
361
|
maintenance_window="maintenanceWindow",
|
|
362
|
+
multi_region_cluster_name="multiRegionClusterName",
|
|
361
363
|
num_replicas_per_shard=123,
|
|
362
364
|
num_shards=123,
|
|
363
365
|
parameter_group_name="parameterGroupName",
|
|
@@ -395,6 +397,7 @@ class CfnCluster(
|
|
|
395
397
|
final_snapshot_name: typing.Optional[builtins.str] = None,
|
|
396
398
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
397
399
|
maintenance_window: typing.Optional[builtins.str] = None,
|
|
400
|
+
multi_region_cluster_name: typing.Optional[builtins.str] = None,
|
|
398
401
|
num_replicas_per_shard: typing.Optional[jsii.Number] = None,
|
|
399
402
|
num_shards: typing.Optional[jsii.Number] = None,
|
|
400
403
|
parameter_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -420,11 +423,12 @@ class CfnCluster(
|
|
|
420
423
|
:param cluster_endpoint: The cluster 's configuration endpoint.
|
|
421
424
|
:param data_tiering: Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see `Data tiering <https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html>`_ .
|
|
422
425
|
:param description: A description of the cluster .
|
|
423
|
-
:param engine: The
|
|
426
|
+
:param engine: The name of the engine used by the cluster.
|
|
424
427
|
:param engine_version: The Valkey or Redis OSS engine version used by the cluster .
|
|
425
428
|
:param final_snapshot_name: The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.
|
|
426
429
|
:param kms_key_id: The ID of the KMS key used to encrypt the cluster .
|
|
427
430
|
:param maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ``ddd:hh24:mi-ddd:hh24:mi`` (24H Clock UTC). The minimum maintenance window is a 60 minute period. *Pattern* : ``ddd:hh24:mi-ddd:hh24:mi``
|
|
431
|
+
:param multi_region_cluster_name: The name of the multi-Region cluster that this cluster belongs to.
|
|
428
432
|
:param num_replicas_per_shard: The number of replicas to apply to each shard. *Default value* : ``1`` *Maximum value* : ``5``
|
|
429
433
|
:param num_shards: The number of shards in the cluster .
|
|
430
434
|
:param parameter_group_name: The name of the parameter group used by the cluster .
|
|
@@ -457,6 +461,7 @@ class CfnCluster(
|
|
|
457
461
|
final_snapshot_name=final_snapshot_name,
|
|
458
462
|
kms_key_id=kms_key_id,
|
|
459
463
|
maintenance_window=maintenance_window,
|
|
464
|
+
multi_region_cluster_name=multi_region_cluster_name,
|
|
460
465
|
num_replicas_per_shard=num_replicas_per_shard,
|
|
461
466
|
num_shards=num_shards,
|
|
462
467
|
parameter_group_name=parameter_group_name,
|
|
@@ -667,7 +672,7 @@ class CfnCluster(
|
|
|
667
672
|
@builtins.property
|
|
668
673
|
@jsii.member(jsii_name="engine")
|
|
669
674
|
def engine(self) -> typing.Optional[builtins.str]:
|
|
670
|
-
'''The
|
|
675
|
+
'''The name of the engine used by the cluster.'''
|
|
671
676
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "engine"))
|
|
672
677
|
|
|
673
678
|
@engine.setter
|
|
@@ -729,6 +734,19 @@ class CfnCluster(
|
|
|
729
734
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
730
735
|
jsii.set(self, "maintenanceWindow", value) # pyright: ignore[reportArgumentType]
|
|
731
736
|
|
|
737
|
+
@builtins.property
|
|
738
|
+
@jsii.member(jsii_name="multiRegionClusterName")
|
|
739
|
+
def multi_region_cluster_name(self) -> typing.Optional[builtins.str]:
|
|
740
|
+
'''The name of the multi-Region cluster that this cluster belongs to.'''
|
|
741
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "multiRegionClusterName"))
|
|
742
|
+
|
|
743
|
+
@multi_region_cluster_name.setter
|
|
744
|
+
def multi_region_cluster_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
745
|
+
if __debug__:
|
|
746
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5a714c813d8884d17d733f70558b9be80395f41104c444aa08355b14427047a2)
|
|
747
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
748
|
+
jsii.set(self, "multiRegionClusterName", value) # pyright: ignore[reportArgumentType]
|
|
749
|
+
|
|
732
750
|
@builtins.property
|
|
733
751
|
@jsii.member(jsii_name="numReplicasPerShard")
|
|
734
752
|
def num_replicas_per_shard(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1006,6 +1024,7 @@ class CfnCluster(
|
|
|
1006
1024
|
"final_snapshot_name": "finalSnapshotName",
|
|
1007
1025
|
"kms_key_id": "kmsKeyId",
|
|
1008
1026
|
"maintenance_window": "maintenanceWindow",
|
|
1027
|
+
"multi_region_cluster_name": "multiRegionClusterName",
|
|
1009
1028
|
"num_replicas_per_shard": "numReplicasPerShard",
|
|
1010
1029
|
"num_shards": "numShards",
|
|
1011
1030
|
"parameter_group_name": "parameterGroupName",
|
|
@@ -1038,6 +1057,7 @@ class CfnClusterProps:
|
|
|
1038
1057
|
final_snapshot_name: typing.Optional[builtins.str] = None,
|
|
1039
1058
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
1040
1059
|
maintenance_window: typing.Optional[builtins.str] = None,
|
|
1060
|
+
multi_region_cluster_name: typing.Optional[builtins.str] = None,
|
|
1041
1061
|
num_replicas_per_shard: typing.Optional[jsii.Number] = None,
|
|
1042
1062
|
num_shards: typing.Optional[jsii.Number] = None,
|
|
1043
1063
|
parameter_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -1062,11 +1082,12 @@ class CfnClusterProps:
|
|
|
1062
1082
|
:param cluster_endpoint: The cluster 's configuration endpoint.
|
|
1063
1083
|
:param data_tiering: Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see `Data tiering <https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html>`_ .
|
|
1064
1084
|
:param description: A description of the cluster .
|
|
1065
|
-
:param engine: The
|
|
1085
|
+
:param engine: The name of the engine used by the cluster.
|
|
1066
1086
|
:param engine_version: The Valkey or Redis OSS engine version used by the cluster .
|
|
1067
1087
|
:param final_snapshot_name: The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.
|
|
1068
1088
|
:param kms_key_id: The ID of the KMS key used to encrypt the cluster .
|
|
1069
1089
|
:param maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ``ddd:hh24:mi-ddd:hh24:mi`` (24H Clock UTC). The minimum maintenance window is a 60 minute period. *Pattern* : ``ddd:hh24:mi-ddd:hh24:mi``
|
|
1090
|
+
:param multi_region_cluster_name: The name of the multi-Region cluster that this cluster belongs to.
|
|
1070
1091
|
:param num_replicas_per_shard: The number of replicas to apply to each shard. *Default value* : ``1`` *Maximum value* : ``5``
|
|
1071
1092
|
:param num_shards: The number of shards in the cluster .
|
|
1072
1093
|
:param parameter_group_name: The name of the parameter group used by the cluster .
|
|
@@ -1109,6 +1130,7 @@ class CfnClusterProps:
|
|
|
1109
1130
|
final_snapshot_name="finalSnapshotName",
|
|
1110
1131
|
kms_key_id="kmsKeyId",
|
|
1111
1132
|
maintenance_window="maintenanceWindow",
|
|
1133
|
+
multi_region_cluster_name="multiRegionClusterName",
|
|
1112
1134
|
num_replicas_per_shard=123,
|
|
1113
1135
|
num_shards=123,
|
|
1114
1136
|
parameter_group_name="parameterGroupName",
|
|
@@ -1142,6 +1164,7 @@ class CfnClusterProps:
|
|
|
1142
1164
|
check_type(argname="argument final_snapshot_name", value=final_snapshot_name, expected_type=type_hints["final_snapshot_name"])
|
|
1143
1165
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
1144
1166
|
check_type(argname="argument maintenance_window", value=maintenance_window, expected_type=type_hints["maintenance_window"])
|
|
1167
|
+
check_type(argname="argument multi_region_cluster_name", value=multi_region_cluster_name, expected_type=type_hints["multi_region_cluster_name"])
|
|
1145
1168
|
check_type(argname="argument num_replicas_per_shard", value=num_replicas_per_shard, expected_type=type_hints["num_replicas_per_shard"])
|
|
1146
1169
|
check_type(argname="argument num_shards", value=num_shards, expected_type=type_hints["num_shards"])
|
|
1147
1170
|
check_type(argname="argument parameter_group_name", value=parameter_group_name, expected_type=type_hints["parameter_group_name"])
|
|
@@ -1179,6 +1202,8 @@ class CfnClusterProps:
|
|
|
1179
1202
|
self._values["kms_key_id"] = kms_key_id
|
|
1180
1203
|
if maintenance_window is not None:
|
|
1181
1204
|
self._values["maintenance_window"] = maintenance_window
|
|
1205
|
+
if multi_region_cluster_name is not None:
|
|
1206
|
+
self._values["multi_region_cluster_name"] = multi_region_cluster_name
|
|
1182
1207
|
if num_replicas_per_shard is not None:
|
|
1183
1208
|
self._values["num_replicas_per_shard"] = num_replicas_per_shard
|
|
1184
1209
|
if num_shards is not None:
|
|
@@ -1282,7 +1307,7 @@ class CfnClusterProps:
|
|
|
1282
1307
|
|
|
1283
1308
|
@builtins.property
|
|
1284
1309
|
def engine(self) -> typing.Optional[builtins.str]:
|
|
1285
|
-
'''The
|
|
1310
|
+
'''The name of the engine used by the cluster.
|
|
1286
1311
|
|
|
1287
1312
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-engine
|
|
1288
1313
|
'''
|
|
@@ -1331,6 +1356,15 @@ class CfnClusterProps:
|
|
|
1331
1356
|
result = self._values.get("maintenance_window")
|
|
1332
1357
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1333
1358
|
|
|
1359
|
+
@builtins.property
|
|
1360
|
+
def multi_region_cluster_name(self) -> typing.Optional[builtins.str]:
|
|
1361
|
+
'''The name of the multi-Region cluster that this cluster belongs to.
|
|
1362
|
+
|
|
1363
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-multiregionclustername
|
|
1364
|
+
'''
|
|
1365
|
+
result = self._values.get("multi_region_cluster_name")
|
|
1366
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1367
|
+
|
|
1334
1368
|
@builtins.property
|
|
1335
1369
|
def num_replicas_per_shard(self) -> typing.Optional[jsii.Number]:
|
|
1336
1370
|
'''The number of replicas to apply to each shard.
|
|
@@ -1485,6 +1519,516 @@ class CfnClusterProps:
|
|
|
1485
1519
|
)
|
|
1486
1520
|
|
|
1487
1521
|
|
|
1522
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1523
|
+
class CfnMultiRegionCluster(
|
|
1524
|
+
_CfnResource_9df397a6,
|
|
1525
|
+
metaclass=jsii.JSIIMeta,
|
|
1526
|
+
jsii_type="aws-cdk-lib.aws_memorydb.CfnMultiRegionCluster",
|
|
1527
|
+
):
|
|
1528
|
+
'''Represents a multi-Region cluster.
|
|
1529
|
+
|
|
1530
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html
|
|
1531
|
+
:cloudformationResource: AWS::MemoryDB::MultiRegionCluster
|
|
1532
|
+
:exampleMetadata: fixture=_generated
|
|
1533
|
+
|
|
1534
|
+
Example::
|
|
1535
|
+
|
|
1536
|
+
# The code below shows an example of how to instantiate this type.
|
|
1537
|
+
# The values are placeholders you should change.
|
|
1538
|
+
from aws_cdk import aws_memorydb as memorydb
|
|
1539
|
+
|
|
1540
|
+
cfn_multi_region_cluster = memorydb.CfnMultiRegionCluster(self, "MyCfnMultiRegionCluster",
|
|
1541
|
+
node_type="nodeType",
|
|
1542
|
+
|
|
1543
|
+
# the properties below are optional
|
|
1544
|
+
description="description",
|
|
1545
|
+
engine="engine",
|
|
1546
|
+
engine_version="engineVersion",
|
|
1547
|
+
multi_region_cluster_name_suffix="multiRegionClusterNameSuffix",
|
|
1548
|
+
multi_region_parameter_group_name="multiRegionParameterGroupName",
|
|
1549
|
+
num_shards=123,
|
|
1550
|
+
tags=[CfnTag(
|
|
1551
|
+
key="key",
|
|
1552
|
+
value="value"
|
|
1553
|
+
)],
|
|
1554
|
+
tls_enabled=False,
|
|
1555
|
+
update_strategy="updateStrategy"
|
|
1556
|
+
)
|
|
1557
|
+
'''
|
|
1558
|
+
|
|
1559
|
+
def __init__(
|
|
1560
|
+
self,
|
|
1561
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1562
|
+
id: builtins.str,
|
|
1563
|
+
*,
|
|
1564
|
+
node_type: builtins.str,
|
|
1565
|
+
description: typing.Optional[builtins.str] = None,
|
|
1566
|
+
engine: typing.Optional[builtins.str] = None,
|
|
1567
|
+
engine_version: typing.Optional[builtins.str] = None,
|
|
1568
|
+
multi_region_cluster_name_suffix: typing.Optional[builtins.str] = None,
|
|
1569
|
+
multi_region_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
1570
|
+
num_shards: typing.Optional[jsii.Number] = None,
|
|
1571
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1572
|
+
tls_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1573
|
+
update_strategy: typing.Optional[builtins.str] = None,
|
|
1574
|
+
) -> None:
|
|
1575
|
+
'''
|
|
1576
|
+
:param scope: Scope in which this resource is defined.
|
|
1577
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1578
|
+
:param node_type: The node type used by the multi-Region cluster.
|
|
1579
|
+
:param description: The description of the multi-Region cluster.
|
|
1580
|
+
:param engine: The name of the engine used by the multi-Region cluster.
|
|
1581
|
+
:param engine_version: The version of the engine used by the multi-Region cluster.
|
|
1582
|
+
:param multi_region_cluster_name_suffix: The name of the Multi Region cluster. This value must be unique as it also serves as the multi region cluster identifier.
|
|
1583
|
+
:param multi_region_parameter_group_name: The name of the multi-Region parameter group associated with the cluster.
|
|
1584
|
+
:param num_shards: The number of shards the multi region cluster will contain.
|
|
1585
|
+
:param tags: An array of key-value pairs to apply to this multi region cluster.
|
|
1586
|
+
:param tls_enabled: Indiciates if the multi-Region cluster is TLS enabled.
|
|
1587
|
+
:param update_strategy: An enum string value that determines the update strategy for scaling. Possible values are 'COORDINATED' and 'UNCOORDINATED'. Default is 'COORDINATED'.
|
|
1588
|
+
'''
|
|
1589
|
+
if __debug__:
|
|
1590
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f43e157f397efc77624c63e994d6c9b59f23c7e38e04f8e2e778cd657215b125)
|
|
1591
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1592
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1593
|
+
props = CfnMultiRegionClusterProps(
|
|
1594
|
+
node_type=node_type,
|
|
1595
|
+
description=description,
|
|
1596
|
+
engine=engine,
|
|
1597
|
+
engine_version=engine_version,
|
|
1598
|
+
multi_region_cluster_name_suffix=multi_region_cluster_name_suffix,
|
|
1599
|
+
multi_region_parameter_group_name=multi_region_parameter_group_name,
|
|
1600
|
+
num_shards=num_shards,
|
|
1601
|
+
tags=tags,
|
|
1602
|
+
tls_enabled=tls_enabled,
|
|
1603
|
+
update_strategy=update_strategy,
|
|
1604
|
+
)
|
|
1605
|
+
|
|
1606
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1607
|
+
|
|
1608
|
+
@jsii.member(jsii_name="inspect")
|
|
1609
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1610
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1611
|
+
|
|
1612
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1613
|
+
'''
|
|
1614
|
+
if __debug__:
|
|
1615
|
+
type_hints = typing.get_type_hints(_typecheckingstub__365257f783935c7a1981eb4450aca8ac43d391eaf4ef37638ee8b6e32c148725)
|
|
1616
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1617
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1618
|
+
|
|
1619
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1620
|
+
def _render_properties(
|
|
1621
|
+
self,
|
|
1622
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1623
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1624
|
+
'''
|
|
1625
|
+
:param props: -
|
|
1626
|
+
'''
|
|
1627
|
+
if __debug__:
|
|
1628
|
+
type_hints = typing.get_type_hints(_typecheckingstub__841bafb613e9a3cb08f836c76032c8434b1940c1e700cc8e2c44a9682dd54658)
|
|
1629
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1630
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1631
|
+
|
|
1632
|
+
@jsii.python.classproperty
|
|
1633
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1634
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1635
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1636
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1637
|
+
|
|
1638
|
+
@builtins.property
|
|
1639
|
+
@jsii.member(jsii_name="attrArn")
|
|
1640
|
+
def attr_arn(self) -> builtins.str:
|
|
1641
|
+
'''The Amazon Resource Name (ARN) of the multi-Region cluster.
|
|
1642
|
+
|
|
1643
|
+
:cloudformationAttribute: ARN
|
|
1644
|
+
'''
|
|
1645
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1646
|
+
|
|
1647
|
+
@builtins.property
|
|
1648
|
+
@jsii.member(jsii_name="attrMultiRegionClusterName")
|
|
1649
|
+
def attr_multi_region_cluster_name(self) -> builtins.str:
|
|
1650
|
+
'''The name of the multi-Region cluster.
|
|
1651
|
+
|
|
1652
|
+
:cloudformationAttribute: MultiRegionClusterName
|
|
1653
|
+
'''
|
|
1654
|
+
return typing.cast(builtins.str, jsii.get(self, "attrMultiRegionClusterName"))
|
|
1655
|
+
|
|
1656
|
+
@builtins.property
|
|
1657
|
+
@jsii.member(jsii_name="attrStatus")
|
|
1658
|
+
def attr_status(self) -> builtins.str:
|
|
1659
|
+
'''The current status of the multi-Region cluster.
|
|
1660
|
+
|
|
1661
|
+
:cloudformationAttribute: Status
|
|
1662
|
+
'''
|
|
1663
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
1664
|
+
|
|
1665
|
+
@builtins.property
|
|
1666
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1667
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1668
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1669
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1670
|
+
|
|
1671
|
+
@builtins.property
|
|
1672
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1673
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1674
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1675
|
+
|
|
1676
|
+
@builtins.property
|
|
1677
|
+
@jsii.member(jsii_name="nodeType")
|
|
1678
|
+
def node_type(self) -> builtins.str:
|
|
1679
|
+
'''The node type used by the multi-Region cluster.'''
|
|
1680
|
+
return typing.cast(builtins.str, jsii.get(self, "nodeType"))
|
|
1681
|
+
|
|
1682
|
+
@node_type.setter
|
|
1683
|
+
def node_type(self, value: builtins.str) -> None:
|
|
1684
|
+
if __debug__:
|
|
1685
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d1bdb5e5088a3280f202d8baf094162d7630dc301ae6bdc0072b5f3b49c25c09)
|
|
1686
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1687
|
+
jsii.set(self, "nodeType", value) # pyright: ignore[reportArgumentType]
|
|
1688
|
+
|
|
1689
|
+
@builtins.property
|
|
1690
|
+
@jsii.member(jsii_name="description")
|
|
1691
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1692
|
+
'''The description of the multi-Region cluster.'''
|
|
1693
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
1694
|
+
|
|
1695
|
+
@description.setter
|
|
1696
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
1697
|
+
if __debug__:
|
|
1698
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c4dcf4e42e324cc0a7b4be2736b735c33a207a22665b1f7be876df4b7d4a7f31)
|
|
1699
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1700
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
1701
|
+
|
|
1702
|
+
@builtins.property
|
|
1703
|
+
@jsii.member(jsii_name="engine")
|
|
1704
|
+
def engine(self) -> typing.Optional[builtins.str]:
|
|
1705
|
+
'''The name of the engine used by the multi-Region cluster.'''
|
|
1706
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "engine"))
|
|
1707
|
+
|
|
1708
|
+
@engine.setter
|
|
1709
|
+
def engine(self, value: typing.Optional[builtins.str]) -> None:
|
|
1710
|
+
if __debug__:
|
|
1711
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1a3ab8c02a294b0208844432d3f1bf8969783c03e6f0e203b242a7175fc9cbf7)
|
|
1712
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1713
|
+
jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
|
|
1714
|
+
|
|
1715
|
+
@builtins.property
|
|
1716
|
+
@jsii.member(jsii_name="engineVersion")
|
|
1717
|
+
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
1718
|
+
'''The version of the engine used by the multi-Region cluster.'''
|
|
1719
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "engineVersion"))
|
|
1720
|
+
|
|
1721
|
+
@engine_version.setter
|
|
1722
|
+
def engine_version(self, value: typing.Optional[builtins.str]) -> None:
|
|
1723
|
+
if __debug__:
|
|
1724
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1136d3e60556963377820fd10e83838fb2cf7eb315789f2c425fbb70edd06132)
|
|
1725
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1726
|
+
jsii.set(self, "engineVersion", value) # pyright: ignore[reportArgumentType]
|
|
1727
|
+
|
|
1728
|
+
@builtins.property
|
|
1729
|
+
@jsii.member(jsii_name="multiRegionClusterNameSuffix")
|
|
1730
|
+
def multi_region_cluster_name_suffix(self) -> typing.Optional[builtins.str]:
|
|
1731
|
+
'''The name of the Multi Region cluster.'''
|
|
1732
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "multiRegionClusterNameSuffix"))
|
|
1733
|
+
|
|
1734
|
+
@multi_region_cluster_name_suffix.setter
|
|
1735
|
+
def multi_region_cluster_name_suffix(
|
|
1736
|
+
self,
|
|
1737
|
+
value: typing.Optional[builtins.str],
|
|
1738
|
+
) -> None:
|
|
1739
|
+
if __debug__:
|
|
1740
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a4d2c72fe783dd0c172079a5d7810fe5e962339cc9ab3bd88cd47d542161a83c)
|
|
1741
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1742
|
+
jsii.set(self, "multiRegionClusterNameSuffix", value) # pyright: ignore[reportArgumentType]
|
|
1743
|
+
|
|
1744
|
+
@builtins.property
|
|
1745
|
+
@jsii.member(jsii_name="multiRegionParameterGroupName")
|
|
1746
|
+
def multi_region_parameter_group_name(self) -> typing.Optional[builtins.str]:
|
|
1747
|
+
'''The name of the multi-Region parameter group associated with the cluster.'''
|
|
1748
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "multiRegionParameterGroupName"))
|
|
1749
|
+
|
|
1750
|
+
@multi_region_parameter_group_name.setter
|
|
1751
|
+
def multi_region_parameter_group_name(
|
|
1752
|
+
self,
|
|
1753
|
+
value: typing.Optional[builtins.str],
|
|
1754
|
+
) -> None:
|
|
1755
|
+
if __debug__:
|
|
1756
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5628ccad004a828d8beea11b22679912b4908d2c41a506b2c2af24e53878cdff)
|
|
1757
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1758
|
+
jsii.set(self, "multiRegionParameterGroupName", value) # pyright: ignore[reportArgumentType]
|
|
1759
|
+
|
|
1760
|
+
@builtins.property
|
|
1761
|
+
@jsii.member(jsii_name="numShards")
|
|
1762
|
+
def num_shards(self) -> typing.Optional[jsii.Number]:
|
|
1763
|
+
'''The number of shards the multi region cluster will contain.'''
|
|
1764
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "numShards"))
|
|
1765
|
+
|
|
1766
|
+
@num_shards.setter
|
|
1767
|
+
def num_shards(self, value: typing.Optional[jsii.Number]) -> None:
|
|
1768
|
+
if __debug__:
|
|
1769
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f35169564721c48a0f9a9807ff25f1ba978f9c39b3391178832536bd1d148d03)
|
|
1770
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1771
|
+
jsii.set(self, "numShards", value) # pyright: ignore[reportArgumentType]
|
|
1772
|
+
|
|
1773
|
+
@builtins.property
|
|
1774
|
+
@jsii.member(jsii_name="tags")
|
|
1775
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1776
|
+
'''An array of key-value pairs to apply to this multi region cluster.'''
|
|
1777
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
1778
|
+
|
|
1779
|
+
@tags.setter
|
|
1780
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
1781
|
+
if __debug__:
|
|
1782
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4c31a456bc7dbec66c70a71ddb629df188e1935a42408620a3f750d3a77a57e6)
|
|
1783
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1784
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1785
|
+
|
|
1786
|
+
@builtins.property
|
|
1787
|
+
@jsii.member(jsii_name="tlsEnabled")
|
|
1788
|
+
def tls_enabled(
|
|
1789
|
+
self,
|
|
1790
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1791
|
+
'''Indiciates if the multi-Region cluster is TLS enabled.'''
|
|
1792
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "tlsEnabled"))
|
|
1793
|
+
|
|
1794
|
+
@tls_enabled.setter
|
|
1795
|
+
def tls_enabled(
|
|
1796
|
+
self,
|
|
1797
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
1798
|
+
) -> None:
|
|
1799
|
+
if __debug__:
|
|
1800
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1bb0298e9385954745a7301100806d16ede0f588fef6d462765b2aec1749a85d)
|
|
1801
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1802
|
+
jsii.set(self, "tlsEnabled", value) # pyright: ignore[reportArgumentType]
|
|
1803
|
+
|
|
1804
|
+
@builtins.property
|
|
1805
|
+
@jsii.member(jsii_name="updateStrategy")
|
|
1806
|
+
def update_strategy(self) -> typing.Optional[builtins.str]:
|
|
1807
|
+
'''An enum string value that determines the update strategy for scaling.'''
|
|
1808
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "updateStrategy"))
|
|
1809
|
+
|
|
1810
|
+
@update_strategy.setter
|
|
1811
|
+
def update_strategy(self, value: typing.Optional[builtins.str]) -> None:
|
|
1812
|
+
if __debug__:
|
|
1813
|
+
type_hints = typing.get_type_hints(_typecheckingstub__842502b31372c3bc8d35b15dbbe504d22ffcb7b578544ced356fd9e3016241c6)
|
|
1814
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1815
|
+
jsii.set(self, "updateStrategy", value) # pyright: ignore[reportArgumentType]
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
@jsii.data_type(
|
|
1819
|
+
jsii_type="aws-cdk-lib.aws_memorydb.CfnMultiRegionClusterProps",
|
|
1820
|
+
jsii_struct_bases=[],
|
|
1821
|
+
name_mapping={
|
|
1822
|
+
"node_type": "nodeType",
|
|
1823
|
+
"description": "description",
|
|
1824
|
+
"engine": "engine",
|
|
1825
|
+
"engine_version": "engineVersion",
|
|
1826
|
+
"multi_region_cluster_name_suffix": "multiRegionClusterNameSuffix",
|
|
1827
|
+
"multi_region_parameter_group_name": "multiRegionParameterGroupName",
|
|
1828
|
+
"num_shards": "numShards",
|
|
1829
|
+
"tags": "tags",
|
|
1830
|
+
"tls_enabled": "tlsEnabled",
|
|
1831
|
+
"update_strategy": "updateStrategy",
|
|
1832
|
+
},
|
|
1833
|
+
)
|
|
1834
|
+
class CfnMultiRegionClusterProps:
|
|
1835
|
+
def __init__(
|
|
1836
|
+
self,
|
|
1837
|
+
*,
|
|
1838
|
+
node_type: builtins.str,
|
|
1839
|
+
description: typing.Optional[builtins.str] = None,
|
|
1840
|
+
engine: typing.Optional[builtins.str] = None,
|
|
1841
|
+
engine_version: typing.Optional[builtins.str] = None,
|
|
1842
|
+
multi_region_cluster_name_suffix: typing.Optional[builtins.str] = None,
|
|
1843
|
+
multi_region_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
1844
|
+
num_shards: typing.Optional[jsii.Number] = None,
|
|
1845
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1846
|
+
tls_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1847
|
+
update_strategy: typing.Optional[builtins.str] = None,
|
|
1848
|
+
) -> None:
|
|
1849
|
+
'''Properties for defining a ``CfnMultiRegionCluster``.
|
|
1850
|
+
|
|
1851
|
+
:param node_type: The node type used by the multi-Region cluster.
|
|
1852
|
+
:param description: The description of the multi-Region cluster.
|
|
1853
|
+
:param engine: The name of the engine used by the multi-Region cluster.
|
|
1854
|
+
:param engine_version: The version of the engine used by the multi-Region cluster.
|
|
1855
|
+
:param multi_region_cluster_name_suffix: The name of the Multi Region cluster. This value must be unique as it also serves as the multi region cluster identifier.
|
|
1856
|
+
:param multi_region_parameter_group_name: The name of the multi-Region parameter group associated with the cluster.
|
|
1857
|
+
:param num_shards: The number of shards the multi region cluster will contain.
|
|
1858
|
+
:param tags: An array of key-value pairs to apply to this multi region cluster.
|
|
1859
|
+
:param tls_enabled: Indiciates if the multi-Region cluster is TLS enabled.
|
|
1860
|
+
:param update_strategy: An enum string value that determines the update strategy for scaling. Possible values are 'COORDINATED' and 'UNCOORDINATED'. Default is 'COORDINATED'.
|
|
1861
|
+
|
|
1862
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html
|
|
1863
|
+
:exampleMetadata: fixture=_generated
|
|
1864
|
+
|
|
1865
|
+
Example::
|
|
1866
|
+
|
|
1867
|
+
# The code below shows an example of how to instantiate this type.
|
|
1868
|
+
# The values are placeholders you should change.
|
|
1869
|
+
from aws_cdk import aws_memorydb as memorydb
|
|
1870
|
+
|
|
1871
|
+
cfn_multi_region_cluster_props = memorydb.CfnMultiRegionClusterProps(
|
|
1872
|
+
node_type="nodeType",
|
|
1873
|
+
|
|
1874
|
+
# the properties below are optional
|
|
1875
|
+
description="description",
|
|
1876
|
+
engine="engine",
|
|
1877
|
+
engine_version="engineVersion",
|
|
1878
|
+
multi_region_cluster_name_suffix="multiRegionClusterNameSuffix",
|
|
1879
|
+
multi_region_parameter_group_name="multiRegionParameterGroupName",
|
|
1880
|
+
num_shards=123,
|
|
1881
|
+
tags=[CfnTag(
|
|
1882
|
+
key="key",
|
|
1883
|
+
value="value"
|
|
1884
|
+
)],
|
|
1885
|
+
tls_enabled=False,
|
|
1886
|
+
update_strategy="updateStrategy"
|
|
1887
|
+
)
|
|
1888
|
+
'''
|
|
1889
|
+
if __debug__:
|
|
1890
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b9569a071e60bd5ca40bd8abc1af42fe02251ff3ce59a2492eead0d07809f34d)
|
|
1891
|
+
check_type(argname="argument node_type", value=node_type, expected_type=type_hints["node_type"])
|
|
1892
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1893
|
+
check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
|
|
1894
|
+
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
1895
|
+
check_type(argname="argument multi_region_cluster_name_suffix", value=multi_region_cluster_name_suffix, expected_type=type_hints["multi_region_cluster_name_suffix"])
|
|
1896
|
+
check_type(argname="argument multi_region_parameter_group_name", value=multi_region_parameter_group_name, expected_type=type_hints["multi_region_parameter_group_name"])
|
|
1897
|
+
check_type(argname="argument num_shards", value=num_shards, expected_type=type_hints["num_shards"])
|
|
1898
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1899
|
+
check_type(argname="argument tls_enabled", value=tls_enabled, expected_type=type_hints["tls_enabled"])
|
|
1900
|
+
check_type(argname="argument update_strategy", value=update_strategy, expected_type=type_hints["update_strategy"])
|
|
1901
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1902
|
+
"node_type": node_type,
|
|
1903
|
+
}
|
|
1904
|
+
if description is not None:
|
|
1905
|
+
self._values["description"] = description
|
|
1906
|
+
if engine is not None:
|
|
1907
|
+
self._values["engine"] = engine
|
|
1908
|
+
if engine_version is not None:
|
|
1909
|
+
self._values["engine_version"] = engine_version
|
|
1910
|
+
if multi_region_cluster_name_suffix is not None:
|
|
1911
|
+
self._values["multi_region_cluster_name_suffix"] = multi_region_cluster_name_suffix
|
|
1912
|
+
if multi_region_parameter_group_name is not None:
|
|
1913
|
+
self._values["multi_region_parameter_group_name"] = multi_region_parameter_group_name
|
|
1914
|
+
if num_shards is not None:
|
|
1915
|
+
self._values["num_shards"] = num_shards
|
|
1916
|
+
if tags is not None:
|
|
1917
|
+
self._values["tags"] = tags
|
|
1918
|
+
if tls_enabled is not None:
|
|
1919
|
+
self._values["tls_enabled"] = tls_enabled
|
|
1920
|
+
if update_strategy is not None:
|
|
1921
|
+
self._values["update_strategy"] = update_strategy
|
|
1922
|
+
|
|
1923
|
+
@builtins.property
|
|
1924
|
+
def node_type(self) -> builtins.str:
|
|
1925
|
+
'''The node type used by the multi-Region cluster.
|
|
1926
|
+
|
|
1927
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-nodetype
|
|
1928
|
+
'''
|
|
1929
|
+
result = self._values.get("node_type")
|
|
1930
|
+
assert result is not None, "Required property 'node_type' is missing"
|
|
1931
|
+
return typing.cast(builtins.str, result)
|
|
1932
|
+
|
|
1933
|
+
@builtins.property
|
|
1934
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1935
|
+
'''The description of the multi-Region cluster.
|
|
1936
|
+
|
|
1937
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-description
|
|
1938
|
+
'''
|
|
1939
|
+
result = self._values.get("description")
|
|
1940
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1941
|
+
|
|
1942
|
+
@builtins.property
|
|
1943
|
+
def engine(self) -> typing.Optional[builtins.str]:
|
|
1944
|
+
'''The name of the engine used by the multi-Region cluster.
|
|
1945
|
+
|
|
1946
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-engine
|
|
1947
|
+
'''
|
|
1948
|
+
result = self._values.get("engine")
|
|
1949
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1950
|
+
|
|
1951
|
+
@builtins.property
|
|
1952
|
+
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
1953
|
+
'''The version of the engine used by the multi-Region cluster.
|
|
1954
|
+
|
|
1955
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-engineversion
|
|
1956
|
+
'''
|
|
1957
|
+
result = self._values.get("engine_version")
|
|
1958
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1959
|
+
|
|
1960
|
+
@builtins.property
|
|
1961
|
+
def multi_region_cluster_name_suffix(self) -> typing.Optional[builtins.str]:
|
|
1962
|
+
'''The name of the Multi Region cluster.
|
|
1963
|
+
|
|
1964
|
+
This value must be unique as it also serves as the multi region cluster identifier.
|
|
1965
|
+
|
|
1966
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-multiregionclusternamesuffix
|
|
1967
|
+
'''
|
|
1968
|
+
result = self._values.get("multi_region_cluster_name_suffix")
|
|
1969
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1970
|
+
|
|
1971
|
+
@builtins.property
|
|
1972
|
+
def multi_region_parameter_group_name(self) -> typing.Optional[builtins.str]:
|
|
1973
|
+
'''The name of the multi-Region parameter group associated with the cluster.
|
|
1974
|
+
|
|
1975
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-multiregionparametergroupname
|
|
1976
|
+
'''
|
|
1977
|
+
result = self._values.get("multi_region_parameter_group_name")
|
|
1978
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1979
|
+
|
|
1980
|
+
@builtins.property
|
|
1981
|
+
def num_shards(self) -> typing.Optional[jsii.Number]:
|
|
1982
|
+
'''The number of shards the multi region cluster will contain.
|
|
1983
|
+
|
|
1984
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-numshards
|
|
1985
|
+
'''
|
|
1986
|
+
result = self._values.get("num_shards")
|
|
1987
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1988
|
+
|
|
1989
|
+
@builtins.property
|
|
1990
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1991
|
+
'''An array of key-value pairs to apply to this multi region cluster.
|
|
1992
|
+
|
|
1993
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-tags
|
|
1994
|
+
'''
|
|
1995
|
+
result = self._values.get("tags")
|
|
1996
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1997
|
+
|
|
1998
|
+
@builtins.property
|
|
1999
|
+
def tls_enabled(
|
|
2000
|
+
self,
|
|
2001
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2002
|
+
'''Indiciates if the multi-Region cluster is TLS enabled.
|
|
2003
|
+
|
|
2004
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-tlsenabled
|
|
2005
|
+
'''
|
|
2006
|
+
result = self._values.get("tls_enabled")
|
|
2007
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2008
|
+
|
|
2009
|
+
@builtins.property
|
|
2010
|
+
def update_strategy(self) -> typing.Optional[builtins.str]:
|
|
2011
|
+
'''An enum string value that determines the update strategy for scaling.
|
|
2012
|
+
|
|
2013
|
+
Possible values are 'COORDINATED' and 'UNCOORDINATED'. Default is 'COORDINATED'.
|
|
2014
|
+
|
|
2015
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-multiregioncluster.html#cfn-memorydb-multiregioncluster-updatestrategy
|
|
2016
|
+
'''
|
|
2017
|
+
result = self._values.get("update_strategy")
|
|
2018
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2019
|
+
|
|
2020
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2021
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2022
|
+
|
|
2023
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2024
|
+
return not (rhs == self)
|
|
2025
|
+
|
|
2026
|
+
def __repr__(self) -> str:
|
|
2027
|
+
return "CfnMultiRegionClusterProps(%s)" % ", ".join(
|
|
2028
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2029
|
+
)
|
|
2030
|
+
|
|
2031
|
+
|
|
1488
2032
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
1489
2033
|
class CfnParameterGroup(
|
|
1490
2034
|
_CfnResource_9df397a6,
|
|
@@ -2463,6 +3007,8 @@ __all__ = [
|
|
|
2463
3007
|
"CfnACLProps",
|
|
2464
3008
|
"CfnCluster",
|
|
2465
3009
|
"CfnClusterProps",
|
|
3010
|
+
"CfnMultiRegionCluster",
|
|
3011
|
+
"CfnMultiRegionClusterProps",
|
|
2466
3012
|
"CfnParameterGroup",
|
|
2467
3013
|
"CfnParameterGroupProps",
|
|
2468
3014
|
"CfnSubnetGroup",
|
|
@@ -2539,6 +3085,7 @@ def _typecheckingstub__2be3fd9830386937ed856721b0282cb7c4bcfb48ca212a069ae310ef4
|
|
|
2539
3085
|
final_snapshot_name: typing.Optional[builtins.str] = None,
|
|
2540
3086
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
2541
3087
|
maintenance_window: typing.Optional[builtins.str] = None,
|
|
3088
|
+
multi_region_cluster_name: typing.Optional[builtins.str] = None,
|
|
2542
3089
|
num_replicas_per_shard: typing.Optional[jsii.Number] = None,
|
|
2543
3090
|
num_shards: typing.Optional[jsii.Number] = None,
|
|
2544
3091
|
parameter_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -2641,6 +3188,12 @@ def _typecheckingstub__09056b85563d6a2905d89569ae90fbdb30eac108e48fcbb7dd5f0ebd2
|
|
|
2641
3188
|
"""Type checking stubs"""
|
|
2642
3189
|
pass
|
|
2643
3190
|
|
|
3191
|
+
def _typecheckingstub__5a714c813d8884d17d733f70558b9be80395f41104c444aa08355b14427047a2(
|
|
3192
|
+
value: typing.Optional[builtins.str],
|
|
3193
|
+
) -> None:
|
|
3194
|
+
"""Type checking stubs"""
|
|
3195
|
+
pass
|
|
3196
|
+
|
|
2644
3197
|
def _typecheckingstub__479de98a506cf9095cbe7cc894a5d9900271b75b5ba2f28140084d5f265184a7(
|
|
2645
3198
|
value: typing.Optional[jsii.Number],
|
|
2646
3199
|
) -> None:
|
|
@@ -2747,6 +3300,7 @@ def _typecheckingstub__1e34c4b7ef2f8328b2d19e6f768b6f44c55efea16824463c1ed0f3497
|
|
|
2747
3300
|
final_snapshot_name: typing.Optional[builtins.str] = None,
|
|
2748
3301
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
2749
3302
|
maintenance_window: typing.Optional[builtins.str] = None,
|
|
3303
|
+
multi_region_cluster_name: typing.Optional[builtins.str] = None,
|
|
2750
3304
|
num_replicas_per_shard: typing.Optional[jsii.Number] = None,
|
|
2751
3305
|
num_shards: typing.Optional[jsii.Number] = None,
|
|
2752
3306
|
parameter_group_name: typing.Optional[builtins.str] = None,
|
|
@@ -2765,6 +3319,112 @@ def _typecheckingstub__1e34c4b7ef2f8328b2d19e6f768b6f44c55efea16824463c1ed0f3497
|
|
|
2765
3319
|
"""Type checking stubs"""
|
|
2766
3320
|
pass
|
|
2767
3321
|
|
|
3322
|
+
def _typecheckingstub__f43e157f397efc77624c63e994d6c9b59f23c7e38e04f8e2e778cd657215b125(
|
|
3323
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3324
|
+
id: builtins.str,
|
|
3325
|
+
*,
|
|
3326
|
+
node_type: builtins.str,
|
|
3327
|
+
description: typing.Optional[builtins.str] = None,
|
|
3328
|
+
engine: typing.Optional[builtins.str] = None,
|
|
3329
|
+
engine_version: typing.Optional[builtins.str] = None,
|
|
3330
|
+
multi_region_cluster_name_suffix: typing.Optional[builtins.str] = None,
|
|
3331
|
+
multi_region_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
3332
|
+
num_shards: typing.Optional[jsii.Number] = None,
|
|
3333
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3334
|
+
tls_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3335
|
+
update_strategy: typing.Optional[builtins.str] = None,
|
|
3336
|
+
) -> None:
|
|
3337
|
+
"""Type checking stubs"""
|
|
3338
|
+
pass
|
|
3339
|
+
|
|
3340
|
+
def _typecheckingstub__365257f783935c7a1981eb4450aca8ac43d391eaf4ef37638ee8b6e32c148725(
|
|
3341
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3342
|
+
) -> None:
|
|
3343
|
+
"""Type checking stubs"""
|
|
3344
|
+
pass
|
|
3345
|
+
|
|
3346
|
+
def _typecheckingstub__841bafb613e9a3cb08f836c76032c8434b1940c1e700cc8e2c44a9682dd54658(
|
|
3347
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3348
|
+
) -> None:
|
|
3349
|
+
"""Type checking stubs"""
|
|
3350
|
+
pass
|
|
3351
|
+
|
|
3352
|
+
def _typecheckingstub__d1bdb5e5088a3280f202d8baf094162d7630dc301ae6bdc0072b5f3b49c25c09(
|
|
3353
|
+
value: builtins.str,
|
|
3354
|
+
) -> None:
|
|
3355
|
+
"""Type checking stubs"""
|
|
3356
|
+
pass
|
|
3357
|
+
|
|
3358
|
+
def _typecheckingstub__c4dcf4e42e324cc0a7b4be2736b735c33a207a22665b1f7be876df4b7d4a7f31(
|
|
3359
|
+
value: typing.Optional[builtins.str],
|
|
3360
|
+
) -> None:
|
|
3361
|
+
"""Type checking stubs"""
|
|
3362
|
+
pass
|
|
3363
|
+
|
|
3364
|
+
def _typecheckingstub__1a3ab8c02a294b0208844432d3f1bf8969783c03e6f0e203b242a7175fc9cbf7(
|
|
3365
|
+
value: typing.Optional[builtins.str],
|
|
3366
|
+
) -> None:
|
|
3367
|
+
"""Type checking stubs"""
|
|
3368
|
+
pass
|
|
3369
|
+
|
|
3370
|
+
def _typecheckingstub__1136d3e60556963377820fd10e83838fb2cf7eb315789f2c425fbb70edd06132(
|
|
3371
|
+
value: typing.Optional[builtins.str],
|
|
3372
|
+
) -> None:
|
|
3373
|
+
"""Type checking stubs"""
|
|
3374
|
+
pass
|
|
3375
|
+
|
|
3376
|
+
def _typecheckingstub__a4d2c72fe783dd0c172079a5d7810fe5e962339cc9ab3bd88cd47d542161a83c(
|
|
3377
|
+
value: typing.Optional[builtins.str],
|
|
3378
|
+
) -> None:
|
|
3379
|
+
"""Type checking stubs"""
|
|
3380
|
+
pass
|
|
3381
|
+
|
|
3382
|
+
def _typecheckingstub__5628ccad004a828d8beea11b22679912b4908d2c41a506b2c2af24e53878cdff(
|
|
3383
|
+
value: typing.Optional[builtins.str],
|
|
3384
|
+
) -> None:
|
|
3385
|
+
"""Type checking stubs"""
|
|
3386
|
+
pass
|
|
3387
|
+
|
|
3388
|
+
def _typecheckingstub__f35169564721c48a0f9a9807ff25f1ba978f9c39b3391178832536bd1d148d03(
|
|
3389
|
+
value: typing.Optional[jsii.Number],
|
|
3390
|
+
) -> None:
|
|
3391
|
+
"""Type checking stubs"""
|
|
3392
|
+
pass
|
|
3393
|
+
|
|
3394
|
+
def _typecheckingstub__4c31a456bc7dbec66c70a71ddb629df188e1935a42408620a3f750d3a77a57e6(
|
|
3395
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3396
|
+
) -> None:
|
|
3397
|
+
"""Type checking stubs"""
|
|
3398
|
+
pass
|
|
3399
|
+
|
|
3400
|
+
def _typecheckingstub__1bb0298e9385954745a7301100806d16ede0f588fef6d462765b2aec1749a85d(
|
|
3401
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
3402
|
+
) -> None:
|
|
3403
|
+
"""Type checking stubs"""
|
|
3404
|
+
pass
|
|
3405
|
+
|
|
3406
|
+
def _typecheckingstub__842502b31372c3bc8d35b15dbbe504d22ffcb7b578544ced356fd9e3016241c6(
|
|
3407
|
+
value: typing.Optional[builtins.str],
|
|
3408
|
+
) -> None:
|
|
3409
|
+
"""Type checking stubs"""
|
|
3410
|
+
pass
|
|
3411
|
+
|
|
3412
|
+
def _typecheckingstub__b9569a071e60bd5ca40bd8abc1af42fe02251ff3ce59a2492eead0d07809f34d(
|
|
3413
|
+
*,
|
|
3414
|
+
node_type: builtins.str,
|
|
3415
|
+
description: typing.Optional[builtins.str] = None,
|
|
3416
|
+
engine: typing.Optional[builtins.str] = None,
|
|
3417
|
+
engine_version: typing.Optional[builtins.str] = None,
|
|
3418
|
+
multi_region_cluster_name_suffix: typing.Optional[builtins.str] = None,
|
|
3419
|
+
multi_region_parameter_group_name: typing.Optional[builtins.str] = None,
|
|
3420
|
+
num_shards: typing.Optional[jsii.Number] = None,
|
|
3421
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3422
|
+
tls_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3423
|
+
update_strategy: typing.Optional[builtins.str] = None,
|
|
3424
|
+
) -> None:
|
|
3425
|
+
"""Type checking stubs"""
|
|
3426
|
+
pass
|
|
3427
|
+
|
|
2768
3428
|
def _typecheckingstub__61162072dcce7ce6eaedeac288d04351f356c4501c7c00303d65b4be539cccbc(
|
|
2769
3429
|
scope: _constructs_77d1e7e8.Construct,
|
|
2770
3430
|
id: builtins.str,
|