aws-cdk-lib 2.210.0__py3-none-any.whl → 2.212.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 +404 -54
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +5080 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +725 -55
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +39 -8
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +166 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +246 -36
- aws_cdk/aws_ec2/__init__.py +1044 -111
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +1637 -137
- aws_cdk/aws_eks/__init__.py +53 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +31 -17
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- aws_cdk/aws_gameliftstreams/__init__.py +7 -6
- aws_cdk/aws_glue/__init__.py +18 -9
- aws_cdk/aws_guardduty/__init__.py +1233 -113
- aws_cdk/aws_imagebuilder/__init__.py +34 -20
- aws_cdk/aws_inspectorv2/__init__.py +1516 -0
- 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_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +9 -9
- 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_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +49 -5
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +188 -83
- aws_cdk/aws_rds/__init__.py +245 -103
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +56 -1
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +4080 -223
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_ssm/__init__.py +8 -4
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- 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/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +335 -15
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +78 -76
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.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",
|
|
@@ -643,6 +646,14 @@ class CfnFleet(
|
|
|
643
646
|
'''
|
|
644
647
|
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
645
648
|
|
|
649
|
+
@builtins.property
|
|
650
|
+
@jsii.member(jsii_name="attrStatusMessage")
|
|
651
|
+
def attr_status_message(self) -> builtins.str:
|
|
652
|
+
'''
|
|
653
|
+
:cloudformationAttribute: StatusMessage
|
|
654
|
+
'''
|
|
655
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatusMessage"))
|
|
656
|
+
|
|
646
657
|
@builtins.property
|
|
647
658
|
@jsii.member(jsii_name="attrWorkerCount")
|
|
648
659
|
def attr_worker_count(self) -> jsii.Number:
|
|
@@ -1973,7 +1984,10 @@ class CfnFleet(
|
|
|
1973
1984
|
),
|
|
1974
1985
|
|
|
1975
1986
|
# the properties below are optional
|
|
1976
|
-
storage_profile_id="storageProfileId"
|
|
1987
|
+
storage_profile_id="storageProfileId",
|
|
1988
|
+
vpc_configuration=deadline.CfnFleet.VpcConfigurationProperty(
|
|
1989
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
1990
|
+
)
|
|
1977
1991
|
)
|
|
1978
1992
|
)
|
|
1979
1993
|
'''
|
|
@@ -2194,6 +2208,7 @@ class CfnFleet(
|
|
|
2194
2208
|
"instance_capabilities": "instanceCapabilities",
|
|
2195
2209
|
"instance_market_options": "instanceMarketOptions",
|
|
2196
2210
|
"storage_profile_id": "storageProfileId",
|
|
2211
|
+
"vpc_configuration": "vpcConfiguration",
|
|
2197
2212
|
},
|
|
2198
2213
|
)
|
|
2199
2214
|
class ServiceManagedEc2FleetConfigurationProperty:
|
|
@@ -2203,12 +2218,14 @@ class CfnFleet(
|
|
|
2203
2218
|
instance_capabilities: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2204
2219
|
instance_market_options: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.ServiceManagedEc2InstanceMarketOptionsProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2205
2220
|
storage_profile_id: typing.Optional[builtins.str] = None,
|
|
2221
|
+
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.VpcConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2206
2222
|
) -> None:
|
|
2207
2223
|
'''The configuration details for a service managed Amazon EC2 fleet.
|
|
2208
2224
|
|
|
2209
2225
|
:param instance_capabilities: The Amazon EC2 instance capabilities.
|
|
2210
2226
|
:param instance_market_options: The Amazon EC2 market type.
|
|
2211
2227
|
:param storage_profile_id: The storage profile ID.
|
|
2228
|
+
:param vpc_configuration: The VPC configuration details for a service managed Amazon EC2 fleet.
|
|
2212
2229
|
|
|
2213
2230
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html
|
|
2214
2231
|
:exampleMetadata: fixture=_generated
|
|
@@ -2277,7 +2294,10 @@ class CfnFleet(
|
|
|
2277
2294
|
),
|
|
2278
2295
|
|
|
2279
2296
|
# the properties below are optional
|
|
2280
|
-
storage_profile_id="storageProfileId"
|
|
2297
|
+
storage_profile_id="storageProfileId",
|
|
2298
|
+
vpc_configuration=deadline.CfnFleet.VpcConfigurationProperty(
|
|
2299
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
2300
|
+
)
|
|
2281
2301
|
)
|
|
2282
2302
|
'''
|
|
2283
2303
|
if __debug__:
|
|
@@ -2285,12 +2305,15 @@ class CfnFleet(
|
|
|
2285
2305
|
check_type(argname="argument instance_capabilities", value=instance_capabilities, expected_type=type_hints["instance_capabilities"])
|
|
2286
2306
|
check_type(argname="argument instance_market_options", value=instance_market_options, expected_type=type_hints["instance_market_options"])
|
|
2287
2307
|
check_type(argname="argument storage_profile_id", value=storage_profile_id, expected_type=type_hints["storage_profile_id"])
|
|
2308
|
+
check_type(argname="argument vpc_configuration", value=vpc_configuration, expected_type=type_hints["vpc_configuration"])
|
|
2288
2309
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2289
2310
|
"instance_capabilities": instance_capabilities,
|
|
2290
2311
|
"instance_market_options": instance_market_options,
|
|
2291
2312
|
}
|
|
2292
2313
|
if storage_profile_id is not None:
|
|
2293
2314
|
self._values["storage_profile_id"] = storage_profile_id
|
|
2315
|
+
if vpc_configuration is not None:
|
|
2316
|
+
self._values["vpc_configuration"] = vpc_configuration
|
|
2294
2317
|
|
|
2295
2318
|
@builtins.property
|
|
2296
2319
|
def instance_capabilities(
|
|
@@ -2325,6 +2348,17 @@ class CfnFleet(
|
|
|
2325
2348
|
result = self._values.get("storage_profile_id")
|
|
2326
2349
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2327
2350
|
|
|
2351
|
+
@builtins.property
|
|
2352
|
+
def vpc_configuration(
|
|
2353
|
+
self,
|
|
2354
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigurationProperty"]]:
|
|
2355
|
+
'''The VPC configuration details for a service managed Amazon EC2 fleet.
|
|
2356
|
+
|
|
2357
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html#cfn-deadline-fleet-servicemanagedec2fleetconfiguration-vpcconfiguration
|
|
2358
|
+
'''
|
|
2359
|
+
result = self._values.get("vpc_configuration")
|
|
2360
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigurationProperty"]], result)
|
|
2361
|
+
|
|
2328
2362
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2329
2363
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2330
2364
|
|
|
@@ -2715,6 +2749,63 @@ class CfnFleet(
|
|
|
2715
2749
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2716
2750
|
)
|
|
2717
2751
|
|
|
2752
|
+
@jsii.data_type(
|
|
2753
|
+
jsii_type="aws-cdk-lib.aws_deadline.CfnFleet.VpcConfigurationProperty",
|
|
2754
|
+
jsii_struct_bases=[],
|
|
2755
|
+
name_mapping={"resource_configuration_arns": "resourceConfigurationArns"},
|
|
2756
|
+
)
|
|
2757
|
+
class VpcConfigurationProperty:
|
|
2758
|
+
def __init__(
|
|
2759
|
+
self,
|
|
2760
|
+
*,
|
|
2761
|
+
resource_configuration_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2762
|
+
) -> None:
|
|
2763
|
+
'''The configuration options for a service managed fleet's VPC.
|
|
2764
|
+
|
|
2765
|
+
:param resource_configuration_arns: The ARNs of the VPC Lattice resource configurations attached to the fleet.
|
|
2766
|
+
|
|
2767
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vpcconfiguration.html
|
|
2768
|
+
:exampleMetadata: fixture=_generated
|
|
2769
|
+
|
|
2770
|
+
Example::
|
|
2771
|
+
|
|
2772
|
+
# The code below shows an example of how to instantiate this type.
|
|
2773
|
+
# The values are placeholders you should change.
|
|
2774
|
+
from aws_cdk import aws_deadline as deadline
|
|
2775
|
+
|
|
2776
|
+
vpc_configuration_property = deadline.CfnFleet.VpcConfigurationProperty(
|
|
2777
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
2778
|
+
)
|
|
2779
|
+
'''
|
|
2780
|
+
if __debug__:
|
|
2781
|
+
type_hints = typing.get_type_hints(_typecheckingstub__54c02580b19d5690de8f0571b8939331063fdba5295262f67c0ffacd47b723f1)
|
|
2782
|
+
check_type(argname="argument resource_configuration_arns", value=resource_configuration_arns, expected_type=type_hints["resource_configuration_arns"])
|
|
2783
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2784
|
+
if resource_configuration_arns is not None:
|
|
2785
|
+
self._values["resource_configuration_arns"] = resource_configuration_arns
|
|
2786
|
+
|
|
2787
|
+
@builtins.property
|
|
2788
|
+
def resource_configuration_arns(
|
|
2789
|
+
self,
|
|
2790
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
2791
|
+
'''The ARNs of the VPC Lattice resource configurations attached to the fleet.
|
|
2792
|
+
|
|
2793
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vpcconfiguration.html#cfn-deadline-fleet-vpcconfiguration-resourceconfigurationarns
|
|
2794
|
+
'''
|
|
2795
|
+
result = self._values.get("resource_configuration_arns")
|
|
2796
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2797
|
+
|
|
2798
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2799
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2800
|
+
|
|
2801
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2802
|
+
return not (rhs == self)
|
|
2803
|
+
|
|
2804
|
+
def __repr__(self) -> str:
|
|
2805
|
+
return "VpcConfigurationProperty(%s)" % ", ".join(
|
|
2806
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2807
|
+
)
|
|
2808
|
+
|
|
2718
2809
|
|
|
2719
2810
|
@jsii.data_type(
|
|
2720
2811
|
jsii_type="aws-cdk-lib.aws_deadline.CfnFleetProps",
|
|
@@ -2875,7 +2966,10 @@ class CfnFleetProps:
|
|
|
2875
2966
|
),
|
|
2876
2967
|
|
|
2877
2968
|
# the properties below are optional
|
|
2878
|
-
storage_profile_id="storageProfileId"
|
|
2969
|
+
storage_profile_id="storageProfileId",
|
|
2970
|
+
vpc_configuration=deadline.CfnFleet.VpcConfigurationProperty(
|
|
2971
|
+
resource_configuration_arns=["resourceConfigurationArns"]
|
|
2972
|
+
)
|
|
2879
2973
|
)
|
|
2880
2974
|
),
|
|
2881
2975
|
display_name="displayName",
|
|
@@ -3908,7 +4002,7 @@ class CfnMeteredProductProps:
|
|
|
3908
4002
|
)
|
|
3909
4003
|
|
|
3910
4004
|
|
|
3911
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
4005
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
3912
4006
|
class CfnMonitor(
|
|
3913
4007
|
_CfnResource_9df397a6,
|
|
3914
4008
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3932,7 +4026,13 @@ class CfnMonitor(
|
|
|
3932
4026
|
display_name="displayName",
|
|
3933
4027
|
identity_center_instance_arn="identityCenterInstanceArn",
|
|
3934
4028
|
role_arn="roleArn",
|
|
3935
|
-
subdomain="subdomain"
|
|
4029
|
+
subdomain="subdomain",
|
|
4030
|
+
|
|
4031
|
+
# the properties below are optional
|
|
4032
|
+
tags=[CfnTag(
|
|
4033
|
+
key="key",
|
|
4034
|
+
value="value"
|
|
4035
|
+
)]
|
|
3936
4036
|
)
|
|
3937
4037
|
'''
|
|
3938
4038
|
|
|
@@ -3945,6 +4045,7 @@ class CfnMonitor(
|
|
|
3945
4045
|
identity_center_instance_arn: builtins.str,
|
|
3946
4046
|
role_arn: builtins.str,
|
|
3947
4047
|
subdomain: builtins.str,
|
|
4048
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3948
4049
|
) -> None:
|
|
3949
4050
|
'''
|
|
3950
4051
|
:param scope: Scope in which this resource is defined.
|
|
@@ -3953,6 +4054,7 @@ class CfnMonitor(
|
|
|
3953
4054
|
:param identity_center_instance_arn: The Amazon Resource Name (ARN) of the IAM Identity Center instance responsible for authenticating monitor users.
|
|
3954
4055
|
: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
4056
|
:param subdomain: The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.
|
|
4057
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
3956
4058
|
'''
|
|
3957
4059
|
if __debug__:
|
|
3958
4060
|
type_hints = typing.get_type_hints(_typecheckingstub__4edf45db3ae8781366a254b5ea792b290cf7822e23073f5b7f959959eb7658ab)
|
|
@@ -3963,6 +4065,7 @@ class CfnMonitor(
|
|
|
3963
4065
|
identity_center_instance_arn=identity_center_instance_arn,
|
|
3964
4066
|
role_arn=role_arn,
|
|
3965
4067
|
subdomain=subdomain,
|
|
4068
|
+
tags=tags,
|
|
3966
4069
|
)
|
|
3967
4070
|
|
|
3968
4071
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -4035,6 +4138,12 @@ class CfnMonitor(
|
|
|
4035
4138
|
'''
|
|
4036
4139
|
return typing.cast(builtins.str, jsii.get(self, "attrUrl"))
|
|
4037
4140
|
|
|
4141
|
+
@builtins.property
|
|
4142
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
4143
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
4144
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
4145
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
4146
|
+
|
|
4038
4147
|
@builtins.property
|
|
4039
4148
|
@jsii.member(jsii_name="cfnProperties")
|
|
4040
4149
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -4092,6 +4201,19 @@ class CfnMonitor(
|
|
|
4092
4201
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4093
4202
|
jsii.set(self, "subdomain", value) # pyright: ignore[reportArgumentType]
|
|
4094
4203
|
|
|
4204
|
+
@builtins.property
|
|
4205
|
+
@jsii.member(jsii_name="tags")
|
|
4206
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4207
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
4208
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4209
|
+
|
|
4210
|
+
@tags.setter
|
|
4211
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
4212
|
+
if __debug__:
|
|
4213
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d79166c0c9556907ea6c9def114020487a556a49bf64ecf1e6334c0fe7e8efac)
|
|
4214
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4215
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
4216
|
+
|
|
4095
4217
|
|
|
4096
4218
|
@jsii.data_type(
|
|
4097
4219
|
jsii_type="aws-cdk-lib.aws_deadline.CfnMonitorProps",
|
|
@@ -4101,6 +4223,7 @@ class CfnMonitor(
|
|
|
4101
4223
|
"identity_center_instance_arn": "identityCenterInstanceArn",
|
|
4102
4224
|
"role_arn": "roleArn",
|
|
4103
4225
|
"subdomain": "subdomain",
|
|
4226
|
+
"tags": "tags",
|
|
4104
4227
|
},
|
|
4105
4228
|
)
|
|
4106
4229
|
class CfnMonitorProps:
|
|
@@ -4111,6 +4234,7 @@ class CfnMonitorProps:
|
|
|
4111
4234
|
identity_center_instance_arn: builtins.str,
|
|
4112
4235
|
role_arn: builtins.str,
|
|
4113
4236
|
subdomain: builtins.str,
|
|
4237
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4114
4238
|
) -> None:
|
|
4115
4239
|
'''Properties for defining a ``CfnMonitor``.
|
|
4116
4240
|
|
|
@@ -4118,6 +4242,7 @@ class CfnMonitorProps:
|
|
|
4118
4242
|
:param identity_center_instance_arn: The Amazon Resource Name (ARN) of the IAM Identity Center instance responsible for authenticating monitor users.
|
|
4119
4243
|
: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
4244
|
:param subdomain: The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.
|
|
4245
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
4121
4246
|
|
|
4122
4247
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-monitor.html
|
|
4123
4248
|
:exampleMetadata: fixture=_generated
|
|
@@ -4132,7 +4257,13 @@ class CfnMonitorProps:
|
|
|
4132
4257
|
display_name="displayName",
|
|
4133
4258
|
identity_center_instance_arn="identityCenterInstanceArn",
|
|
4134
4259
|
role_arn="roleArn",
|
|
4135
|
-
subdomain="subdomain"
|
|
4260
|
+
subdomain="subdomain",
|
|
4261
|
+
|
|
4262
|
+
# the properties below are optional
|
|
4263
|
+
tags=[CfnTag(
|
|
4264
|
+
key="key",
|
|
4265
|
+
value="value"
|
|
4266
|
+
)]
|
|
4136
4267
|
)
|
|
4137
4268
|
'''
|
|
4138
4269
|
if __debug__:
|
|
@@ -4141,12 +4272,15 @@ class CfnMonitorProps:
|
|
|
4141
4272
|
check_type(argname="argument identity_center_instance_arn", value=identity_center_instance_arn, expected_type=type_hints["identity_center_instance_arn"])
|
|
4142
4273
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
4143
4274
|
check_type(argname="argument subdomain", value=subdomain, expected_type=type_hints["subdomain"])
|
|
4275
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4144
4276
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4145
4277
|
"display_name": display_name,
|
|
4146
4278
|
"identity_center_instance_arn": identity_center_instance_arn,
|
|
4147
4279
|
"role_arn": role_arn,
|
|
4148
4280
|
"subdomain": subdomain,
|
|
4149
4281
|
}
|
|
4282
|
+
if tags is not None:
|
|
4283
|
+
self._values["tags"] = tags
|
|
4150
4284
|
|
|
4151
4285
|
@builtins.property
|
|
4152
4286
|
def display_name(self) -> builtins.str:
|
|
@@ -4196,6 +4330,15 @@ class CfnMonitorProps:
|
|
|
4196
4330
|
assert result is not None, "Required property 'subdomain' is missing"
|
|
4197
4331
|
return typing.cast(builtins.str, result)
|
|
4198
4332
|
|
|
4333
|
+
@builtins.property
|
|
4334
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4335
|
+
'''An array of key-value pairs to apply to this resource.
|
|
4336
|
+
|
|
4337
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-monitor.html#cfn-deadline-monitor-tags
|
|
4338
|
+
'''
|
|
4339
|
+
result = self._values.get("tags")
|
|
4340
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
4341
|
+
|
|
4199
4342
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4200
4343
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4201
4344
|
|
|
@@ -6456,6 +6599,7 @@ def _typecheckingstub__a24a660b503191048581077a517891d27502b69620643c50907360328
|
|
|
6456
6599
|
instance_capabilities: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
6457
6600
|
instance_market_options: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.ServiceManagedEc2InstanceMarketOptionsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
6458
6601
|
storage_profile_id: typing.Optional[builtins.str] = None,
|
|
6602
|
+
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6459
6603
|
) -> None:
|
|
6460
6604
|
"""Type checking stubs"""
|
|
6461
6605
|
pass
|
|
@@ -6491,6 +6635,13 @@ def _typecheckingstub__fcd8ae2a83778ec7a6d7445fcea241d1ce2694a66c1ccc07c23cdd1c8
|
|
|
6491
6635
|
"""Type checking stubs"""
|
|
6492
6636
|
pass
|
|
6493
6637
|
|
|
6638
|
+
def _typecheckingstub__54c02580b19d5690de8f0571b8939331063fdba5295262f67c0ffacd47b723f1(
|
|
6639
|
+
*,
|
|
6640
|
+
resource_configuration_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6641
|
+
) -> None:
|
|
6642
|
+
"""Type checking stubs"""
|
|
6643
|
+
pass
|
|
6644
|
+
|
|
6494
6645
|
def _typecheckingstub__a1472efddb89af74b2ae4dc1156d30448332099bec47f03ae56886a44d2d7c7a(
|
|
6495
6646
|
*,
|
|
6496
6647
|
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.FleetConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -6680,6 +6831,7 @@ def _typecheckingstub__4edf45db3ae8781366a254b5ea792b290cf7822e23073f5b7f959959e
|
|
|
6680
6831
|
identity_center_instance_arn: builtins.str,
|
|
6681
6832
|
role_arn: builtins.str,
|
|
6682
6833
|
subdomain: builtins.str,
|
|
6834
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6683
6835
|
) -> None:
|
|
6684
6836
|
"""Type checking stubs"""
|
|
6685
6837
|
pass
|
|
@@ -6720,12 +6872,19 @@ def _typecheckingstub__92a6ea9073f47adeb866001ba027d5701cc6d06e3e3b1842bc227c770
|
|
|
6720
6872
|
"""Type checking stubs"""
|
|
6721
6873
|
pass
|
|
6722
6874
|
|
|
6875
|
+
def _typecheckingstub__d79166c0c9556907ea6c9def114020487a556a49bf64ecf1e6334c0fe7e8efac(
|
|
6876
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
6877
|
+
) -> None:
|
|
6878
|
+
"""Type checking stubs"""
|
|
6879
|
+
pass
|
|
6880
|
+
|
|
6723
6881
|
def _typecheckingstub__491e65cd80e97b2076199940d899980b250e96b9da8d5783d92f236ae1c6e7f4(
|
|
6724
6882
|
*,
|
|
6725
6883
|
display_name: builtins.str,
|
|
6726
6884
|
identity_center_instance_arn: builtins.str,
|
|
6727
6885
|
role_arn: builtins.str,
|
|
6728
6886
|
subdomain: builtins.str,
|
|
6887
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6729
6888
|
) -> None:
|
|
6730
6889
|
"""Type checking stubs"""
|
|
6731
6890
|
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
|
'''
|