aws-cdk-lib 2.186.0__py3-none-any.whl → 2.188.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 +303 -119
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.186.0.jsii.tgz → aws-cdk-lib@2.188.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +136 -0
- aws_cdk/aws_apigateway/__init__.py +69 -17
- aws_cdk/aws_apigatewayv2/__init__.py +88 -0
- aws_cdk/aws_appconfig/__init__.py +30 -14
- aws_cdk/aws_appsync/__init__.py +14 -5
- aws_cdk/aws_arczonalshift/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +637 -32
- aws_cdk/aws_budgets/__init__.py +8 -8
- aws_cdk/aws_cassandra/__init__.py +4 -2
- aws_cdk/aws_ce/__init__.py +2 -2
- aws_cdk/aws_cloudformation/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +11 -0
- aws_cdk/aws_cloudtrail/__init__.py +4 -18
- aws_cdk/aws_cloudwatch/__init__.py +50 -50
- aws_cdk/aws_codebuild/__init__.py +32 -1
- aws_cdk/aws_codepipeline/__init__.py +47 -32
- aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
- aws_cdk/aws_codestarnotifications/__init__.py +16 -16
- aws_cdk/aws_cognito/__init__.py +8 -2
- aws_cdk/aws_config/__init__.py +2 -5
- aws_cdk/aws_datazone/__init__.py +287 -226
- aws_cdk/aws_detective/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +37 -0
- aws_cdk/aws_ec2/__init__.py +2448 -442
- aws_cdk/aws_ecr/__init__.py +143 -0
- aws_cdk/aws_ecr_assets/__init__.py +115 -4
- aws_cdk/aws_ecs/__init__.py +51 -0
- aws_cdk/aws_eks/__init__.py +222 -6
- aws_cdk/aws_events/__init__.py +8 -11
- aws_cdk/aws_events_targets/__init__.py +136 -0
- 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 +6 -4
- aws_cdk/aws_identitystore/__init__.py +6 -4
- aws_cdk/aws_iotsitewise/__init__.py +623 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
- aws_cdk/aws_kms/__init__.py +10 -11
- aws_cdk/aws_lakeformation/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +105 -4
- aws_cdk/aws_lambda_event_sources/__init__.py +87 -25
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
- aws_cdk/aws_lex/__init__.py +985 -5
- aws_cdk/aws_logs/__init__.py +18 -0
- aws_cdk/aws_logs_destinations/__init__.py +146 -0
- aws_cdk/aws_mediaconnect/__init__.py +714 -290
- aws_cdk/aws_mwaa/__init__.py +9 -9
- aws_cdk/aws_networkfirewall/__init__.py +44 -0
- aws_cdk/aws_notifications/__init__.py +4 -4
- aws_cdk/aws_omics/__init__.py +225 -1
- aws_cdk/aws_opensearchserverless/__init__.py +31 -23
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
- aws_cdk/aws_quicksight/__init__.py +268 -50
- aws_cdk/aws_rds/__init__.py +186 -10
- aws_cdk/aws_route53/__init__.py +5 -5
- aws_cdk/aws_route53recoverycontrol/__init__.py +41 -2
- aws_cdk/aws_rum/__init__.py +13 -10
- aws_cdk/aws_s3/__init__.py +3 -6
- aws_cdk/aws_s3_assets/__init__.py +70 -1
- aws_cdk/aws_s3_deployment/__init__.py +4 -0
- aws_cdk/aws_sagemaker/__init__.py +47 -4
- aws_cdk/aws_scheduler_targets/__init__.py +4 -16
- 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_ssmincidents/__init__.py +10 -10
- aws_cdk/aws_stepfunctions/__init__.py +23 -17
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
- aws_cdk/aws_synthetics/__init__.py +9 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +160 -0
- aws_cdk/aws_transfer/__init__.py +19 -10
- aws_cdk/aws_wafv2/__init__.py +512 -1141
- aws_cdk/cloud_assembly_schema/__init__.py +60 -10
- aws_cdk/cx_api/__init__.py +38 -2
- aws_cdk/pipelines/__init__.py +52 -2
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/RECORD +85 -85
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/top_level.txt +0 -0
|
@@ -10021,7 +10021,7 @@ class CfnEndpoint(
|
|
|
10021
10021
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
10022
10022
|
:param endpoint_config_name: The name of the `AWS::SageMaker::EndpointConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html>`_ resource that specifies the configuration for the endpoint. For more information, see `CreateEndpointConfig <https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html>`_ .
|
|
10023
10023
|
:param deployment_config: The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
|
|
10024
|
-
:param endpoint_name: The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
|
|
10024
|
+
:param endpoint_name: The name of the endpoint. The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
|
|
10025
10025
|
:param exclude_retained_variant_properties: When you are updating endpoint resources with `RetainAllVariantProperties <https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties>`_ whose value is set to ``true`` , ``ExcludeRetainedVariantProperties`` specifies the list of type `VariantProperty <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html>`_ to override with the values provided by ``EndpointConfig`` . If you don't specify a value for ``ExcludeAllVariantProperties`` , no variant properties are overridden. Don't use this property when creating new endpoint resources or when ``RetainAllVariantProperties`` is set to ``false`` .
|
|
10026
10026
|
:param retain_all_variant_properties: When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set ``RetainAllVariantProperties`` to ``true`` . To use the variant properties specified in a new ``EndpointConfig`` call when updating an endpoint, set ``RetainAllVariantProperties`` to ``false`` . Use this property only when updating endpoint resources, not when creating new endpoint resources.
|
|
10027
10027
|
:param retain_deployment_config: Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
|
|
@@ -10144,7 +10144,7 @@ class CfnEndpoint(
|
|
|
10144
10144
|
@builtins.property
|
|
10145
10145
|
@jsii.member(jsii_name="endpointName")
|
|
10146
10146
|
def endpoint_name(self) -> typing.Optional[builtins.str]:
|
|
10147
|
-
'''The name of the endpoint.
|
|
10147
|
+
'''The name of the endpoint.'''
|
|
10148
10148
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "endpointName"))
|
|
10149
10149
|
|
|
10150
10150
|
@endpoint_name.setter
|
|
@@ -13864,7 +13864,7 @@ class CfnEndpointProps:
|
|
|
13864
13864
|
|
|
13865
13865
|
:param endpoint_config_name: The name of the `AWS::SageMaker::EndpointConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html>`_ resource that specifies the configuration for the endpoint. For more information, see `CreateEndpointConfig <https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html>`_ .
|
|
13866
13866
|
:param deployment_config: The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
|
|
13867
|
-
:param endpoint_name: The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
|
|
13867
|
+
:param endpoint_name: The name of the endpoint. The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
|
|
13868
13868
|
:param exclude_retained_variant_properties: When you are updating endpoint resources with `RetainAllVariantProperties <https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties>`_ whose value is set to ``true`` , ``ExcludeRetainedVariantProperties`` specifies the list of type `VariantProperty <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html>`_ to override with the values provided by ``EndpointConfig`` . If you don't specify a value for ``ExcludeAllVariantProperties`` , no variant properties are overridden. Don't use this property when creating new endpoint resources or when ``RetainAllVariantProperties`` is set to ``false`` .
|
|
13869
13869
|
:param retain_all_variant_properties: When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set ``RetainAllVariantProperties`` to ``true`` . To use the variant properties specified in a new ``EndpointConfig`` call when updating an endpoint, set ``RetainAllVariantProperties`` to ``false`` . Use this property only when updating endpoint resources, not when creating new endpoint resources.
|
|
13870
13870
|
:param retain_deployment_config: Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
|
|
@@ -13984,7 +13984,9 @@ class CfnEndpointProps:
|
|
|
13984
13984
|
|
|
13985
13985
|
@builtins.property
|
|
13986
13986
|
def endpoint_name(self) -> typing.Optional[builtins.str]:
|
|
13987
|
-
'''The name of the endpoint.
|
|
13987
|
+
'''The name of the endpoint.
|
|
13988
|
+
|
|
13989
|
+
The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
|
|
13988
13990
|
|
|
13989
13991
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-endpointname
|
|
13990
13992
|
'''
|
|
@@ -42049,6 +42051,7 @@ class CfnPartnerApp(
|
|
|
42049
42051
|
),
|
|
42050
42052
|
client_token="clientToken",
|
|
42051
42053
|
enable_iam_session_based_identity=False,
|
|
42054
|
+
kms_key_id="kmsKeyId",
|
|
42052
42055
|
maintenance_config=sagemaker.CfnPartnerApp.PartnerAppMaintenanceConfigProperty(
|
|
42053
42056
|
maintenance_window_start="maintenanceWindowStart"
|
|
42054
42057
|
),
|
|
@@ -42072,6 +42075,7 @@ class CfnPartnerApp(
|
|
|
42072
42075
|
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnerApp.PartnerAppConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42073
42076
|
client_token: typing.Optional[builtins.str] = None,
|
|
42074
42077
|
enable_iam_session_based_identity: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
42078
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
42075
42079
|
maintenance_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnerApp.PartnerAppMaintenanceConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42076
42080
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42077
42081
|
) -> None:
|
|
@@ -42086,6 +42090,7 @@ class CfnPartnerApp(
|
|
|
42086
42090
|
:param application_config: A collection of configuration settings for the PartnerApp.
|
|
42087
42091
|
:param client_token: (deprecated) The client token for the PartnerApp.
|
|
42088
42092
|
:param enable_iam_session_based_identity: Enables IAM Session based Identity for PartnerApp.
|
|
42093
|
+
:param kms_key_id: The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.
|
|
42089
42094
|
:param maintenance_config: A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
42090
42095
|
:param tags: A list of tags to apply to the PartnerApp.
|
|
42091
42096
|
'''
|
|
@@ -42102,6 +42107,7 @@ class CfnPartnerApp(
|
|
|
42102
42107
|
application_config=application_config,
|
|
42103
42108
|
client_token=client_token,
|
|
42104
42109
|
enable_iam_session_based_identity=enable_iam_session_based_identity,
|
|
42110
|
+
kms_key_id=kms_key_id,
|
|
42105
42111
|
maintenance_config=maintenance_config,
|
|
42106
42112
|
tags=tags,
|
|
42107
42113
|
)
|
|
@@ -42286,6 +42292,19 @@ class CfnPartnerApp(
|
|
|
42286
42292
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
42287
42293
|
jsii.set(self, "enableIamSessionBasedIdentity", value) # pyright: ignore[reportArgumentType]
|
|
42288
42294
|
|
|
42295
|
+
@builtins.property
|
|
42296
|
+
@jsii.member(jsii_name="kmsKeyId")
|
|
42297
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
42298
|
+
'''The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.'''
|
|
42299
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
42300
|
+
|
|
42301
|
+
@kms_key_id.setter
|
|
42302
|
+
def kms_key_id(self, value: typing.Optional[builtins.str]) -> None:
|
|
42303
|
+
if __debug__:
|
|
42304
|
+
type_hints = typing.get_type_hints(_typecheckingstub__58c272923722b0c517d340605d53203fe379f478e3d080374edf1307990220fe)
|
|
42305
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
42306
|
+
jsii.set(self, "kmsKeyId", value) # pyright: ignore[reportArgumentType]
|
|
42307
|
+
|
|
42289
42308
|
@builtins.property
|
|
42290
42309
|
@jsii.member(jsii_name="maintenanceConfig")
|
|
42291
42310
|
def maintenance_config(
|
|
@@ -42460,6 +42479,7 @@ class CfnPartnerApp(
|
|
|
42460
42479
|
"application_config": "applicationConfig",
|
|
42461
42480
|
"client_token": "clientToken",
|
|
42462
42481
|
"enable_iam_session_based_identity": "enableIamSessionBasedIdentity",
|
|
42482
|
+
"kms_key_id": "kmsKeyId",
|
|
42463
42483
|
"maintenance_config": "maintenanceConfig",
|
|
42464
42484
|
"tags": "tags",
|
|
42465
42485
|
},
|
|
@@ -42476,6 +42496,7 @@ class CfnPartnerAppProps:
|
|
|
42476
42496
|
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42477
42497
|
client_token: typing.Optional[builtins.str] = None,
|
|
42478
42498
|
enable_iam_session_based_identity: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
42499
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
42479
42500
|
maintenance_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppMaintenanceConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42480
42501
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42481
42502
|
) -> None:
|
|
@@ -42489,6 +42510,7 @@ class CfnPartnerAppProps:
|
|
|
42489
42510
|
:param application_config: A collection of configuration settings for the PartnerApp.
|
|
42490
42511
|
:param client_token: (deprecated) The client token for the PartnerApp.
|
|
42491
42512
|
:param enable_iam_session_based_identity: Enables IAM Session based Identity for PartnerApp.
|
|
42513
|
+
:param kms_key_id: The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.
|
|
42492
42514
|
:param maintenance_config: A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
42493
42515
|
:param tags: A list of tags to apply to the PartnerApp.
|
|
42494
42516
|
|
|
@@ -42517,6 +42539,7 @@ class CfnPartnerAppProps:
|
|
|
42517
42539
|
),
|
|
42518
42540
|
client_token="clientToken",
|
|
42519
42541
|
enable_iam_session_based_identity=False,
|
|
42542
|
+
kms_key_id="kmsKeyId",
|
|
42520
42543
|
maintenance_config=sagemaker.CfnPartnerApp.PartnerAppMaintenanceConfigProperty(
|
|
42521
42544
|
maintenance_window_start="maintenanceWindowStart"
|
|
42522
42545
|
),
|
|
@@ -42536,6 +42559,7 @@ class CfnPartnerAppProps:
|
|
|
42536
42559
|
check_type(argname="argument application_config", value=application_config, expected_type=type_hints["application_config"])
|
|
42537
42560
|
check_type(argname="argument client_token", value=client_token, expected_type=type_hints["client_token"])
|
|
42538
42561
|
check_type(argname="argument enable_iam_session_based_identity", value=enable_iam_session_based_identity, expected_type=type_hints["enable_iam_session_based_identity"])
|
|
42562
|
+
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
42539
42563
|
check_type(argname="argument maintenance_config", value=maintenance_config, expected_type=type_hints["maintenance_config"])
|
|
42540
42564
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
42541
42565
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -42551,6 +42575,8 @@ class CfnPartnerAppProps:
|
|
|
42551
42575
|
self._values["client_token"] = client_token
|
|
42552
42576
|
if enable_iam_session_based_identity is not None:
|
|
42553
42577
|
self._values["enable_iam_session_based_identity"] = enable_iam_session_based_identity
|
|
42578
|
+
if kms_key_id is not None:
|
|
42579
|
+
self._values["kms_key_id"] = kms_key_id
|
|
42554
42580
|
if maintenance_config is not None:
|
|
42555
42581
|
self._values["maintenance_config"] = maintenance_config
|
|
42556
42582
|
if tags is not None:
|
|
@@ -42642,6 +42668,15 @@ class CfnPartnerAppProps:
|
|
|
42642
42668
|
result = self._values.get("enable_iam_session_based_identity")
|
|
42643
42669
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
42644
42670
|
|
|
42671
|
+
@builtins.property
|
|
42672
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
42673
|
+
'''The AWS KMS customer managed key used to encrypt the data associated with the PartnerApp.
|
|
42674
|
+
|
|
42675
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-kmskeyid
|
|
42676
|
+
'''
|
|
42677
|
+
result = self._values.get("kms_key_id")
|
|
42678
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
42679
|
+
|
|
42645
42680
|
@builtins.property
|
|
42646
42681
|
def maintenance_config(
|
|
42647
42682
|
self,
|
|
@@ -54539,6 +54574,7 @@ def _typecheckingstub__149fe137328534a718f6ce551ee72371d9e2f7ac901d129321d3ff327
|
|
|
54539
54574
|
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54540
54575
|
client_token: typing.Optional[builtins.str] = None,
|
|
54541
54576
|
enable_iam_session_based_identity: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
54577
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
54542
54578
|
maintenance_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppMaintenanceConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54543
54579
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54544
54580
|
) -> None:
|
|
@@ -54605,6 +54641,12 @@ def _typecheckingstub__ebd74e6776143e94da10e5c2bab1e42ca40468d81bb1db74aa0c18459
|
|
|
54605
54641
|
"""Type checking stubs"""
|
|
54606
54642
|
pass
|
|
54607
54643
|
|
|
54644
|
+
def _typecheckingstub__58c272923722b0c517d340605d53203fe379f478e3d080374edf1307990220fe(
|
|
54645
|
+
value: typing.Optional[builtins.str],
|
|
54646
|
+
) -> None:
|
|
54647
|
+
"""Type checking stubs"""
|
|
54648
|
+
pass
|
|
54649
|
+
|
|
54608
54650
|
def _typecheckingstub__01904965c7f75553d54adf4ed7dd98da8f98703ddbdf03abdbbfb7056e2bceab(
|
|
54609
54651
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnerApp.PartnerAppMaintenanceConfigProperty]],
|
|
54610
54652
|
) -> None:
|
|
@@ -54642,6 +54684,7 @@ def _typecheckingstub__23a26f35e63e4c1c82a8885f138a3f6006822c6ecbf7284a7c2ccafae
|
|
|
54642
54684
|
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54643
54685
|
client_token: typing.Optional[builtins.str] = None,
|
|
54644
54686
|
enable_iam_session_based_identity: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
54687
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
54645
54688
|
maintenance_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppMaintenanceConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54646
54689
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54647
54690
|
) -> None:
|
|
@@ -3041,31 +3041,19 @@ class LambdaInvoke(
|
|
|
3041
3041
|
|
|
3042
3042
|
Example::
|
|
3043
3043
|
|
|
3044
|
-
|
|
3044
|
+
# fn: lambda.Function
|
|
3045
3045
|
|
|
3046
3046
|
|
|
3047
|
-
fn = lambda_.Function(self, "MyFunc",
|
|
3048
|
-
runtime=lambda_.Runtime.NODEJS_LATEST,
|
|
3049
|
-
handler="index.handler",
|
|
3050
|
-
code=lambda_.Code.from_inline("exports.handler = handler.toString()")
|
|
3051
|
-
)
|
|
3052
|
-
|
|
3053
|
-
dlq = sqs.Queue(self, "DLQ",
|
|
3054
|
-
queue_name="MyDLQ"
|
|
3055
|
-
)
|
|
3056
|
-
|
|
3057
3047
|
target = targets.LambdaInvoke(fn,
|
|
3058
|
-
dead_letter_queue=dlq,
|
|
3059
|
-
max_event_age=Duration.minutes(1),
|
|
3060
|
-
retry_attempts=3,
|
|
3061
3048
|
input=ScheduleTargetInput.from_object({
|
|
3062
3049
|
"payload": "useful"
|
|
3063
3050
|
})
|
|
3064
3051
|
)
|
|
3065
3052
|
|
|
3066
3053
|
schedule = Schedule(self, "Schedule",
|
|
3067
|
-
schedule=ScheduleExpression.rate(Duration.
|
|
3068
|
-
target=target
|
|
3054
|
+
schedule=ScheduleExpression.rate(Duration.minutes(10)),
|
|
3055
|
+
target=target,
|
|
3056
|
+
description="This is a test schedule that invokes a lambda function every 10 minutes."
|
|
3069
3057
|
)
|
|
3070
3058
|
'''
|
|
3071
3059
|
|
|
@@ -854,7 +854,7 @@ class CfnDataLake(
|
|
|
854
854
|
For more information about Amazon S3 Lifecycle configurations, see `Managing your storage lifecycle <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html>`_ in the *Amazon Simple Storage Service User Guide* .
|
|
855
855
|
|
|
856
856
|
:param days: The number of days before data transitions to a different S3 Storage Class in the Amazon Security Lake object.
|
|
857
|
-
:param storage_class: The list of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads. The default storage class is S3 Standard.
|
|
857
|
+
:param storage_class: The list of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads. The default storage class is *S3 Standard* . For information about other storage classes, see `Setting the storage class of an object <https://docs.aws.amazon.com/AmazonS3/latest/userguide/sc-howtoset.html>`_ in the *Amazon S3 User Guide* .
|
|
858
858
|
|
|
859
859
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-datalake-transitions.html
|
|
860
860
|
:exampleMetadata: fixture=_generated
|
|
@@ -893,7 +893,7 @@ class CfnDataLake(
|
|
|
893
893
|
def storage_class(self) -> typing.Optional[builtins.str]:
|
|
894
894
|
'''The list of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.
|
|
895
895
|
|
|
896
|
-
The default storage class is S3 Standard.
|
|
896
|
+
The default storage class is *S3 Standard* . For information about other storage classes, see `Setting the storage class of an object <https://docs.aws.amazon.com/AmazonS3/latest/userguide/sc-howtoset.html>`_ in the *Amazon S3 User Guide* .
|
|
897
897
|
|
|
898
898
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-datalake-transitions.html#cfn-securitylake-datalake-transitions-storageclass
|
|
899
899
|
'''
|
|
@@ -7038,6 +7038,7 @@ class CloudFormationTemplate(
|
|
|
7038
7038
|
path: builtins.str,
|
|
7039
7039
|
*,
|
|
7040
7040
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
7041
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
7041
7042
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
7042
7043
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
7043
7044
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -7051,6 +7052,7 @@ class CloudFormationTemplate(
|
|
|
7051
7052
|
|
|
7052
7053
|
:param path: A file containing the provisioning artifacts.
|
|
7053
7054
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
7055
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
7054
7056
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
7055
7057
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
7056
7058
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -7065,6 +7067,7 @@ class CloudFormationTemplate(
|
|
|
7065
7067
|
check_type(argname="argument path", value=path, expected_type=type_hints["path"])
|
|
7066
7068
|
options = _AssetOptions_2aa69621(
|
|
7067
7069
|
deploy_time=deploy_time,
|
|
7070
|
+
display_name=display_name,
|
|
7068
7071
|
readers=readers,
|
|
7069
7072
|
source_kms_key=source_kms_key,
|
|
7070
7073
|
asset_hash=asset_hash,
|
|
@@ -11128,6 +11131,7 @@ def _typecheckingstub__8e0d542f4ba87cd0da3d994035ba4c030fc0e065bd6d2e49190b0063a
|
|
|
11128
11131
|
path: builtins.str,
|
|
11129
11132
|
*,
|
|
11130
11133
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
11134
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
11131
11135
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
11132
11136
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
11133
11137
|
asset_hash: typing.Optional[builtins.str] = None,
|
aws_cdk/aws_sns/__init__.py
CHANGED
|
@@ -685,7 +685,7 @@ class CfnSubscription(
|
|
|
685
685
|
@builtins.property
|
|
686
686
|
@jsii.member(jsii_name="attrArn")
|
|
687
687
|
def attr_arn(self) -> builtins.str:
|
|
688
|
-
'''Returns the ARN of the subscription created by the AWS::SNS::Subscription resource.
|
|
688
|
+
'''Returns the ARN of the subscription created by the ``AWS::SNS::Subscription`` resource.
|
|
689
689
|
|
|
690
690
|
:cloudformationAttribute: Arn
|
|
691
691
|
'''
|
|
@@ -564,7 +564,7 @@ class CfnResponsePlan(
|
|
|
564
564
|
:param incident_template: Details used to create an incident when using this response plan.
|
|
565
565
|
:param name: The name of the response plan.
|
|
566
566
|
:param actions: The actions that the response plan starts at the beginning of an incident.
|
|
567
|
-
:param chat_channel: The
|
|
567
|
+
:param chat_channel: The chat channel used for collaboration during an incident.
|
|
568
568
|
:param display_name: The human readable name of the response plan.
|
|
569
569
|
:param engagements: The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
|
|
570
570
|
:param integrations: Information about third-party services integrated into the response plan.
|
|
@@ -691,7 +691,7 @@ class CfnResponsePlan(
|
|
|
691
691
|
def chat_channel(
|
|
692
692
|
self,
|
|
693
693
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnResponsePlan.ChatChannelProperty"]]:
|
|
694
|
-
'''The
|
|
694
|
+
'''The chat channel used for collaboration during an incident.'''
|
|
695
695
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnResponsePlan.ChatChannelProperty"]], jsii.get(self, "chatChannel"))
|
|
696
696
|
|
|
697
697
|
@chat_channel.setter
|
|
@@ -846,9 +846,9 @@ class CfnResponsePlan(
|
|
|
846
846
|
*,
|
|
847
847
|
chatbot_sns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
848
848
|
) -> None:
|
|
849
|
-
'''The
|
|
849
|
+
'''The chat channel used for collaboration during an incident.
|
|
850
850
|
|
|
851
|
-
:param chatbot_sns: The Amazon SNS targets that
|
|
851
|
+
:param chatbot_sns: The Amazon SNS targets that uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics
|
|
852
852
|
|
|
853
853
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-chatchannel.html
|
|
854
854
|
:exampleMetadata: fixture=_generated
|
|
@@ -872,7 +872,7 @@ class CfnResponsePlan(
|
|
|
872
872
|
|
|
873
873
|
@builtins.property
|
|
874
874
|
def chatbot_sns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
875
|
-
'''The Amazon SNS targets that
|
|
875
|
+
'''The Amazon SNS targets that uses to notify the chat channel of updates to an incident.
|
|
876
876
|
|
|
877
877
|
You can also make updates to the incident through the chat channel by using the Amazon SNS topics
|
|
878
878
|
|
|
@@ -1065,7 +1065,7 @@ class CfnResponsePlan(
|
|
|
1065
1065
|
:param title: The title of the incident is a brief and easily recognizable.
|
|
1066
1066
|
:param dedupe_string: Used to create only one incident record for an incident.
|
|
1067
1067
|
:param incident_tags: Tags to assign to the template. When the ``StartIncident`` API action is called, Incident Manager assigns the tags specified in the template to the incident.
|
|
1068
|
-
:param notification_targets: The Amazon Simple Notification Service ( Amazon SNS ) targets that
|
|
1068
|
+
:param notification_targets: The Amazon Simple Notification Service ( Amazon SNS ) targets that uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel using the Amazon SNS topics.
|
|
1069
1069
|
:param summary: The summary describes what has happened during the incident.
|
|
1070
1070
|
|
|
1071
1071
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-incidenttemplate.html
|
|
@@ -1167,7 +1167,7 @@ class CfnResponsePlan(
|
|
|
1167
1167
|
def notification_targets(
|
|
1168
1168
|
self,
|
|
1169
1169
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnResponsePlan.NotificationTargetItemProperty"]]]]:
|
|
1170
|
-
'''The Amazon Simple Notification Service ( Amazon SNS ) targets that
|
|
1170
|
+
'''The Amazon Simple Notification Service ( Amazon SNS ) targets that uses to notify the chat channel of updates to an incident.
|
|
1171
1171
|
|
|
1172
1172
|
You can also make updates to the incident through the chat channel using the Amazon SNS topics.
|
|
1173
1173
|
|
|
@@ -1271,7 +1271,7 @@ class CfnResponsePlan(
|
|
|
1271
1271
|
*,
|
|
1272
1272
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
1273
1273
|
) -> None:
|
|
1274
|
-
'''The Amazon SNS topic that's used by
|
|
1274
|
+
'''The Amazon SNS topic that's used by to notify the incidents chat channel.
|
|
1275
1275
|
|
|
1276
1276
|
:param sns_topic_arn: The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
|
1277
1277
|
|
|
@@ -1719,7 +1719,7 @@ class CfnResponsePlanProps:
|
|
|
1719
1719
|
:param incident_template: Details used to create an incident when using this response plan.
|
|
1720
1720
|
:param name: The name of the response plan.
|
|
1721
1721
|
:param actions: The actions that the response plan starts at the beginning of an incident.
|
|
1722
|
-
:param chat_channel: The
|
|
1722
|
+
:param chat_channel: The chat channel used for collaboration during an incident.
|
|
1723
1723
|
:param display_name: The human readable name of the response plan.
|
|
1724
1724
|
:param engagements: The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
|
|
1725
1725
|
:param integrations: Information about third-party services integrated into the response plan.
|
|
@@ -1857,7 +1857,7 @@ class CfnResponsePlanProps:
|
|
|
1857
1857
|
def chat_channel(
|
|
1858
1858
|
self,
|
|
1859
1859
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnResponsePlan.ChatChannelProperty]]:
|
|
1860
|
-
'''The
|
|
1860
|
+
'''The chat channel used for collaboration during an incident.
|
|
1861
1861
|
|
|
1862
1862
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html#cfn-ssmincidents-responseplan-chatchannel
|
|
1863
1863
|
'''
|
|
@@ -5735,6 +5735,7 @@ class DefinitionBody(
|
|
|
5735
5735
|
path: builtins.str,
|
|
5736
5736
|
*,
|
|
5737
5737
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
5738
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
5738
5739
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
5739
5740
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
5740
5741
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -5747,6 +5748,7 @@ class DefinitionBody(
|
|
|
5747
5748
|
'''
|
|
5748
5749
|
:param path: -
|
|
5749
5750
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
5751
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
5750
5752
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
5751
5753
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
5752
5754
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -5761,6 +5763,7 @@ class DefinitionBody(
|
|
|
5761
5763
|
check_type(argname="argument path", value=path, expected_type=type_hints["path"])
|
|
5762
5764
|
options = _AssetOptions_2aa69621(
|
|
5763
5765
|
deploy_time=deploy_time,
|
|
5766
|
+
display_name=display_name,
|
|
5764
5767
|
readers=readers,
|
|
5765
5768
|
source_kms_key=source_kms_key,
|
|
5766
5769
|
asset_hash=asset_hash,
|
|
@@ -6175,6 +6178,7 @@ class FileDefinitionBody(
|
|
|
6175
6178
|
path: builtins.str,
|
|
6176
6179
|
*,
|
|
6177
6180
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
6181
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
6178
6182
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
6179
6183
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
6180
6184
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -6187,6 +6191,7 @@ class FileDefinitionBody(
|
|
|
6187
6191
|
'''
|
|
6188
6192
|
:param path: -
|
|
6189
6193
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
6194
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
6190
6195
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
6191
6196
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
6192
6197
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -6201,6 +6206,7 @@ class FileDefinitionBody(
|
|
|
6201
6206
|
check_type(argname="argument path", value=path, expected_type=type_hints["path"])
|
|
6202
6207
|
options = _AssetOptions_2aa69621(
|
|
6203
6208
|
deploy_time=deploy_time,
|
|
6209
|
+
display_name=display_name,
|
|
6204
6210
|
readers=readers,
|
|
6205
6211
|
source_kms_key=source_kms_key,
|
|
6206
6212
|
asset_hash=asset_hash,
|
|
@@ -12105,25 +12111,23 @@ class StateMachineProps:
|
|
|
12105
12111
|
|
|
12106
12112
|
Example::
|
|
12107
12113
|
|
|
12108
|
-
|
|
12109
|
-
child = sfn.StateMachine(self, "ChildStateMachine",
|
|
12110
|
-
definition=sfn.Chain.start(sfn.Pass(self, "PassState"))
|
|
12111
|
-
)
|
|
12114
|
+
import aws_cdk.aws_stepfunctions as stepfunctions
|
|
12112
12115
|
|
|
12113
|
-
# Include the state machine in a Task state with callback pattern
|
|
12114
|
-
task = tasks.StepFunctionsStartExecution(self, "ChildTask",
|
|
12115
|
-
state_machine=child,
|
|
12116
|
-
integration_pattern=sfn.IntegrationPattern.WAIT_FOR_TASK_TOKEN,
|
|
12117
|
-
input=sfn.TaskInput.from_object({
|
|
12118
|
-
"token": sfn.JsonPath.task_token,
|
|
12119
|
-
"foo": "bar"
|
|
12120
|
-
}),
|
|
12121
|
-
name="MyExecutionName"
|
|
12122
|
-
)
|
|
12123
12116
|
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12117
|
+
pipeline = codepipeline.Pipeline(self, "MyPipeline")
|
|
12118
|
+
input_artifact = codepipeline.Artifact()
|
|
12119
|
+
start_state = stepfunctions.Pass(self, "StartState")
|
|
12120
|
+
simple_state_machine = stepfunctions.StateMachine(self, "SimpleStateMachine",
|
|
12121
|
+
definition=start_state
|
|
12122
|
+
)
|
|
12123
|
+
step_function_action = codepipeline_actions.StepFunctionInvokeAction(
|
|
12124
|
+
action_name="Invoke",
|
|
12125
|
+
state_machine=simple_state_machine,
|
|
12126
|
+
state_machine_input=codepipeline_actions.StateMachineInput.file_path(input_artifact.at_path("assets/input.json"))
|
|
12127
|
+
)
|
|
12128
|
+
pipeline.add_stage(
|
|
12129
|
+
stage_name="StepFunctions",
|
|
12130
|
+
actions=[step_function_action]
|
|
12127
12131
|
)
|
|
12128
12132
|
'''
|
|
12129
12133
|
if isinstance(logs, dict):
|
|
@@ -25632,6 +25636,7 @@ def _typecheckingstub__2e34fabd0367a0519a35d86d419baa37e6fe26ad05457e96b236a55bb
|
|
|
25632
25636
|
path: builtins.str,
|
|
25633
25637
|
*,
|
|
25634
25638
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
25639
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
25635
25640
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
25636
25641
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
25637
25642
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -25702,6 +25707,7 @@ def _typecheckingstub__526ef9213812e76ec99bd530d4fbea7cc137d220b92525fe763d6d315
|
|
|
25702
25707
|
path: builtins.str,
|
|
25703
25708
|
*,
|
|
25704
25709
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
25710
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
25705
25711
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
25706
25712
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
25707
25713
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -22063,6 +22063,7 @@ class DockerImage(
|
|
|
22063
22063
|
cache_disabled: typing.Optional[builtins.bool] = None,
|
|
22064
22064
|
cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22065
22065
|
cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22066
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
22066
22067
|
file: typing.Optional[builtins.str] = None,
|
|
22067
22068
|
invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22068
22069
|
network_mode: typing.Optional[_NetworkMode_897e5081] = None,
|
|
@@ -22086,6 +22087,7 @@ class DockerImage(
|
|
|
22086
22087
|
:param cache_disabled: Disable the cache and pass ``--no-cache`` to the ``docker build`` command. Default: - cache is used
|
|
22087
22088
|
:param cache_from: Cache from options to pass to the ``docker build`` command. Default: - no cache from options are passed to the build command
|
|
22088
22089
|
:param cache_to: Cache to options to pass to the ``docker build`` command. Default: - no cache to options are passed to the build command
|
|
22090
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. If ``assetName`` is given, it will also be used as the default ``displayName``. Otherwise, the default is the construct path of the ImageAsset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAssetImage()``), this will look like ``MyFunction/AssetImage``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
22089
22091
|
:param file: Path to the Dockerfile (relative to the directory). Default: 'Dockerfile'
|
|
22090
22092
|
:param invalidation: Options to control which parameters are used to invalidate the asset hash. Default: - hash all parameters
|
|
22091
22093
|
:param network_mode: Networking mode for the RUN commands during build. Support docker API 1.25+. Default: - no networking mode specified (the default networking mode ``NetworkMode.DEFAULT`` will be used)
|
|
@@ -22110,6 +22112,7 @@ class DockerImage(
|
|
|
22110
22112
|
cache_disabled=cache_disabled,
|
|
22111
22113
|
cache_from=cache_from,
|
|
22112
22114
|
cache_to=cache_to,
|
|
22115
|
+
display_name=display_name,
|
|
22113
22116
|
file=file,
|
|
22114
22117
|
invalidation=invalidation,
|
|
22115
22118
|
network_mode=network_mode,
|
|
@@ -88054,6 +88057,7 @@ def _typecheckingstub__5c9f551a01d287eabffcb602e6704dea79fda61e24da62e8d266fa6d1
|
|
|
88054
88057
|
cache_disabled: typing.Optional[builtins.bool] = None,
|
|
88055
88058
|
cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
88056
88059
|
cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
88060
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
88057
88061
|
file: typing.Optional[builtins.str] = None,
|
|
88058
88062
|
invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
88059
88063
|
network_mode: typing.Optional[_NetworkMode_897e5081] = None,
|
|
@@ -3298,6 +3298,7 @@ class Code(
|
|
|
3298
3298
|
asset_path: builtins.str,
|
|
3299
3299
|
*,
|
|
3300
3300
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
3301
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
3301
3302
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
3302
3303
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
3303
3304
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -3313,6 +3314,7 @@ class Code(
|
|
|
3313
3314
|
|
|
3314
3315
|
:param asset_path: Either a directory or a .zip file.
|
|
3315
3316
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
3317
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
3316
3318
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
3317
3319
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
3318
3320
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -3331,6 +3333,7 @@ class Code(
|
|
|
3331
3333
|
check_type(argname="argument asset_path", value=asset_path, expected_type=type_hints["asset_path"])
|
|
3332
3334
|
options = _AssetOptions_2aa69621(
|
|
3333
3335
|
deploy_time=deploy_time,
|
|
3336
|
+
display_name=display_name,
|
|
3334
3337
|
readers=readers,
|
|
3335
3338
|
source_kms_key=source_kms_key,
|
|
3336
3339
|
asset_hash=asset_hash,
|
|
@@ -4460,6 +4463,7 @@ class AssetCode(
|
|
|
4460
4463
|
working_directory="workingDirectory"
|
|
4461
4464
|
),
|
|
4462
4465
|
deploy_time=False,
|
|
4466
|
+
display_name="displayName",
|
|
4463
4467
|
exclude=["exclude"],
|
|
4464
4468
|
follow_symlinks=cdk.SymlinkFollowMode.NEVER,
|
|
4465
4469
|
ignore_mode=cdk.IgnoreMode.GLOB,
|
|
@@ -4473,6 +4477,7 @@ class AssetCode(
|
|
|
4473
4477
|
asset_path: builtins.str,
|
|
4474
4478
|
*,
|
|
4475
4479
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
4480
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
4476
4481
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
4477
4482
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
4478
4483
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -4485,6 +4490,7 @@ class AssetCode(
|
|
|
4485
4490
|
'''
|
|
4486
4491
|
:param asset_path: The path to the asset file or directory.
|
|
4487
4492
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
4493
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
4488
4494
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
4489
4495
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
4490
4496
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -4499,6 +4505,7 @@ class AssetCode(
|
|
|
4499
4505
|
check_type(argname="argument asset_path", value=asset_path, expected_type=type_hints["asset_path"])
|
|
4500
4506
|
options = _AssetOptions_2aa69621(
|
|
4501
4507
|
deploy_time=deploy_time,
|
|
4508
|
+
display_name=display_name,
|
|
4502
4509
|
readers=readers,
|
|
4503
4510
|
source_kms_key=source_kms_key,
|
|
4504
4511
|
asset_hash=asset_hash,
|
|
@@ -4913,6 +4920,7 @@ def _typecheckingstub__02201c2190b076bbceced8708b435fab8189f7f505650002941cc7a50
|
|
|
4913
4920
|
asset_path: builtins.str,
|
|
4914
4921
|
*,
|
|
4915
4922
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
4923
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
4916
4924
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
4917
4925
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
4918
4926
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -5030,6 +5038,7 @@ def _typecheckingstub__60a29a536d66536254f2ca409a65dc32f30e483b29091222d42f32106
|
|
|
5030
5038
|
asset_path: builtins.str,
|
|
5031
5039
|
*,
|
|
5032
5040
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
5041
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
5033
5042
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
5034
5043
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
5035
5044
|
asset_hash: typing.Optional[builtins.str] = None,
|