aws-cdk-lib 2.185.0__py3-none-any.whl → 2.187.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 +383 -145
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplify/__init__.py +124 -0
- aws_cdk/aws_apigateway/__init__.py +48 -2
- aws_cdk/aws_apigatewayv2/__init__.py +9 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationsignals/__init__.py +363 -3
- aws_cdk/aws_appsync/__init__.py +74 -3
- aws_cdk/aws_bedrock/__init__.py +395 -14
- aws_cdk/aws_cassandra/__init__.py +2 -2
- aws_cdk/aws_cleanrooms/__init__.py +21 -9
- aws_cdk/aws_cloudformation/__init__.py +1 -5
- aws_cdk/aws_cloudfront/__init__.py +15 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +4 -18
- aws_cdk/aws_cloudwatch/__init__.py +50 -50
- aws_cdk/aws_codeartifact/__init__.py +20 -33
- aws_cdk/aws_codebuild/__init__.py +9 -0
- aws_cdk/aws_codepipeline/__init__.py +1328 -120
- aws_cdk/aws_cognito/__init__.py +1 -1
- aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
- aws_cdk/aws_config/__init__.py +2 -5
- aws_cdk/aws_connect/__init__.py +3 -7
- aws_cdk/aws_controltower/__init__.py +18 -26
- aws_cdk/aws_datazone/__init__.py +3540 -10
- aws_cdk/aws_detective/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +37 -0
- aws_cdk/aws_ec2/__init__.py +714 -37
- aws_cdk/aws_ecr/__init__.py +143 -0
- aws_cdk/aws_ecr_assets/__init__.py +115 -4
- aws_cdk/aws_ecs/__init__.py +66 -20
- aws_cdk/aws_eks/__init__.py +114 -0
- aws_cdk/aws_events/__init__.py +26 -6
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +2 -2
- aws_cdk/aws_gamelift/__init__.py +11 -11
- aws_cdk/aws_iam/__init__.py +264 -0
- aws_cdk/aws_identitystore/__init__.py +16 -16
- aws_cdk/aws_imagebuilder/__init__.py +3 -27
- aws_cdk/aws_iotsitewise/__init__.py +623 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
- aws_cdk/aws_kms/__init__.py +10 -11
- aws_cdk/aws_lakeformation/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +112 -5
- aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
- aws_cdk/aws_lex/__init__.py +981 -5
- aws_cdk/aws_location/__init__.py +24 -7
- aws_cdk/aws_mediaconnect/__init__.py +714 -290
- aws_cdk/aws_msk/__init__.py +8 -2
- aws_cdk/aws_mwaa/__init__.py +9 -9
- aws_cdk/aws_networkfirewall/__init__.py +60 -12
- aws_cdk/aws_oam/__init__.py +8 -37
- aws_cdk/aws_omics/__init__.py +216 -0
- aws_cdk/aws_quicksight/__init__.py +250 -108
- aws_cdk/aws_rds/__init__.py +102 -10
- aws_cdk/aws_redshiftserverless/__init__.py +192 -15
- aws_cdk/aws_route53/__init__.py +2 -2
- aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
- aws_cdk/aws_rum/__init__.py +315 -52
- aws_cdk/aws_s3_assets/__init__.py +70 -1
- aws_cdk/aws_s3_deployment/__init__.py +4 -0
- aws_cdk/aws_sagemaker/__init__.py +6 -4
- aws_cdk/aws_scheduler/__init__.py +3944 -121
- aws_cdk/aws_scheduler_targets/__init__.py +4460 -0
- aws_cdk/aws_securitylake/__init__.py +2 -2
- aws_cdk/aws_servicecatalog/__init__.py +4 -0
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
- aws_cdk/aws_synthetics/__init__.py +9 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
- aws_cdk/aws_timestream/__init__.py +4 -4
- aws_cdk/aws_wafv2/__init__.py +1117 -1446
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/cloud_assembly_schema/__init__.py +60 -10
- aws_cdk/cx_api/__init__.py +38 -0
- aws_cdk/pipelines/__init__.py +20 -2
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +87 -85
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
|
@@ -151,7 +151,7 @@ class CfnEnvironment(
|
|
|
151
151
|
:param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.
|
|
152
152
|
:param desired_software_set_id: The ID of the software set to apply.
|
|
153
153
|
:param desktop_endpoint: The URL for the identity provider login (only for environments that use AppStream 2.0).
|
|
154
|
-
:param device_creation_tags:
|
|
154
|
+
:param device_creation_tags: An array of key-value pairs to apply to the newly created devices for this environment.
|
|
155
155
|
:param kms_key_arn: The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.
|
|
156
156
|
:param maintenance_window: A specification for a time window to apply software updates.
|
|
157
157
|
:param name: The name of the environment.
|
|
@@ -353,7 +353,7 @@ class CfnEnvironment(
|
|
|
353
353
|
def device_creation_tags(
|
|
354
354
|
self,
|
|
355
355
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, _CfnTag_f6864754]]]]:
|
|
356
|
-
'''
|
|
356
|
+
'''An array of key-value pairs to apply to the newly created devices for this environment.'''
|
|
357
357
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, _CfnTag_f6864754]]]], jsii.get(self, "deviceCreationTags"))
|
|
358
358
|
|
|
359
359
|
@device_creation_tags.setter
|
|
@@ -645,7 +645,7 @@ class CfnEnvironmentProps:
|
|
|
645
645
|
:param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.
|
|
646
646
|
:param desired_software_set_id: The ID of the software set to apply.
|
|
647
647
|
:param desktop_endpoint: The URL for the identity provider login (only for environments that use AppStream 2.0).
|
|
648
|
-
:param device_creation_tags:
|
|
648
|
+
:param device_creation_tags: An array of key-value pairs to apply to the newly created devices for this environment.
|
|
649
649
|
:param kms_key_arn: The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.
|
|
650
650
|
:param maintenance_window: A specification for a time window to apply software updates.
|
|
651
651
|
:param name: The name of the environment.
|
|
@@ -759,7 +759,7 @@ class CfnEnvironmentProps:
|
|
|
759
759
|
def device_creation_tags(
|
|
760
760
|
self,
|
|
761
761
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, _CfnTag_f6864754]]]]:
|
|
762
|
-
'''
|
|
762
|
+
'''An array of key-value pairs to apply to the newly created devices for this environment.
|
|
763
763
|
|
|
764
764
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesthinclient-environment.html#cfn-workspacesthinclient-environment-devicecreationtags
|
|
765
765
|
'''
|
|
@@ -604,7 +604,10 @@ class AssetManifest:
|
|
|
604
604
|
executable=["executable"],
|
|
605
605
|
network_mode="networkMode",
|
|
606
606
|
platform="platform"
|
|
607
|
-
)
|
|
607
|
+
),
|
|
608
|
+
|
|
609
|
+
# the properties below are optional
|
|
610
|
+
display_name="displayName"
|
|
608
611
|
)
|
|
609
612
|
},
|
|
610
613
|
files={
|
|
@@ -627,7 +630,10 @@ class AssetManifest:
|
|
|
627
630
|
executable=["executable"],
|
|
628
631
|
packaging=cloud_assembly_schema.FileAssetPackaging.FILE,
|
|
629
632
|
path="path"
|
|
630
|
-
)
|
|
633
|
+
),
|
|
634
|
+
|
|
635
|
+
# the properties below are optional
|
|
636
|
+
display_name="displayName"
|
|
631
637
|
)
|
|
632
638
|
}
|
|
633
639
|
)
|
|
@@ -4132,7 +4138,11 @@ class DockerCacheOption:
|
|
|
4132
4138
|
@jsii.data_type(
|
|
4133
4139
|
jsii_type="aws-cdk-lib.cloud_assembly_schema.DockerImageAsset",
|
|
4134
4140
|
jsii_struct_bases=[],
|
|
4135
|
-
name_mapping={
|
|
4141
|
+
name_mapping={
|
|
4142
|
+
"destinations": "destinations",
|
|
4143
|
+
"source": "source",
|
|
4144
|
+
"display_name": "displayName",
|
|
4145
|
+
},
|
|
4136
4146
|
)
|
|
4137
4147
|
class DockerImageAsset:
|
|
4138
4148
|
def __init__(
|
|
@@ -4140,11 +4150,13 @@ class DockerImageAsset:
|
|
|
4140
4150
|
*,
|
|
4141
4151
|
destinations: typing.Mapping[builtins.str, typing.Union["DockerImageDestination", typing.Dict[builtins.str, typing.Any]]],
|
|
4142
4152
|
source: typing.Union["DockerImageSource", typing.Dict[builtins.str, typing.Any]],
|
|
4153
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
4143
4154
|
) -> None:
|
|
4144
4155
|
'''A file asset.
|
|
4145
4156
|
|
|
4146
|
-
:param destinations: Destinations for this
|
|
4147
|
-
:param source: Source description for
|
|
4157
|
+
:param destinations: Destinations for this container asset.
|
|
4158
|
+
:param source: Source description for container assets.
|
|
4159
|
+
:param display_name: A display name for this asset. Default: - The identifier will be used as the display name
|
|
4148
4160
|
|
|
4149
4161
|
:exampleMetadata: fixture=_generated
|
|
4150
4162
|
|
|
@@ -4203,7 +4215,10 @@ class DockerImageAsset:
|
|
|
4203
4215
|
executable=["executable"],
|
|
4204
4216
|
network_mode="networkMode",
|
|
4205
4217
|
platform="platform"
|
|
4206
|
-
)
|
|
4218
|
+
),
|
|
4219
|
+
|
|
4220
|
+
# the properties below are optional
|
|
4221
|
+
display_name="displayName"
|
|
4207
4222
|
)
|
|
4208
4223
|
'''
|
|
4209
4224
|
if isinstance(source, dict):
|
|
@@ -4212,25 +4227,37 @@ class DockerImageAsset:
|
|
|
4212
4227
|
type_hints = typing.get_type_hints(_typecheckingstub__18a2a085c0212f98043b6dccf8c92e1bdc5d9e20c7266a3be7bc908b8b771cd3)
|
|
4213
4228
|
check_type(argname="argument destinations", value=destinations, expected_type=type_hints["destinations"])
|
|
4214
4229
|
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
4230
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
4215
4231
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4216
4232
|
"destinations": destinations,
|
|
4217
4233
|
"source": source,
|
|
4218
4234
|
}
|
|
4235
|
+
if display_name is not None:
|
|
4236
|
+
self._values["display_name"] = display_name
|
|
4219
4237
|
|
|
4220
4238
|
@builtins.property
|
|
4221
4239
|
def destinations(self) -> typing.Mapping[builtins.str, "DockerImageDestination"]:
|
|
4222
|
-
'''Destinations for this
|
|
4240
|
+
'''Destinations for this container asset.'''
|
|
4223
4241
|
result = self._values.get("destinations")
|
|
4224
4242
|
assert result is not None, "Required property 'destinations' is missing"
|
|
4225
4243
|
return typing.cast(typing.Mapping[builtins.str, "DockerImageDestination"], result)
|
|
4226
4244
|
|
|
4227
4245
|
@builtins.property
|
|
4228
4246
|
def source(self) -> "DockerImageSource":
|
|
4229
|
-
'''Source description for
|
|
4247
|
+
'''Source description for container assets.'''
|
|
4230
4248
|
result = self._values.get("source")
|
|
4231
4249
|
assert result is not None, "Required property 'source' is missing"
|
|
4232
4250
|
return typing.cast("DockerImageSource", result)
|
|
4233
4251
|
|
|
4252
|
+
@builtins.property
|
|
4253
|
+
def display_name(self) -> typing.Optional[builtins.str]:
|
|
4254
|
+
'''A display name for this asset.
|
|
4255
|
+
|
|
4256
|
+
:default: - The identifier will be used as the display name
|
|
4257
|
+
'''
|
|
4258
|
+
result = self._values.get("display_name")
|
|
4259
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4260
|
+
|
|
4234
4261
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4235
4262
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4236
4263
|
|
|
@@ -4828,7 +4855,11 @@ class EndpointServiceAvailabilityZonesContextQuery(ContextLookupRoleOptions):
|
|
|
4828
4855
|
@jsii.data_type(
|
|
4829
4856
|
jsii_type="aws-cdk-lib.cloud_assembly_schema.FileAsset",
|
|
4830
4857
|
jsii_struct_bases=[],
|
|
4831
|
-
name_mapping={
|
|
4858
|
+
name_mapping={
|
|
4859
|
+
"destinations": "destinations",
|
|
4860
|
+
"source": "source",
|
|
4861
|
+
"display_name": "displayName",
|
|
4862
|
+
},
|
|
4832
4863
|
)
|
|
4833
4864
|
class FileAsset:
|
|
4834
4865
|
def __init__(
|
|
@@ -4836,11 +4867,13 @@ class FileAsset:
|
|
|
4836
4867
|
*,
|
|
4837
4868
|
destinations: typing.Mapping[builtins.str, typing.Union["FileDestination", typing.Dict[builtins.str, typing.Any]]],
|
|
4838
4869
|
source: typing.Union["FileSource", typing.Dict[builtins.str, typing.Any]],
|
|
4870
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
4839
4871
|
) -> None:
|
|
4840
4872
|
'''A file asset.
|
|
4841
4873
|
|
|
4842
4874
|
:param destinations: Destinations for this file asset.
|
|
4843
4875
|
:param source: Source description for file assets.
|
|
4876
|
+
:param display_name: A display name for this asset. Default: - The identifier will be used as the display name
|
|
4844
4877
|
|
|
4845
4878
|
:exampleMetadata: fixture=_generated
|
|
4846
4879
|
|
|
@@ -4871,7 +4904,10 @@ class FileAsset:
|
|
|
4871
4904
|
executable=["executable"],
|
|
4872
4905
|
packaging=cloud_assembly_schema.FileAssetPackaging.FILE,
|
|
4873
4906
|
path="path"
|
|
4874
|
-
)
|
|
4907
|
+
),
|
|
4908
|
+
|
|
4909
|
+
# the properties below are optional
|
|
4910
|
+
display_name="displayName"
|
|
4875
4911
|
)
|
|
4876
4912
|
'''
|
|
4877
4913
|
if isinstance(source, dict):
|
|
@@ -4880,10 +4916,13 @@ class FileAsset:
|
|
|
4880
4916
|
type_hints = typing.get_type_hints(_typecheckingstub__a482db8874b6a4a96f9be44511cc506737e4b70dff2a99f6ee0f1566bc96c3d8)
|
|
4881
4917
|
check_type(argname="argument destinations", value=destinations, expected_type=type_hints["destinations"])
|
|
4882
4918
|
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
4919
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
4883
4920
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4884
4921
|
"destinations": destinations,
|
|
4885
4922
|
"source": source,
|
|
4886
4923
|
}
|
|
4924
|
+
if display_name is not None:
|
|
4925
|
+
self._values["display_name"] = display_name
|
|
4887
4926
|
|
|
4888
4927
|
@builtins.property
|
|
4889
4928
|
def destinations(self) -> typing.Mapping[builtins.str, "FileDestination"]:
|
|
@@ -4899,6 +4938,15 @@ class FileAsset:
|
|
|
4899
4938
|
assert result is not None, "Required property 'source' is missing"
|
|
4900
4939
|
return typing.cast("FileSource", result)
|
|
4901
4940
|
|
|
4941
|
+
@builtins.property
|
|
4942
|
+
def display_name(self) -> typing.Optional[builtins.str]:
|
|
4943
|
+
'''A display name for this asset.
|
|
4944
|
+
|
|
4945
|
+
:default: - The identifier will be used as the display name
|
|
4946
|
+
'''
|
|
4947
|
+
result = self._values.get("display_name")
|
|
4948
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4949
|
+
|
|
4902
4950
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4903
4951
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4904
4952
|
|
|
@@ -9192,6 +9240,7 @@ def _typecheckingstub__18a2a085c0212f98043b6dccf8c92e1bdc5d9e20c7266a3be7bc908b8
|
|
|
9192
9240
|
*,
|
|
9193
9241
|
destinations: typing.Mapping[builtins.str, typing.Union[DockerImageDestination, typing.Dict[builtins.str, typing.Any]]],
|
|
9194
9242
|
source: typing.Union[DockerImageSource, typing.Dict[builtins.str, typing.Any]],
|
|
9243
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
9195
9244
|
) -> None:
|
|
9196
9245
|
"""Type checking stubs"""
|
|
9197
9246
|
pass
|
|
@@ -9243,6 +9292,7 @@ def _typecheckingstub__a482db8874b6a4a96f9be44511cc506737e4b70dff2a99f6ee0f1566b
|
|
|
9243
9292
|
*,
|
|
9244
9293
|
destinations: typing.Mapping[builtins.str, typing.Union[FileDestination, typing.Dict[builtins.str, typing.Any]]],
|
|
9245
9294
|
source: typing.Union[FileSource, typing.Dict[builtins.str, typing.Any]],
|
|
9295
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
9246
9296
|
) -> None:
|
|
9247
9297
|
"""Type checking stubs"""
|
|
9248
9298
|
pass
|
aws_cdk/cx_api/__init__.py
CHANGED
|
@@ -659,6 +659,44 @@ When this feature flag is disabled, it will keep the root account principal in t
|
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
661
|
```
|
|
662
|
+
|
|
663
|
+
* `@aws-cdk/aws-events:requireEventBusPolicySid`
|
|
664
|
+
|
|
665
|
+
When this flag is enabled:
|
|
666
|
+
|
|
667
|
+
* Resource policies will be created with Statement IDs for service principals
|
|
668
|
+
* The operation will succeed as expected
|
|
669
|
+
|
|
670
|
+
When this flag is disabled:
|
|
671
|
+
|
|
672
|
+
* A warning will be emitted
|
|
673
|
+
* The grant operation will be dropped
|
|
674
|
+
* No permissions will be added
|
|
675
|
+
|
|
676
|
+
*cdk.json*
|
|
677
|
+
|
|
678
|
+
```json
|
|
679
|
+
{
|
|
680
|
+
"context": {
|
|
681
|
+
"@aws-cdk/aws-events:requireEventBusPolicySid": true
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
* `@aws-cdk/aws-dynamodb:retainTableReplica`
|
|
687
|
+
|
|
688
|
+
Currently, table replica will always be deleted when stack deletes regardless of source table's deletion policy.
|
|
689
|
+
When enabled, table replica will be default to the removal policy of source table unless specified otherwise.
|
|
690
|
+
|
|
691
|
+
*cdk.json*
|
|
692
|
+
|
|
693
|
+
```json
|
|
694
|
+
{
|
|
695
|
+
"context": {
|
|
696
|
+
"@aws-cdk/aws-dynamodb:retainTableReplica": true
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
```
|
|
662
700
|
'''
|
|
663
701
|
from pkgutil import extend_path
|
|
664
702
|
__path__ = extend_path(__path__, __name__)
|
aws_cdk/pipelines/__init__.py
CHANGED
|
@@ -4608,6 +4608,7 @@ class ShellStepProps:
|
|
|
4608
4608
|
"asset_type": "assetType",
|
|
4609
4609
|
"is_template": "isTemplate",
|
|
4610
4610
|
"asset_publishing_role_arn": "assetPublishingRoleArn",
|
|
4611
|
+
"display_name": "displayName",
|
|
4611
4612
|
},
|
|
4612
4613
|
)
|
|
4613
4614
|
class StackAsset:
|
|
@@ -4620,6 +4621,7 @@ class StackAsset:
|
|
|
4620
4621
|
asset_type: AssetType,
|
|
4621
4622
|
is_template: builtins.bool,
|
|
4622
4623
|
asset_publishing_role_arn: typing.Optional[builtins.str] = None,
|
|
4624
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
4623
4625
|
) -> None:
|
|
4624
4626
|
'''An asset used by a Stack.
|
|
4625
4627
|
|
|
@@ -4629,6 +4631,7 @@ class StackAsset:
|
|
|
4629
4631
|
:param asset_type: Type of asset to publish.
|
|
4630
4632
|
:param is_template: Does this asset represent the CloudFormation template for the stack. Default: false
|
|
4631
4633
|
:param asset_publishing_role_arn: Role ARN to assume to publish. Default: - No need to assume any role
|
|
4634
|
+
:param display_name: The display name of this asset. Default: - Use some generated string as display name
|
|
4632
4635
|
|
|
4633
4636
|
:exampleMetadata: fixture=_generated
|
|
4634
4637
|
|
|
@@ -4646,7 +4649,8 @@ class StackAsset:
|
|
|
4646
4649
|
is_template=False,
|
|
4647
4650
|
|
|
4648
4651
|
# the properties below are optional
|
|
4649
|
-
asset_publishing_role_arn="assetPublishingRoleArn"
|
|
4652
|
+
asset_publishing_role_arn="assetPublishingRoleArn",
|
|
4653
|
+
display_name="displayName"
|
|
4650
4654
|
)
|
|
4651
4655
|
'''
|
|
4652
4656
|
if __debug__:
|
|
@@ -4657,6 +4661,7 @@ class StackAsset:
|
|
|
4657
4661
|
check_type(argname="argument asset_type", value=asset_type, expected_type=type_hints["asset_type"])
|
|
4658
4662
|
check_type(argname="argument is_template", value=is_template, expected_type=type_hints["is_template"])
|
|
4659
4663
|
check_type(argname="argument asset_publishing_role_arn", value=asset_publishing_role_arn, expected_type=type_hints["asset_publishing_role_arn"])
|
|
4664
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
4660
4665
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4661
4666
|
"asset_id": asset_id,
|
|
4662
4667
|
"asset_manifest_path": asset_manifest_path,
|
|
@@ -4666,6 +4671,8 @@ class StackAsset:
|
|
|
4666
4671
|
}
|
|
4667
4672
|
if asset_publishing_role_arn is not None:
|
|
4668
4673
|
self._values["asset_publishing_role_arn"] = asset_publishing_role_arn
|
|
4674
|
+
if display_name is not None:
|
|
4675
|
+
self._values["display_name"] = display_name
|
|
4669
4676
|
|
|
4670
4677
|
@builtins.property
|
|
4671
4678
|
def asset_id(self) -> builtins.str:
|
|
@@ -4718,6 +4725,15 @@ class StackAsset:
|
|
|
4718
4725
|
result = self._values.get("asset_publishing_role_arn")
|
|
4719
4726
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
4720
4727
|
|
|
4728
|
+
@builtins.property
|
|
4729
|
+
def display_name(self) -> typing.Optional[builtins.str]:
|
|
4730
|
+
'''The display name of this asset.
|
|
4731
|
+
|
|
4732
|
+
:default: - Use some generated string as display name
|
|
4733
|
+
'''
|
|
4734
|
+
result = self._values.get("display_name")
|
|
4735
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4736
|
+
|
|
4721
4737
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4722
4738
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4723
4739
|
|
|
@@ -4992,7 +5008,8 @@ class StackDeploymentProps:
|
|
|
4992
5008
|
is_template=False,
|
|
4993
5009
|
|
|
4994
5010
|
# the properties below are optional
|
|
4995
|
-
asset_publishing_role_arn="assetPublishingRoleArn"
|
|
5011
|
+
asset_publishing_role_arn="assetPublishingRoleArn",
|
|
5012
|
+
display_name="displayName"
|
|
4996
5013
|
)],
|
|
4997
5014
|
assume_role_arn="assumeRoleArn",
|
|
4998
5015
|
execution_role_arn="executionRoleArn",
|
|
@@ -8124,6 +8141,7 @@ def _typecheckingstub__0b53846c07332af34759787d6881e8bb143a9ccedff4818aa79091268
|
|
|
8124
8141
|
asset_type: AssetType,
|
|
8125
8142
|
is_template: builtins.bool,
|
|
8126
8143
|
asset_publishing_role_arn: typing.Optional[builtins.str] = None,
|
|
8144
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
8127
8145
|
) -> None:
|
|
8128
8146
|
"""Type checking stubs"""
|
|
8129
8147
|
pass
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk-lib
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.187.0
|
|
4
4
|
Summary: Version 2 of the AWS Cloud Development Kit library
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -20,11 +20,11 @@ Requires-Python: ~=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
License-File: NOTICE
|
|
23
|
-
Requires-Dist: aws-cdk.asset-awscli-v1<3.0.0,>=2.2.
|
|
23
|
+
Requires-Dist: aws-cdk.asset-awscli-v1<3.0.0,>=2.2.229
|
|
24
24
|
Requires-Dist: aws-cdk.asset-node-proxy-agent-v6<3.0.0,>=2.1.0
|
|
25
|
-
Requires-Dist: aws-cdk.cloud-assembly-schema<
|
|
25
|
+
Requires-Dist: aws-cdk.cloud-assembly-schema<42.0.0,>=41.0.0
|
|
26
26
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
27
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
27
|
+
Requires-Dist: jsii<2.0.0,>=1.110.0
|
|
28
28
|
Requires-Dist: publication>=0.0.3
|
|
29
29
|
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
30
30
|
|