aws-cdk-lib 2.210.0__py3-none-any.whl → 2.211.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 +6 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.211.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_arcregionswitch/__init__.py +4962 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +721 -51
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +20 -8
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +155 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +160 -20
- aws_cdk/aws_ec2/__init__.py +978 -256
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +1642 -140
- aws_cdk/aws_eks/__init__.py +51 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +30 -16
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- aws_cdk/aws_iot/__init__.py +387 -0
- aws_cdk/aws_iotsitewise/__init__.py +1247 -139
- aws_cdk/aws_ivs/__init__.py +443 -33
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
- aws_cdk/aws_lambda/__init__.py +3 -3
- aws_cdk/aws_lightsail/__init__.py +590 -0
- aws_cdk/aws_logs/__init__.py +97 -3
- aws_cdk/aws_medialive/__init__.py +270 -7
- aws_cdk/aws_mediapackagev2/__init__.py +204 -6
- aws_cdk/aws_neptune/__init__.py +41 -2
- aws_cdk/aws_networkfirewall/__init__.py +490 -134
- aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
- aws_cdk/aws_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +36 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +107 -0
- aws_cdk/aws_rds/__init__.py +274 -0
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +52 -1
- aws_cdk/aws_sagemaker/__init__.py +4033 -218
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_ssm/__init__.py +8 -4
- aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesweb/__init__.py +949 -157
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/RECORD +57 -55
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_dax/__init__.py
CHANGED
|
@@ -100,6 +100,7 @@ class CfnCluster(
|
|
|
100
100
|
cluster_endpoint_encryption_type="clusterEndpointEncryptionType",
|
|
101
101
|
cluster_name="clusterName",
|
|
102
102
|
description="description",
|
|
103
|
+
network_type="networkType",
|
|
103
104
|
notification_topic_arn="notificationTopicArn",
|
|
104
105
|
parameter_group_name="parameterGroupName",
|
|
105
106
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
@@ -124,6 +125,7 @@ class CfnCluster(
|
|
|
124
125
|
cluster_endpoint_encryption_type: typing.Optional[builtins.str] = None,
|
|
125
126
|
cluster_name: typing.Optional[builtins.str] = None,
|
|
126
127
|
description: typing.Optional[builtins.str] = None,
|
|
128
|
+
network_type: typing.Optional[builtins.str] = None,
|
|
127
129
|
notification_topic_arn: typing.Optional[builtins.str] = None,
|
|
128
130
|
parameter_group_name: typing.Optional[builtins.str] = None,
|
|
129
131
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
@@ -142,6 +144,7 @@ class CfnCluster(
|
|
|
142
144
|
:param cluster_endpoint_encryption_type: The encryption type of the cluster's endpoint. Available values are:. - ``NONE`` - The cluster's endpoint will be unencrypted. - ``TLS`` - The cluster's endpoint will be encrypted with Transport Layer Security, and will provide an x509 certificate for authentication. The default value is ``NONE`` .
|
|
143
145
|
:param cluster_name: The name of the DAX cluster.
|
|
144
146
|
:param description: The description of the cluster.
|
|
147
|
+
:param network_type:
|
|
145
148
|
:param notification_topic_arn: The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent. .. epigraph:: The Amazon SNS topic owner must be same as the DAX cluster owner.
|
|
146
149
|
:param parameter_group_name: The parameter group to be associated with the DAX cluster.
|
|
147
150
|
:param preferred_maintenance_window: A range of time when maintenance of DAX cluster software will be performed. For example: ``sun:01:00-sun:09:00`` . Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window.
|
|
@@ -162,6 +165,7 @@ class CfnCluster(
|
|
|
162
165
|
cluster_endpoint_encryption_type=cluster_endpoint_encryption_type,
|
|
163
166
|
cluster_name=cluster_name,
|
|
164
167
|
description=description,
|
|
168
|
+
network_type=network_type,
|
|
165
169
|
notification_topic_arn=notification_topic_arn,
|
|
166
170
|
parameter_group_name=parameter_group_name,
|
|
167
171
|
preferred_maintenance_window=preferred_maintenance_window,
|
|
@@ -361,6 +365,18 @@ class CfnCluster(
|
|
|
361
365
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
362
366
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
363
367
|
|
|
368
|
+
@builtins.property
|
|
369
|
+
@jsii.member(jsii_name="networkType")
|
|
370
|
+
def network_type(self) -> typing.Optional[builtins.str]:
|
|
371
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "networkType"))
|
|
372
|
+
|
|
373
|
+
@network_type.setter
|
|
374
|
+
def network_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
375
|
+
if __debug__:
|
|
376
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ff7558bb38dbc4bcadee03929865e52ee37088214e910d3784cedcbfc0b496ac)
|
|
377
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
378
|
+
jsii.set(self, "networkType", value) # pyright: ignore[reportArgumentType]
|
|
379
|
+
|
|
364
380
|
@builtins.property
|
|
365
381
|
@jsii.member(jsii_name="notificationTopicArn")
|
|
366
382
|
def notification_topic_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -532,6 +548,7 @@ class CfnCluster(
|
|
|
532
548
|
"cluster_endpoint_encryption_type": "clusterEndpointEncryptionType",
|
|
533
549
|
"cluster_name": "clusterName",
|
|
534
550
|
"description": "description",
|
|
551
|
+
"network_type": "networkType",
|
|
535
552
|
"notification_topic_arn": "notificationTopicArn",
|
|
536
553
|
"parameter_group_name": "parameterGroupName",
|
|
537
554
|
"preferred_maintenance_window": "preferredMaintenanceWindow",
|
|
@@ -552,6 +569,7 @@ class CfnClusterProps:
|
|
|
552
569
|
cluster_endpoint_encryption_type: typing.Optional[builtins.str] = None,
|
|
553
570
|
cluster_name: typing.Optional[builtins.str] = None,
|
|
554
571
|
description: typing.Optional[builtins.str] = None,
|
|
572
|
+
network_type: typing.Optional[builtins.str] = None,
|
|
555
573
|
notification_topic_arn: typing.Optional[builtins.str] = None,
|
|
556
574
|
parameter_group_name: typing.Optional[builtins.str] = None,
|
|
557
575
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
@@ -569,6 +587,7 @@ class CfnClusterProps:
|
|
|
569
587
|
:param cluster_endpoint_encryption_type: The encryption type of the cluster's endpoint. Available values are:. - ``NONE`` - The cluster's endpoint will be unencrypted. - ``TLS`` - The cluster's endpoint will be encrypted with Transport Layer Security, and will provide an x509 certificate for authentication. The default value is ``NONE`` .
|
|
570
588
|
:param cluster_name: The name of the DAX cluster.
|
|
571
589
|
:param description: The description of the cluster.
|
|
590
|
+
:param network_type:
|
|
572
591
|
:param notification_topic_arn: The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent. .. epigraph:: The Amazon SNS topic owner must be same as the DAX cluster owner.
|
|
573
592
|
:param parameter_group_name: The parameter group to be associated with the DAX cluster.
|
|
574
593
|
:param preferred_maintenance_window: A range of time when maintenance of DAX cluster software will be performed. For example: ``sun:01:00-sun:09:00`` . Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window.
|
|
@@ -598,6 +617,7 @@ class CfnClusterProps:
|
|
|
598
617
|
cluster_endpoint_encryption_type="clusterEndpointEncryptionType",
|
|
599
618
|
cluster_name="clusterName",
|
|
600
619
|
description="description",
|
|
620
|
+
network_type="networkType",
|
|
601
621
|
notification_topic_arn="notificationTopicArn",
|
|
602
622
|
parameter_group_name="parameterGroupName",
|
|
603
623
|
preferred_maintenance_window="preferredMaintenanceWindow",
|
|
@@ -618,6 +638,7 @@ class CfnClusterProps:
|
|
|
618
638
|
check_type(argname="argument cluster_endpoint_encryption_type", value=cluster_endpoint_encryption_type, expected_type=type_hints["cluster_endpoint_encryption_type"])
|
|
619
639
|
check_type(argname="argument cluster_name", value=cluster_name, expected_type=type_hints["cluster_name"])
|
|
620
640
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
641
|
+
check_type(argname="argument network_type", value=network_type, expected_type=type_hints["network_type"])
|
|
621
642
|
check_type(argname="argument notification_topic_arn", value=notification_topic_arn, expected_type=type_hints["notification_topic_arn"])
|
|
622
643
|
check_type(argname="argument parameter_group_name", value=parameter_group_name, expected_type=type_hints["parameter_group_name"])
|
|
623
644
|
check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
|
|
@@ -638,6 +659,8 @@ class CfnClusterProps:
|
|
|
638
659
|
self._values["cluster_name"] = cluster_name
|
|
639
660
|
if description is not None:
|
|
640
661
|
self._values["description"] = description
|
|
662
|
+
if network_type is not None:
|
|
663
|
+
self._values["network_type"] = network_type
|
|
641
664
|
if notification_topic_arn is not None:
|
|
642
665
|
self._values["notification_topic_arn"] = notification_topic_arn
|
|
643
666
|
if parameter_group_name is not None:
|
|
@@ -735,6 +758,14 @@ class CfnClusterProps:
|
|
|
735
758
|
result = self._values.get("description")
|
|
736
759
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
737
760
|
|
|
761
|
+
@builtins.property
|
|
762
|
+
def network_type(self) -> typing.Optional[builtins.str]:
|
|
763
|
+
'''
|
|
764
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-networktype
|
|
765
|
+
'''
|
|
766
|
+
result = self._values.get("network_type")
|
|
767
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
768
|
+
|
|
738
769
|
@builtins.property
|
|
739
770
|
def notification_topic_arn(self) -> typing.Optional[builtins.str]:
|
|
740
771
|
'''The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent.
|
|
@@ -1314,6 +1345,7 @@ def _typecheckingstub__324ad6077b574145119496cf9145399149504cf843373d16080bbfc26
|
|
|
1314
1345
|
cluster_endpoint_encryption_type: typing.Optional[builtins.str] = None,
|
|
1315
1346
|
cluster_name: typing.Optional[builtins.str] = None,
|
|
1316
1347
|
description: typing.Optional[builtins.str] = None,
|
|
1348
|
+
network_type: typing.Optional[builtins.str] = None,
|
|
1317
1349
|
notification_topic_arn: typing.Optional[builtins.str] = None,
|
|
1318
1350
|
parameter_group_name: typing.Optional[builtins.str] = None,
|
|
1319
1351
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
|
@@ -1379,6 +1411,12 @@ def _typecheckingstub__e936f055c9c5c8fb047e8707a99756966620342b83efe4e4d27033690
|
|
|
1379
1411
|
"""Type checking stubs"""
|
|
1380
1412
|
pass
|
|
1381
1413
|
|
|
1414
|
+
def _typecheckingstub__ff7558bb38dbc4bcadee03929865e52ee37088214e910d3784cedcbfc0b496ac(
|
|
1415
|
+
value: typing.Optional[builtins.str],
|
|
1416
|
+
) -> None:
|
|
1417
|
+
"""Type checking stubs"""
|
|
1418
|
+
pass
|
|
1419
|
+
|
|
1382
1420
|
def _typecheckingstub__852eb5b1ac0dc6981cbea6d3a51527ef97091db66755959ae1dc62f475cd0c3b(
|
|
1383
1421
|
value: typing.Optional[builtins.str],
|
|
1384
1422
|
) -> None:
|
|
@@ -1437,6 +1475,7 @@ def _typecheckingstub__ece2ee11399f77b699021f70d8286031a08ea0aa17f1c2afcda136bb9
|
|
|
1437
1475
|
cluster_endpoint_encryption_type: typing.Optional[builtins.str] = None,
|
|
1438
1476
|
cluster_name: typing.Optional[builtins.str] = None,
|
|
1439
1477
|
description: typing.Optional[builtins.str] = None,
|
|
1478
|
+
network_type: typing.Optional[builtins.str] = None,
|
|
1440
1479
|
notification_topic_arn: typing.Optional[builtins.str] = None,
|
|
1441
1480
|
parameter_group_name: typing.Optional[builtins.str] = None,
|
|
1442
1481
|
preferred_maintenance_window: typing.Optional[builtins.str] = None,
|
aws_cdk/aws_deadline/__init__.py
CHANGED
|
@@ -508,7 +508,10 @@ class CfnFleet(
|
|
|
508
508
|
),
|
|
509
509
|
|
|
510
510
|
# the properties below are optional
|
|
511
|
-
storage_profile_id="storageProfileId"
|
|
511
|
+
storage_profile_id="storageProfileId",
|
|
512
|
+
vpc_configuration=deadline.CfnFleet.VpcConfigurationProperty(
|
|
513
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
514
|
+
)
|
|
512
515
|
)
|
|
513
516
|
),
|
|
514
517
|
display_name="displayName",
|
|
@@ -1973,7 +1976,10 @@ class CfnFleet(
|
|
|
1973
1976
|
),
|
|
1974
1977
|
|
|
1975
1978
|
# the properties below are optional
|
|
1976
|
-
storage_profile_id="storageProfileId"
|
|
1979
|
+
storage_profile_id="storageProfileId",
|
|
1980
|
+
vpc_configuration=deadline.CfnFleet.VpcConfigurationProperty(
|
|
1981
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
1982
|
+
)
|
|
1977
1983
|
)
|
|
1978
1984
|
)
|
|
1979
1985
|
'''
|
|
@@ -2194,6 +2200,7 @@ class CfnFleet(
|
|
|
2194
2200
|
"instance_capabilities": "instanceCapabilities",
|
|
2195
2201
|
"instance_market_options": "instanceMarketOptions",
|
|
2196
2202
|
"storage_profile_id": "storageProfileId",
|
|
2203
|
+
"vpc_configuration": "vpcConfiguration",
|
|
2197
2204
|
},
|
|
2198
2205
|
)
|
|
2199
2206
|
class ServiceManagedEc2FleetConfigurationProperty:
|
|
@@ -2203,12 +2210,14 @@ class CfnFleet(
|
|
|
2203
2210
|
instance_capabilities: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2204
2211
|
instance_market_options: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.ServiceManagedEc2InstanceMarketOptionsProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2205
2212
|
storage_profile_id: typing.Optional[builtins.str] = None,
|
|
2213
|
+
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.VpcConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2206
2214
|
) -> None:
|
|
2207
2215
|
'''The configuration details for a service managed Amazon EC2 fleet.
|
|
2208
2216
|
|
|
2209
2217
|
:param instance_capabilities: The Amazon EC2 instance capabilities.
|
|
2210
2218
|
:param instance_market_options: The Amazon EC2 market type.
|
|
2211
2219
|
:param storage_profile_id: The storage profile ID.
|
|
2220
|
+
:param vpc_configuration:
|
|
2212
2221
|
|
|
2213
2222
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html
|
|
2214
2223
|
:exampleMetadata: fixture=_generated
|
|
@@ -2277,7 +2286,10 @@ class CfnFleet(
|
|
|
2277
2286
|
),
|
|
2278
2287
|
|
|
2279
2288
|
# the properties below are optional
|
|
2280
|
-
storage_profile_id="storageProfileId"
|
|
2289
|
+
storage_profile_id="storageProfileId",
|
|
2290
|
+
vpc_configuration=deadline.CfnFleet.VpcConfigurationProperty(
|
|
2291
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
2292
|
+
)
|
|
2281
2293
|
)
|
|
2282
2294
|
'''
|
|
2283
2295
|
if __debug__:
|
|
@@ -2285,12 +2297,15 @@ class CfnFleet(
|
|
|
2285
2297
|
check_type(argname="argument instance_capabilities", value=instance_capabilities, expected_type=type_hints["instance_capabilities"])
|
|
2286
2298
|
check_type(argname="argument instance_market_options", value=instance_market_options, expected_type=type_hints["instance_market_options"])
|
|
2287
2299
|
check_type(argname="argument storage_profile_id", value=storage_profile_id, expected_type=type_hints["storage_profile_id"])
|
|
2300
|
+
check_type(argname="argument vpc_configuration", value=vpc_configuration, expected_type=type_hints["vpc_configuration"])
|
|
2288
2301
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2289
2302
|
"instance_capabilities": instance_capabilities,
|
|
2290
2303
|
"instance_market_options": instance_market_options,
|
|
2291
2304
|
}
|
|
2292
2305
|
if storage_profile_id is not None:
|
|
2293
2306
|
self._values["storage_profile_id"] = storage_profile_id
|
|
2307
|
+
if vpc_configuration is not None:
|
|
2308
|
+
self._values["vpc_configuration"] = vpc_configuration
|
|
2294
2309
|
|
|
2295
2310
|
@builtins.property
|
|
2296
2311
|
def instance_capabilities(
|
|
@@ -2325,6 +2340,16 @@ class CfnFleet(
|
|
|
2325
2340
|
result = self._values.get("storage_profile_id")
|
|
2326
2341
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2327
2342
|
|
|
2343
|
+
@builtins.property
|
|
2344
|
+
def vpc_configuration(
|
|
2345
|
+
self,
|
|
2346
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigurationProperty"]]:
|
|
2347
|
+
'''
|
|
2348
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html#cfn-deadline-fleet-servicemanagedec2fleetconfiguration-vpcconfiguration
|
|
2349
|
+
'''
|
|
2350
|
+
result = self._values.get("vpc_configuration")
|
|
2351
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigurationProperty"]], result)
|
|
2352
|
+
|
|
2328
2353
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2329
2354
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2330
2355
|
|
|
@@ -2715,6 +2740,61 @@ class CfnFleet(
|
|
|
2715
2740
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2716
2741
|
)
|
|
2717
2742
|
|
|
2743
|
+
@jsii.data_type(
|
|
2744
|
+
jsii_type="aws-cdk-lib.aws_deadline.CfnFleet.VpcConfigurationProperty",
|
|
2745
|
+
jsii_struct_bases=[],
|
|
2746
|
+
name_mapping={"resource_configuration_arns": "resourceConfigurationArns"},
|
|
2747
|
+
)
|
|
2748
|
+
class VpcConfigurationProperty:
|
|
2749
|
+
def __init__(
|
|
2750
|
+
self,
|
|
2751
|
+
*,
|
|
2752
|
+
resource_configuration_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2753
|
+
) -> None:
|
|
2754
|
+
'''
|
|
2755
|
+
:param resource_configuration_arns:
|
|
2756
|
+
|
|
2757
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vpcconfiguration.html
|
|
2758
|
+
:exampleMetadata: fixture=_generated
|
|
2759
|
+
|
|
2760
|
+
Example::
|
|
2761
|
+
|
|
2762
|
+
# The code below shows an example of how to instantiate this type.
|
|
2763
|
+
# The values are placeholders you should change.
|
|
2764
|
+
from aws_cdk import aws_deadline as deadline
|
|
2765
|
+
|
|
2766
|
+
vpc_configuration_property = deadline.CfnFleet.VpcConfigurationProperty(
|
|
2767
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
2768
|
+
)
|
|
2769
|
+
'''
|
|
2770
|
+
if __debug__:
|
|
2771
|
+
type_hints = typing.get_type_hints(_typecheckingstub__54c02580b19d5690de8f0571b8939331063fdba5295262f67c0ffacd47b723f1)
|
|
2772
|
+
check_type(argname="argument resource_configuration_arns", value=resource_configuration_arns, expected_type=type_hints["resource_configuration_arns"])
|
|
2773
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2774
|
+
if resource_configuration_arns is not None:
|
|
2775
|
+
self._values["resource_configuration_arns"] = resource_configuration_arns
|
|
2776
|
+
|
|
2777
|
+
@builtins.property
|
|
2778
|
+
def resource_configuration_arns(
|
|
2779
|
+
self,
|
|
2780
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
2781
|
+
'''
|
|
2782
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vpcconfiguration.html#cfn-deadline-fleet-vpcconfiguration-resourceconfigurationarns
|
|
2783
|
+
'''
|
|
2784
|
+
result = self._values.get("resource_configuration_arns")
|
|
2785
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2786
|
+
|
|
2787
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2788
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2789
|
+
|
|
2790
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2791
|
+
return not (rhs == self)
|
|
2792
|
+
|
|
2793
|
+
def __repr__(self) -> str:
|
|
2794
|
+
return "VpcConfigurationProperty(%s)" % ", ".join(
|
|
2795
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2796
|
+
)
|
|
2797
|
+
|
|
2718
2798
|
|
|
2719
2799
|
@jsii.data_type(
|
|
2720
2800
|
jsii_type="aws-cdk-lib.aws_deadline.CfnFleetProps",
|
|
@@ -2875,7 +2955,10 @@ class CfnFleetProps:
|
|
|
2875
2955
|
),
|
|
2876
2956
|
|
|
2877
2957
|
# the properties below are optional
|
|
2878
|
-
storage_profile_id="storageProfileId"
|
|
2958
|
+
storage_profile_id="storageProfileId",
|
|
2959
|
+
vpc_configuration=deadline.CfnFleet.VpcConfigurationProperty(
|
|
2960
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
2961
|
+
)
|
|
2879
2962
|
)
|
|
2880
2963
|
),
|
|
2881
2964
|
display_name="displayName",
|
|
@@ -3908,7 +3991,7 @@ class CfnMeteredProductProps:
|
|
|
3908
3991
|
)
|
|
3909
3992
|
|
|
3910
3993
|
|
|
3911
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
3994
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
3912
3995
|
class CfnMonitor(
|
|
3913
3996
|
_CfnResource_9df397a6,
|
|
3914
3997
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3932,7 +4015,13 @@ class CfnMonitor(
|
|
|
3932
4015
|
display_name="displayName",
|
|
3933
4016
|
identity_center_instance_arn="identityCenterInstanceArn",
|
|
3934
4017
|
role_arn="roleArn",
|
|
3935
|
-
subdomain="subdomain"
|
|
4018
|
+
subdomain="subdomain",
|
|
4019
|
+
|
|
4020
|
+
# the properties below are optional
|
|
4021
|
+
tags=[CfnTag(
|
|
4022
|
+
key="key",
|
|
4023
|
+
value="value"
|
|
4024
|
+
)]
|
|
3936
4025
|
)
|
|
3937
4026
|
'''
|
|
3938
4027
|
|
|
@@ -3945,6 +4034,7 @@ class CfnMonitor(
|
|
|
3945
4034
|
identity_center_instance_arn: builtins.str,
|
|
3946
4035
|
role_arn: builtins.str,
|
|
3947
4036
|
subdomain: builtins.str,
|
|
4037
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3948
4038
|
) -> None:
|
|
3949
4039
|
'''
|
|
3950
4040
|
:param scope: Scope in which this resource is defined.
|
|
@@ -3953,6 +4043,7 @@ class CfnMonitor(
|
|
|
3953
4043
|
:param identity_center_instance_arn: The Amazon Resource Name (ARN) of the IAM Identity Center instance responsible for authenticating monitor users.
|
|
3954
4044
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the monitor use this role to access Deadline Cloud resources.
|
|
3955
4045
|
:param subdomain: The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.
|
|
4046
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
3956
4047
|
'''
|
|
3957
4048
|
if __debug__:
|
|
3958
4049
|
type_hints = typing.get_type_hints(_typecheckingstub__4edf45db3ae8781366a254b5ea792b290cf7822e23073f5b7f959959eb7658ab)
|
|
@@ -3963,6 +4054,7 @@ class CfnMonitor(
|
|
|
3963
4054
|
identity_center_instance_arn=identity_center_instance_arn,
|
|
3964
4055
|
role_arn=role_arn,
|
|
3965
4056
|
subdomain=subdomain,
|
|
4057
|
+
tags=tags,
|
|
3966
4058
|
)
|
|
3967
4059
|
|
|
3968
4060
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -4035,6 +4127,12 @@ class CfnMonitor(
|
|
|
4035
4127
|
'''
|
|
4036
4128
|
return typing.cast(builtins.str, jsii.get(self, "attrUrl"))
|
|
4037
4129
|
|
|
4130
|
+
@builtins.property
|
|
4131
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
4132
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
4133
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
4134
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
4135
|
+
|
|
4038
4136
|
@builtins.property
|
|
4039
4137
|
@jsii.member(jsii_name="cfnProperties")
|
|
4040
4138
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -4092,6 +4190,19 @@ class CfnMonitor(
|
|
|
4092
4190
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4093
4191
|
jsii.set(self, "subdomain", value) # pyright: ignore[reportArgumentType]
|
|
4094
4192
|
|
|
4193
|
+
@builtins.property
|
|
4194
|
+
@jsii.member(jsii_name="tags")
|
|
4195
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4196
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
4197
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4198
|
+
|
|
4199
|
+
@tags.setter
|
|
4200
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
4201
|
+
if __debug__:
|
|
4202
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d79166c0c9556907ea6c9def114020487a556a49bf64ecf1e6334c0fe7e8efac)
|
|
4203
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4204
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
4205
|
+
|
|
4095
4206
|
|
|
4096
4207
|
@jsii.data_type(
|
|
4097
4208
|
jsii_type="aws-cdk-lib.aws_deadline.CfnMonitorProps",
|
|
@@ -4101,6 +4212,7 @@ class CfnMonitor(
|
|
|
4101
4212
|
"identity_center_instance_arn": "identityCenterInstanceArn",
|
|
4102
4213
|
"role_arn": "roleArn",
|
|
4103
4214
|
"subdomain": "subdomain",
|
|
4215
|
+
"tags": "tags",
|
|
4104
4216
|
},
|
|
4105
4217
|
)
|
|
4106
4218
|
class CfnMonitorProps:
|
|
@@ -4111,6 +4223,7 @@ class CfnMonitorProps:
|
|
|
4111
4223
|
identity_center_instance_arn: builtins.str,
|
|
4112
4224
|
role_arn: builtins.str,
|
|
4113
4225
|
subdomain: builtins.str,
|
|
4226
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4114
4227
|
) -> None:
|
|
4115
4228
|
'''Properties for defining a ``CfnMonitor``.
|
|
4116
4229
|
|
|
@@ -4118,6 +4231,7 @@ class CfnMonitorProps:
|
|
|
4118
4231
|
:param identity_center_instance_arn: The Amazon Resource Name (ARN) of the IAM Identity Center instance responsible for authenticating monitor users.
|
|
4119
4232
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the monitor use this role to access Deadline Cloud resources.
|
|
4120
4233
|
:param subdomain: The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.
|
|
4234
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
4121
4235
|
|
|
4122
4236
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-monitor.html
|
|
4123
4237
|
:exampleMetadata: fixture=_generated
|
|
@@ -4132,7 +4246,13 @@ class CfnMonitorProps:
|
|
|
4132
4246
|
display_name="displayName",
|
|
4133
4247
|
identity_center_instance_arn="identityCenterInstanceArn",
|
|
4134
4248
|
role_arn="roleArn",
|
|
4135
|
-
subdomain="subdomain"
|
|
4249
|
+
subdomain="subdomain",
|
|
4250
|
+
|
|
4251
|
+
# the properties below are optional
|
|
4252
|
+
tags=[CfnTag(
|
|
4253
|
+
key="key",
|
|
4254
|
+
value="value"
|
|
4255
|
+
)]
|
|
4136
4256
|
)
|
|
4137
4257
|
'''
|
|
4138
4258
|
if __debug__:
|
|
@@ -4141,12 +4261,15 @@ class CfnMonitorProps:
|
|
|
4141
4261
|
check_type(argname="argument identity_center_instance_arn", value=identity_center_instance_arn, expected_type=type_hints["identity_center_instance_arn"])
|
|
4142
4262
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
4143
4263
|
check_type(argname="argument subdomain", value=subdomain, expected_type=type_hints["subdomain"])
|
|
4264
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4144
4265
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4145
4266
|
"display_name": display_name,
|
|
4146
4267
|
"identity_center_instance_arn": identity_center_instance_arn,
|
|
4147
4268
|
"role_arn": role_arn,
|
|
4148
4269
|
"subdomain": subdomain,
|
|
4149
4270
|
}
|
|
4271
|
+
if tags is not None:
|
|
4272
|
+
self._values["tags"] = tags
|
|
4150
4273
|
|
|
4151
4274
|
@builtins.property
|
|
4152
4275
|
def display_name(self) -> builtins.str:
|
|
@@ -4196,6 +4319,15 @@ class CfnMonitorProps:
|
|
|
4196
4319
|
assert result is not None, "Required property 'subdomain' is missing"
|
|
4197
4320
|
return typing.cast(builtins.str, result)
|
|
4198
4321
|
|
|
4322
|
+
@builtins.property
|
|
4323
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4324
|
+
'''An array of key-value pairs to apply to this resource.
|
|
4325
|
+
|
|
4326
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-monitor.html#cfn-deadline-monitor-tags
|
|
4327
|
+
'''
|
|
4328
|
+
result = self._values.get("tags")
|
|
4329
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
4330
|
+
|
|
4199
4331
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4200
4332
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4201
4333
|
|
|
@@ -6456,6 +6588,7 @@ def _typecheckingstub__a24a660b503191048581077a517891d27502b69620643c50907360328
|
|
|
6456
6588
|
instance_capabilities: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
6457
6589
|
instance_market_options: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ServiceManagedEc2InstanceMarketOptionsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
6458
6590
|
storage_profile_id: typing.Optional[builtins.str] = None,
|
|
6591
|
+
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6459
6592
|
) -> None:
|
|
6460
6593
|
"""Type checking stubs"""
|
|
6461
6594
|
pass
|
|
@@ -6491,6 +6624,13 @@ def _typecheckingstub__fcd8ae2a83778ec7a6d7445fcea241d1ce2694a66c1ccc07c23cdd1c8
|
|
|
6491
6624
|
"""Type checking stubs"""
|
|
6492
6625
|
pass
|
|
6493
6626
|
|
|
6627
|
+
def _typecheckingstub__54c02580b19d5690de8f0571b8939331063fdba5295262f67c0ffacd47b723f1(
|
|
6628
|
+
*,
|
|
6629
|
+
resource_configuration_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6630
|
+
) -> None:
|
|
6631
|
+
"""Type checking stubs"""
|
|
6632
|
+
pass
|
|
6633
|
+
|
|
6494
6634
|
def _typecheckingstub__a1472efddb89af74b2ae4dc1156d30448332099bec47f03ae56886a44d2d7c7a(
|
|
6495
6635
|
*,
|
|
6496
6636
|
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.FleetConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -6680,6 +6820,7 @@ def _typecheckingstub__4edf45db3ae8781366a254b5ea792b290cf7822e23073f5b7f959959e
|
|
|
6680
6820
|
identity_center_instance_arn: builtins.str,
|
|
6681
6821
|
role_arn: builtins.str,
|
|
6682
6822
|
subdomain: builtins.str,
|
|
6823
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6683
6824
|
) -> None:
|
|
6684
6825
|
"""Type checking stubs"""
|
|
6685
6826
|
pass
|
|
@@ -6720,12 +6861,19 @@ def _typecheckingstub__92a6ea9073f47adeb866001ba027d5701cc6d06e3e3b1842bc227c770
|
|
|
6720
6861
|
"""Type checking stubs"""
|
|
6721
6862
|
pass
|
|
6722
6863
|
|
|
6864
|
+
def _typecheckingstub__d79166c0c9556907ea6c9def114020487a556a49bf64ecf1e6334c0fe7e8efac(
|
|
6865
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
6866
|
+
) -> None:
|
|
6867
|
+
"""Type checking stubs"""
|
|
6868
|
+
pass
|
|
6869
|
+
|
|
6723
6870
|
def _typecheckingstub__491e65cd80e97b2076199940d899980b250e96b9da8d5783d92f236ae1c6e7f4(
|
|
6724
6871
|
*,
|
|
6725
6872
|
display_name: builtins.str,
|
|
6726
6873
|
identity_center_instance_arn: builtins.str,
|
|
6727
6874
|
role_arn: builtins.str,
|
|
6728
6875
|
subdomain: builtins.str,
|
|
6876
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6729
6877
|
) -> None:
|
|
6730
6878
|
"""Type checking stubs"""
|
|
6731
6879
|
pass
|
aws_cdk/aws_docdb/__init__.py
CHANGED
|
@@ -657,11 +657,11 @@ class CfnDBCluster(
|
|
|
657
657
|
:param restore_to_time: The date and time to restore the cluster to. Valid values: A time in Universal Coordinated Time (UTC) format. Constraints: - Must be before the latest restorable time for the instance. - Must be specified if the ``UseLatestRestorableTime`` parameter is not provided. - Cannot be specified if the ``UseLatestRestorableTime`` parameter is ``true`` . - Cannot be specified if the ``RestoreType`` parameter is ``copy-on-write`` . Example: ``2015-03-07T23:45:00Z``
|
|
658
658
|
:param restore_type: The type of restore to be performed. You can specify one of the following values:. - ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster. - ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster. Constraints: You can't specify ``copy-on-write`` if the engine version of the source DB cluster is earlier than 1.11. If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster.
|
|
659
659
|
:param rotate_master_user_password: Specifies whether to rotate the secret managed by Amazon Web Services Secrets Manager for the master user password. This setting is valid only if the master user password is managed by Amazon DocumentDB in Amazon Web Services Secrets Manager for the cluster. The secret value contains the updated password. Constraint: You must apply the change immediately when rotating the master user password.
|
|
660
|
-
:param serverless_v2_scaling_configuration:
|
|
660
|
+
:param serverless_v2_scaling_configuration: Contains the scaling configuration of an Amazon DocumentDB Serverless cluster.
|
|
661
661
|
:param snapshot_identifier: The identifier for the snapshot or cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot. Constraints: - Must match the identifier of an existing snapshot.
|
|
662
662
|
:param source_db_cluster_identifier: The identifier of the source cluster from which to restore. Constraints: - Must match the identifier of an existing ``DBCluster`` .
|
|
663
663
|
:param storage_encrypted: Specifies whether the cluster is encrypted. If you specify ``SourceDBClusterIdentifier`` or ``SnapshotIdentifier`` and don’t specify ``StorageEncrypted`` , the encryption property is inherited from the source cluster or snapshot (unless ``KMSKeyId`` is specified, in which case the restored cluster will be encrypted with that KMS key). If the source is encrypted and ``StorageEncrypted`` is specified to be true, the restored cluster will be encrypted (if you want to use a different KMS key, specify the ``KMSKeyId`` property as well). If the source is unencrypted and ``StorageEncrypted`` is specified to be true, then the ``KMSKeyId`` property must be specified. If the source is encrypted, don’t specify ``StorageEncrypted`` to be false as opting out of encryption is not allowed.
|
|
664
|
-
:param storage_type: The storage type to associate with the DB cluster. For information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the *Amazon DocumentDB Developer Guide* . Valid values for storage type - ``standard | iopt1`` Default value is ``standard`` .. epigraph:: When you create
|
|
664
|
+
:param storage_type: The storage type to associate with the DB cluster. For information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the *Amazon DocumentDB Developer Guide* . Valid values for storage type - ``standard | iopt1`` Default value is ``standard`` .. epigraph:: When you create an Amazon DocumentDB cluster with the storage type set to ``iopt1`` , the storage type is returned in the response. The storage type isn't returned when you set it to ``standard`` .
|
|
665
665
|
:param tags: The tags to be assigned to the cluster.
|
|
666
666
|
:param use_latest_restorable_time: A value that is set to ``true`` to restore the cluster to the latest restorable backup time, and ``false`` otherwise. Default: ``false`` Constraints: Cannot be specified if the ``RestoreToTime`` parameter is provided.
|
|
667
667
|
:param vpc_security_group_ids: A list of EC2 VPC security groups to associate with this cluster.
|
|
@@ -1132,6 +1132,7 @@ class CfnDBCluster(
|
|
|
1132
1132
|
def serverless_v2_scaling_configuration(
|
|
1133
1133
|
self,
|
|
1134
1134
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]]:
|
|
1135
|
+
'''Contains the scaling configuration of an Amazon DocumentDB Serverless cluster.'''
|
|
1135
1136
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDBCluster.ServerlessV2ScalingConfigurationProperty"]], jsii.get(self, "serverlessV2ScalingConfiguration"))
|
|
1136
1137
|
|
|
1137
1138
|
@serverless_v2_scaling_configuration.setter
|
|
@@ -1263,9 +1264,10 @@ class CfnDBCluster(
|
|
|
1263
1264
|
max_capacity: jsii.Number,
|
|
1264
1265
|
min_capacity: jsii.Number,
|
|
1265
1266
|
) -> None:
|
|
1266
|
-
'''
|
|
1267
|
-
|
|
1268
|
-
:param
|
|
1267
|
+
'''Sets the scaling configuration of an Amazon DocumentDB Serverless cluster.
|
|
1268
|
+
|
|
1269
|
+
:param max_capacity: The maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster. You can specify DCU values in half-step increments, such as 32, 32.5, 33, and so on.
|
|
1270
|
+
:param min_capacity: The minimum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster. You can specify DCU values in half-step increments, such as 8, 8.5, 9, and so on.
|
|
1269
1271
|
|
|
1270
1272
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-docdb-dbcluster-serverlessv2scalingconfiguration.html
|
|
1271
1273
|
:exampleMetadata: fixture=_generated
|
|
@@ -1292,7 +1294,10 @@ class CfnDBCluster(
|
|
|
1292
1294
|
|
|
1293
1295
|
@builtins.property
|
|
1294
1296
|
def max_capacity(self) -> jsii.Number:
|
|
1295
|
-
'''
|
|
1297
|
+
'''The maximum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.
|
|
1298
|
+
|
|
1299
|
+
You can specify DCU values in half-step increments, such as 32, 32.5, 33, and so on.
|
|
1300
|
+
|
|
1296
1301
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-docdb-dbcluster-serverlessv2scalingconfiguration.html#cfn-docdb-dbcluster-serverlessv2scalingconfiguration-maxcapacity
|
|
1297
1302
|
'''
|
|
1298
1303
|
result = self._values.get("max_capacity")
|
|
@@ -1301,7 +1306,10 @@ class CfnDBCluster(
|
|
|
1301
1306
|
|
|
1302
1307
|
@builtins.property
|
|
1303
1308
|
def min_capacity(self) -> jsii.Number:
|
|
1304
|
-
'''
|
|
1309
|
+
'''The minimum number of Amazon DocumentDB capacity units (DCUs) for an instance in an Amazon DocumentDB Serverless cluster.
|
|
1310
|
+
|
|
1311
|
+
You can specify DCU values in half-step increments, such as 8, 8.5, 9, and so on.
|
|
1312
|
+
|
|
1305
1313
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-docdb-dbcluster-serverlessv2scalingconfiguration.html#cfn-docdb-dbcluster-serverlessv2scalingconfiguration-mincapacity
|
|
1306
1314
|
'''
|
|
1307
1315
|
result = self._values.get("min_capacity")
|
|
@@ -1745,11 +1753,11 @@ class CfnDBClusterProps:
|
|
|
1745
1753
|
:param restore_to_time: The date and time to restore the cluster to. Valid values: A time in Universal Coordinated Time (UTC) format. Constraints: - Must be before the latest restorable time for the instance. - Must be specified if the ``UseLatestRestorableTime`` parameter is not provided. - Cannot be specified if the ``UseLatestRestorableTime`` parameter is ``true`` . - Cannot be specified if the ``RestoreType`` parameter is ``copy-on-write`` . Example: ``2015-03-07T23:45:00Z``
|
|
1746
1754
|
:param restore_type: The type of restore to be performed. You can specify one of the following values:. - ``full-copy`` - The new DB cluster is restored as a full copy of the source DB cluster. - ``copy-on-write`` - The new DB cluster is restored as a clone of the source DB cluster. Constraints: You can't specify ``copy-on-write`` if the engine version of the source DB cluster is earlier than 1.11. If you don't specify a ``RestoreType`` value, then the new DB cluster is restored as a full copy of the source DB cluster.
|
|
1747
1755
|
:param rotate_master_user_password: Specifies whether to rotate the secret managed by Amazon Web Services Secrets Manager for the master user password. This setting is valid only if the master user password is managed by Amazon DocumentDB in Amazon Web Services Secrets Manager for the cluster. The secret value contains the updated password. Constraint: You must apply the change immediately when rotating the master user password.
|
|
1748
|
-
:param serverless_v2_scaling_configuration:
|
|
1756
|
+
:param serverless_v2_scaling_configuration: Contains the scaling configuration of an Amazon DocumentDB Serverless cluster.
|
|
1749
1757
|
:param snapshot_identifier: The identifier for the snapshot or cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot. Constraints: - Must match the identifier of an existing snapshot.
|
|
1750
1758
|
:param source_db_cluster_identifier: The identifier of the source cluster from which to restore. Constraints: - Must match the identifier of an existing ``DBCluster`` .
|
|
1751
1759
|
:param storage_encrypted: Specifies whether the cluster is encrypted. If you specify ``SourceDBClusterIdentifier`` or ``SnapshotIdentifier`` and don’t specify ``StorageEncrypted`` , the encryption property is inherited from the source cluster or snapshot (unless ``KMSKeyId`` is specified, in which case the restored cluster will be encrypted with that KMS key). If the source is encrypted and ``StorageEncrypted`` is specified to be true, the restored cluster will be encrypted (if you want to use a different KMS key, specify the ``KMSKeyId`` property as well). If the source is unencrypted and ``StorageEncrypted`` is specified to be true, then the ``KMSKeyId`` property must be specified. If the source is encrypted, don’t specify ``StorageEncrypted`` to be false as opting out of encryption is not allowed.
|
|
1752
|
-
:param storage_type: The storage type to associate with the DB cluster. For information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the *Amazon DocumentDB Developer Guide* . Valid values for storage type - ``standard | iopt1`` Default value is ``standard`` .. epigraph:: When you create
|
|
1760
|
+
:param storage_type: The storage type to associate with the DB cluster. For information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the *Amazon DocumentDB Developer Guide* . Valid values for storage type - ``standard | iopt1`` Default value is ``standard`` .. epigraph:: When you create an Amazon DocumentDB cluster with the storage type set to ``iopt1`` , the storage type is returned in the response. The storage type isn't returned when you set it to ``standard`` .
|
|
1753
1761
|
:param tags: The tags to be assigned to the cluster.
|
|
1754
1762
|
:param use_latest_restorable_time: A value that is set to ``true`` to restore the cluster to the latest restorable backup time, and ``false`` otherwise. Default: ``false`` Constraints: Cannot be specified if the ``RestoreToTime`` parameter is provided.
|
|
1755
1763
|
:param vpc_security_group_ids: A list of EC2 VPC security groups to associate with this cluster.
|
|
@@ -2202,7 +2210,8 @@ class CfnDBClusterProps:
|
|
|
2202
2210
|
def serverless_v2_scaling_configuration(
|
|
2203
2211
|
self,
|
|
2204
2212
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDBCluster.ServerlessV2ScalingConfigurationProperty]]:
|
|
2205
|
-
'''
|
|
2213
|
+
'''Contains the scaling configuration of an Amazon DocumentDB Serverless cluster.
|
|
2214
|
+
|
|
2206
2215
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-serverlessv2scalingconfiguration
|
|
2207
2216
|
'''
|
|
2208
2217
|
result = self._values.get("serverless_v2_scaling_configuration")
|
|
@@ -2260,7 +2269,7 @@ class CfnDBClusterProps:
|
|
|
2260
2269
|
Default value is ``standard``
|
|
2261
2270
|
.. epigraph::
|
|
2262
2271
|
|
|
2263
|
-
When you create
|
|
2272
|
+
When you create an Amazon DocumentDB cluster with the storage type set to ``iopt1`` , the storage type is returned in the response. The storage type isn't returned when you set it to ``standard`` .
|
|
2264
2273
|
|
|
2265
2274
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-storagetype
|
|
2266
2275
|
'''
|