aws-cdk-lib 2.189.1__py3-none-any.whl → 2.191.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.189.1.jsii.tgz → aws-cdk-lib@2.191.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +6 -6
- aws_cdk/aws_apigateway/__init__.py +18 -1
- aws_cdk/aws_apigatewayv2/__init__.py +374 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -10
- aws_cdk/aws_applicationsignals/__init__.py +204 -31
- aws_cdk/aws_aps/__init__.py +383 -2
- aws_cdk/aws_backup/__init__.py +0 -41
- aws_cdk/aws_batch/__init__.py +242 -5
- aws_cdk/aws_bedrock/__init__.py +963 -41
- aws_cdk/aws_cleanrooms/__init__.py +1392 -78
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +24 -26
- aws_cdk/aws_codebuild/__init__.py +107 -7
- aws_cdk/aws_datazone/__init__.py +23 -1
- aws_cdk/aws_dms/__init__.py +43 -0
- aws_cdk/aws_ec2/__init__.py +364 -30
- aws_cdk/aws_ecs/__init__.py +36 -5
- aws_cdk/aws_eks/__init__.py +2 -100
- aws_cdk/aws_elasticache/__init__.py +6 -11
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +341 -0
- aws_cdk/aws_events/__init__.py +106 -13
- aws_cdk/aws_fsx/__init__.py +9 -21
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +6 -6
- aws_cdk/aws_kafkaconnect/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +44 -0
- aws_cdk/aws_launchwizard/__init__.py +49 -49
- aws_cdk/aws_lex/__init__.py +615 -39
- aws_cdk/aws_location/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +14 -3
- aws_cdk/aws_memorydb/__init__.py +87 -0
- aws_cdk/aws_msk/__init__.py +226 -127
- aws_cdk/aws_neptune/__init__.py +0 -24
- aws_cdk/aws_opensearchservice/__init__.py +64 -56
- aws_cdk/aws_paymentcryptography/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +175 -3
- aws_cdk/aws_quicksight/__init__.py +393 -0
- aws_cdk/aws_rds/__init__.py +149 -120
- aws_cdk/aws_redshiftserverless/__init__.py +4 -14
- aws_cdk/aws_route53resolver/__init__.py +60 -9
- aws_cdk/aws_s3/__init__.py +34 -1
- aws_cdk/aws_s3_deployment/__init__.py +202 -5
- aws_cdk/aws_s3tables/__init__.py +142 -1
- aws_cdk/aws_sagemaker/__init__.py +40 -40
- aws_cdk/aws_ses/__init__.py +643 -18
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +720 -45
- aws_cdk/aws_transfer/__init__.py +55 -2
- aws_cdk/pipelines/__init__.py +1 -2
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/RECORD +57 -57
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_kinesis/__init__.py
CHANGED
|
@@ -578,6 +578,7 @@ class CfnStream(
|
|
|
578
578
|
from aws_cdk import aws_kinesis as kinesis
|
|
579
579
|
|
|
580
580
|
cfn_stream = kinesis.CfnStream(self, "MyCfnStream",
|
|
581
|
+
desired_shard_level_metrics=["desiredShardLevelMetrics"],
|
|
581
582
|
name="name",
|
|
582
583
|
retention_period_hours=123,
|
|
583
584
|
shard_count=123,
|
|
@@ -600,6 +601,7 @@ class CfnStream(
|
|
|
600
601
|
scope: _constructs_77d1e7e8.Construct,
|
|
601
602
|
id: builtins.str,
|
|
602
603
|
*,
|
|
604
|
+
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
603
605
|
name: typing.Optional[builtins.str] = None,
|
|
604
606
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
605
607
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -610,6 +612,7 @@ class CfnStream(
|
|
|
610
612
|
'''
|
|
611
613
|
:param scope: Scope in which this resource is defined.
|
|
612
614
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
615
|
+
:param desired_shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode.
|
|
613
616
|
:param name: The name of the Kinesis stream. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the stream name. For more information, see `Name Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
614
617
|
:param retention_period_hours: The number of hours for the data records that are stored in shards to remain accessible. The default value is 24. For more information about the stream retention period, see `Changing the Data Retention Period <https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html>`_ in the Amazon Kinesis Developer Guide.
|
|
615
618
|
:param shard_count: The number of shards that the stream uses. For greater provisioned throughput, increase the number of shards.
|
|
@@ -622,6 +625,7 @@ class CfnStream(
|
|
|
622
625
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
623
626
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
624
627
|
props = CfnStreamProps(
|
|
628
|
+
desired_shard_level_metrics=desired_shard_level_metrics,
|
|
625
629
|
name=name,
|
|
626
630
|
retention_period_hours=retention_period_hours,
|
|
627
631
|
shard_count=shard_count,
|
|
@@ -682,6 +686,22 @@ class CfnStream(
|
|
|
682
686
|
'''Tag Manager which manages the tags for this resource.'''
|
|
683
687
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
684
688
|
|
|
689
|
+
@builtins.property
|
|
690
|
+
@jsii.member(jsii_name="desiredShardLevelMetrics")
|
|
691
|
+
def desired_shard_level_metrics(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
692
|
+
'''A list of shard-level metrics in properties to enable enhanced monitoring mode.'''
|
|
693
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "desiredShardLevelMetrics"))
|
|
694
|
+
|
|
695
|
+
@desired_shard_level_metrics.setter
|
|
696
|
+
def desired_shard_level_metrics(
|
|
697
|
+
self,
|
|
698
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
699
|
+
) -> None:
|
|
700
|
+
if __debug__:
|
|
701
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9a26f83e3d95ee6758754d8ca6cb717ae058662a4c47c6b7d2f4ec32a27bd85a)
|
|
702
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
703
|
+
jsii.set(self, "desiredShardLevelMetrics", value) # pyright: ignore[reportArgumentType]
|
|
704
|
+
|
|
685
705
|
@builtins.property
|
|
686
706
|
@jsii.member(jsii_name="name")
|
|
687
707
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -1167,6 +1187,7 @@ class CfnStreamConsumerProps:
|
|
|
1167
1187
|
jsii_type="aws-cdk-lib.aws_kinesis.CfnStreamProps",
|
|
1168
1188
|
jsii_struct_bases=[],
|
|
1169
1189
|
name_mapping={
|
|
1190
|
+
"desired_shard_level_metrics": "desiredShardLevelMetrics",
|
|
1170
1191
|
"name": "name",
|
|
1171
1192
|
"retention_period_hours": "retentionPeriodHours",
|
|
1172
1193
|
"shard_count": "shardCount",
|
|
@@ -1179,6 +1200,7 @@ class CfnStreamProps:
|
|
|
1179
1200
|
def __init__(
|
|
1180
1201
|
self,
|
|
1181
1202
|
*,
|
|
1203
|
+
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1182
1204
|
name: typing.Optional[builtins.str] = None,
|
|
1183
1205
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
1184
1206
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -1188,6 +1210,7 @@ class CfnStreamProps:
|
|
|
1188
1210
|
) -> None:
|
|
1189
1211
|
'''Properties for defining a ``CfnStream``.
|
|
1190
1212
|
|
|
1213
|
+
:param desired_shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode.
|
|
1191
1214
|
:param name: The name of the Kinesis stream. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the stream name. For more information, see `Name Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
1192
1215
|
:param retention_period_hours: The number of hours for the data records that are stored in shards to remain accessible. The default value is 24. For more information about the stream retention period, see `Changing the Data Retention Period <https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html>`_ in the Amazon Kinesis Developer Guide.
|
|
1193
1216
|
:param shard_count: The number of shards that the stream uses. For greater provisioned throughput, increase the number of shards.
|
|
@@ -1205,6 +1228,7 @@ class CfnStreamProps:
|
|
|
1205
1228
|
from aws_cdk import aws_kinesis as kinesis
|
|
1206
1229
|
|
|
1207
1230
|
cfn_stream_props = kinesis.CfnStreamProps(
|
|
1231
|
+
desired_shard_level_metrics=["desiredShardLevelMetrics"],
|
|
1208
1232
|
name="name",
|
|
1209
1233
|
retention_period_hours=123,
|
|
1210
1234
|
shard_count=123,
|
|
@@ -1223,6 +1247,7 @@ class CfnStreamProps:
|
|
|
1223
1247
|
'''
|
|
1224
1248
|
if __debug__:
|
|
1225
1249
|
type_hints = typing.get_type_hints(_typecheckingstub__d3bac625363d3769acb567c00e5b48d63afe09fd6d0305829f157ffcc46ec169)
|
|
1250
|
+
check_type(argname="argument desired_shard_level_metrics", value=desired_shard_level_metrics, expected_type=type_hints["desired_shard_level_metrics"])
|
|
1226
1251
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1227
1252
|
check_type(argname="argument retention_period_hours", value=retention_period_hours, expected_type=type_hints["retention_period_hours"])
|
|
1228
1253
|
check_type(argname="argument shard_count", value=shard_count, expected_type=type_hints["shard_count"])
|
|
@@ -1230,6 +1255,8 @@ class CfnStreamProps:
|
|
|
1230
1255
|
check_type(argname="argument stream_mode_details", value=stream_mode_details, expected_type=type_hints["stream_mode_details"])
|
|
1231
1256
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1232
1257
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1258
|
+
if desired_shard_level_metrics is not None:
|
|
1259
|
+
self._values["desired_shard_level_metrics"] = desired_shard_level_metrics
|
|
1233
1260
|
if name is not None:
|
|
1234
1261
|
self._values["name"] = name
|
|
1235
1262
|
if retention_period_hours is not None:
|
|
@@ -1243,6 +1270,15 @@ class CfnStreamProps:
|
|
|
1243
1270
|
if tags is not None:
|
|
1244
1271
|
self._values["tags"] = tags
|
|
1245
1272
|
|
|
1273
|
+
@builtins.property
|
|
1274
|
+
def desired_shard_level_metrics(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1275
|
+
'''A list of shard-level metrics in properties to enable enhanced monitoring mode.
|
|
1276
|
+
|
|
1277
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-stream.html#cfn-kinesis-stream-desiredshardlevelmetrics
|
|
1278
|
+
'''
|
|
1279
|
+
result = self._values.get("desired_shard_level_metrics")
|
|
1280
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1281
|
+
|
|
1246
1282
|
@builtins.property
|
|
1247
1283
|
def name(self) -> typing.Optional[builtins.str]:
|
|
1248
1284
|
'''The name of the Kinesis stream.
|
|
@@ -5311,6 +5347,7 @@ def _typecheckingstub__b956aa40f3e4f7ebba018fbc1caa3788147e52190c5c7131c5c035b04
|
|
|
5311
5347
|
scope: _constructs_77d1e7e8.Construct,
|
|
5312
5348
|
id: builtins.str,
|
|
5313
5349
|
*,
|
|
5350
|
+
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5314
5351
|
name: typing.Optional[builtins.str] = None,
|
|
5315
5352
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
5316
5353
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -5333,6 +5370,12 @@ def _typecheckingstub__0d148a0019b18426b18d2bb879ac22b0f734a78308c5fc8eb38c0acd2
|
|
|
5333
5370
|
"""Type checking stubs"""
|
|
5334
5371
|
pass
|
|
5335
5372
|
|
|
5373
|
+
def _typecheckingstub__9a26f83e3d95ee6758754d8ca6cb717ae058662a4c47c6b7d2f4ec32a27bd85a(
|
|
5374
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
5375
|
+
) -> None:
|
|
5376
|
+
"""Type checking stubs"""
|
|
5377
|
+
pass
|
|
5378
|
+
|
|
5336
5379
|
def _typecheckingstub__69caca5de735efdd86c95d7668c92bbedbfaf458ff05980e7d9773ad8e47288e(
|
|
5337
5380
|
value: typing.Optional[builtins.str],
|
|
5338
5381
|
) -> None:
|
|
@@ -5428,6 +5471,7 @@ def _typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c68
|
|
|
5428
5471
|
|
|
5429
5472
|
def _typecheckingstub__d3bac625363d3769acb567c00e5b48d63afe09fd6d0305829f157ffcc46ec169(
|
|
5430
5473
|
*,
|
|
5474
|
+
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5431
5475
|
name: typing.Optional[builtins.str] = None,
|
|
5432
5476
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
5433
5477
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -102,12 +102,12 @@ class CfnDeployment(
|
|
|
102
102
|
cfn_deployment = launchwizard.CfnDeployment(self, "MyCfnDeployment",
|
|
103
103
|
deployment_pattern_name="deploymentPatternName",
|
|
104
104
|
name="name",
|
|
105
|
-
specifications={
|
|
106
|
-
"specifications_key": "specifications"
|
|
107
|
-
},
|
|
108
105
|
workload_name="workloadName",
|
|
109
106
|
|
|
110
107
|
# the properties below are optional
|
|
108
|
+
specifications={
|
|
109
|
+
"specifications_key": "specifications"
|
|
110
|
+
},
|
|
111
111
|
tags=[CfnTag(
|
|
112
112
|
key="key",
|
|
113
113
|
value="value"
|
|
@@ -122,8 +122,8 @@ class CfnDeployment(
|
|
|
122
122
|
*,
|
|
123
123
|
deployment_pattern_name: builtins.str,
|
|
124
124
|
name: builtins.str,
|
|
125
|
-
specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
126
125
|
workload_name: builtins.str,
|
|
126
|
+
specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
127
127
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
128
128
|
) -> None:
|
|
129
129
|
'''
|
|
@@ -131,8 +131,8 @@ class CfnDeployment(
|
|
|
131
131
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
132
132
|
:param deployment_pattern_name: The name of the deployment pattern.
|
|
133
133
|
:param name: The name of the deployment.
|
|
134
|
-
:param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
|
|
135
134
|
:param workload_name: The name of the workload.
|
|
135
|
+
:param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
|
|
136
136
|
:param tags: Information about the tags attached to a deployment.
|
|
137
137
|
'''
|
|
138
138
|
if __debug__:
|
|
@@ -142,8 +142,8 @@ class CfnDeployment(
|
|
|
142
142
|
props = CfnDeploymentProps(
|
|
143
143
|
deployment_pattern_name=deployment_pattern_name,
|
|
144
144
|
name=name,
|
|
145
|
-
specifications=specifications,
|
|
146
145
|
workload_name=workload_name,
|
|
146
|
+
specifications=specifications,
|
|
147
147
|
tags=tags,
|
|
148
148
|
)
|
|
149
149
|
|
|
@@ -270,37 +270,37 @@ class CfnDeployment(
|
|
|
270
270
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
271
271
|
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
272
272
|
|
|
273
|
+
@builtins.property
|
|
274
|
+
@jsii.member(jsii_name="workloadName")
|
|
275
|
+
def workload_name(self) -> builtins.str:
|
|
276
|
+
'''The name of the workload.'''
|
|
277
|
+
return typing.cast(builtins.str, jsii.get(self, "workloadName"))
|
|
278
|
+
|
|
279
|
+
@workload_name.setter
|
|
280
|
+
def workload_name(self, value: builtins.str) -> None:
|
|
281
|
+
if __debug__:
|
|
282
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309)
|
|
283
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
284
|
+
jsii.set(self, "workloadName", value) # pyright: ignore[reportArgumentType]
|
|
285
|
+
|
|
273
286
|
@builtins.property
|
|
274
287
|
@jsii.member(jsii_name="specifications")
|
|
275
288
|
def specifications(
|
|
276
289
|
self,
|
|
277
|
-
) -> typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]:
|
|
290
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
278
291
|
'''The settings specified for the deployment.'''
|
|
279
|
-
return typing.cast(typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b], jsii.get(self, "specifications"))
|
|
292
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "specifications"))
|
|
280
293
|
|
|
281
294
|
@specifications.setter
|
|
282
295
|
def specifications(
|
|
283
296
|
self,
|
|
284
|
-
value: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
297
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
285
298
|
) -> None:
|
|
286
299
|
if __debug__:
|
|
287
300
|
type_hints = typing.get_type_hints(_typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86)
|
|
288
301
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
289
302
|
jsii.set(self, "specifications", value) # pyright: ignore[reportArgumentType]
|
|
290
303
|
|
|
291
|
-
@builtins.property
|
|
292
|
-
@jsii.member(jsii_name="workloadName")
|
|
293
|
-
def workload_name(self) -> builtins.str:
|
|
294
|
-
'''The name of the workload.'''
|
|
295
|
-
return typing.cast(builtins.str, jsii.get(self, "workloadName"))
|
|
296
|
-
|
|
297
|
-
@workload_name.setter
|
|
298
|
-
def workload_name(self, value: builtins.str) -> None:
|
|
299
|
-
if __debug__:
|
|
300
|
-
type_hints = typing.get_type_hints(_typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309)
|
|
301
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
302
|
-
jsii.set(self, "workloadName", value) # pyright: ignore[reportArgumentType]
|
|
303
|
-
|
|
304
304
|
@builtins.property
|
|
305
305
|
@jsii.member(jsii_name="tags")
|
|
306
306
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -321,8 +321,8 @@ class CfnDeployment(
|
|
|
321
321
|
name_mapping={
|
|
322
322
|
"deployment_pattern_name": "deploymentPatternName",
|
|
323
323
|
"name": "name",
|
|
324
|
-
"specifications": "specifications",
|
|
325
324
|
"workload_name": "workloadName",
|
|
325
|
+
"specifications": "specifications",
|
|
326
326
|
"tags": "tags",
|
|
327
327
|
},
|
|
328
328
|
)
|
|
@@ -332,16 +332,16 @@ class CfnDeploymentProps:
|
|
|
332
332
|
*,
|
|
333
333
|
deployment_pattern_name: builtins.str,
|
|
334
334
|
name: builtins.str,
|
|
335
|
-
specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
336
335
|
workload_name: builtins.str,
|
|
336
|
+
specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
337
337
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
338
338
|
) -> None:
|
|
339
339
|
'''Properties for defining a ``CfnDeployment``.
|
|
340
340
|
|
|
341
341
|
:param deployment_pattern_name: The name of the deployment pattern.
|
|
342
342
|
:param name: The name of the deployment.
|
|
343
|
-
:param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
|
|
344
343
|
:param workload_name: The name of the workload.
|
|
344
|
+
:param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
|
|
345
345
|
:param tags: Information about the tags attached to a deployment.
|
|
346
346
|
|
|
347
347
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html
|
|
@@ -356,12 +356,12 @@ class CfnDeploymentProps:
|
|
|
356
356
|
cfn_deployment_props = launchwizard.CfnDeploymentProps(
|
|
357
357
|
deployment_pattern_name="deploymentPatternName",
|
|
358
358
|
name="name",
|
|
359
|
-
specifications={
|
|
360
|
-
"specifications_key": "specifications"
|
|
361
|
-
},
|
|
362
359
|
workload_name="workloadName",
|
|
363
360
|
|
|
364
361
|
# the properties below are optional
|
|
362
|
+
specifications={
|
|
363
|
+
"specifications_key": "specifications"
|
|
364
|
+
},
|
|
365
365
|
tags=[CfnTag(
|
|
366
366
|
key="key",
|
|
367
367
|
value="value"
|
|
@@ -372,15 +372,16 @@ class CfnDeploymentProps:
|
|
|
372
372
|
type_hints = typing.get_type_hints(_typecheckingstub__a6e25238aa51033c6bfd52d31380bf8d8789e604e540fcfff33c0df8b15dcdcf)
|
|
373
373
|
check_type(argname="argument deployment_pattern_name", value=deployment_pattern_name, expected_type=type_hints["deployment_pattern_name"])
|
|
374
374
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
375
|
-
check_type(argname="argument specifications", value=specifications, expected_type=type_hints["specifications"])
|
|
376
375
|
check_type(argname="argument workload_name", value=workload_name, expected_type=type_hints["workload_name"])
|
|
376
|
+
check_type(argname="argument specifications", value=specifications, expected_type=type_hints["specifications"])
|
|
377
377
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
378
378
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
379
379
|
"deployment_pattern_name": deployment_pattern_name,
|
|
380
380
|
"name": name,
|
|
381
|
-
"specifications": specifications,
|
|
382
381
|
"workload_name": workload_name,
|
|
383
382
|
}
|
|
383
|
+
if specifications is not None:
|
|
384
|
+
self._values["specifications"] = specifications
|
|
384
385
|
if tags is not None:
|
|
385
386
|
self._values["tags"] = tags
|
|
386
387
|
|
|
@@ -404,10 +405,20 @@ class CfnDeploymentProps:
|
|
|
404
405
|
assert result is not None, "Required property 'name' is missing"
|
|
405
406
|
return typing.cast(builtins.str, result)
|
|
406
407
|
|
|
408
|
+
@builtins.property
|
|
409
|
+
def workload_name(self) -> builtins.str:
|
|
410
|
+
'''The name of the workload.
|
|
411
|
+
|
|
412
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-workloadname
|
|
413
|
+
'''
|
|
414
|
+
result = self._values.get("workload_name")
|
|
415
|
+
assert result is not None, "Required property 'workload_name' is missing"
|
|
416
|
+
return typing.cast(builtins.str, result)
|
|
417
|
+
|
|
407
418
|
@builtins.property
|
|
408
419
|
def specifications(
|
|
409
420
|
self,
|
|
410
|
-
) -> typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]:
|
|
421
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
411
422
|
'''The settings specified for the deployment.
|
|
412
423
|
|
|
413
424
|
These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
|
|
@@ -415,18 +426,7 @@ class CfnDeploymentProps:
|
|
|
415
426
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-specifications
|
|
416
427
|
'''
|
|
417
428
|
result = self._values.get("specifications")
|
|
418
|
-
|
|
419
|
-
return typing.cast(typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b], result)
|
|
420
|
-
|
|
421
|
-
@builtins.property
|
|
422
|
-
def workload_name(self) -> builtins.str:
|
|
423
|
-
'''The name of the workload.
|
|
424
|
-
|
|
425
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-workloadname
|
|
426
|
-
'''
|
|
427
|
-
result = self._values.get("workload_name")
|
|
428
|
-
assert result is not None, "Required property 'workload_name' is missing"
|
|
429
|
-
return typing.cast(builtins.str, result)
|
|
429
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
430
430
|
|
|
431
431
|
@builtins.property
|
|
432
432
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -462,8 +462,8 @@ def _typecheckingstub__fe77ed4e81ab71d948f0b03ed5f8780bcc2f324a23805bc45e7eef5f9
|
|
|
462
462
|
*,
|
|
463
463
|
deployment_pattern_name: builtins.str,
|
|
464
464
|
name: builtins.str,
|
|
465
|
-
specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
466
465
|
workload_name: builtins.str,
|
|
466
|
+
specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
467
467
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
468
468
|
) -> None:
|
|
469
469
|
"""Type checking stubs"""
|
|
@@ -493,14 +493,14 @@ def _typecheckingstub__c0094e37b81e5d8f0b6e42001fe8da7cf6d149317e4ef32b73e5cef5a
|
|
|
493
493
|
"""Type checking stubs"""
|
|
494
494
|
pass
|
|
495
495
|
|
|
496
|
-
def
|
|
497
|
-
value:
|
|
496
|
+
def _typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309(
|
|
497
|
+
value: builtins.str,
|
|
498
498
|
) -> None:
|
|
499
499
|
"""Type checking stubs"""
|
|
500
500
|
pass
|
|
501
501
|
|
|
502
|
-
def
|
|
503
|
-
value: builtins.str,
|
|
502
|
+
def _typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86(
|
|
503
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
504
504
|
) -> None:
|
|
505
505
|
"""Type checking stubs"""
|
|
506
506
|
pass
|
|
@@ -515,8 +515,8 @@ def _typecheckingstub__a6e25238aa51033c6bfd52d31380bf8d8789e604e540fcfff33c0df8b
|
|
|
515
515
|
*,
|
|
516
516
|
deployment_pattern_name: builtins.str,
|
|
517
517
|
name: builtins.str,
|
|
518
|
-
specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
|
|
519
518
|
workload_name: builtins.str,
|
|
519
|
+
specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
520
520
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
521
521
|
) -> None:
|
|
522
522
|
"""Type checking stubs"""
|