CfnCustomResourceMixinProps
- class aws_cdk.mixins_preview.aws_cloudformation.mixins.CfnCustomResourceMixinProps(*, service_timeout=None, service_token=None)
Bases:
objectProperties for CfnCustomResourcePropsMixin.
- Parameters:
service_timeout (
Union[int,float,None]) – The maximum time, in seconds, that can elapse before a custom resource operation times out. The value must be an integer from 1 to 3600. The default value is 3600 seconds (1 hour).service_token (
Optional[str]) – The service token, such as an Amazon topic ARN or Lambda function ARN. The service token must be from the same Region as the stack. Updates aren’t supported.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cloudformation import mixins as cloudformation_mixins cfn_custom_resource_mixin_props = cloudformation_mixins.CfnCustomResourceMixinProps( service_timeout=123, service_token="serviceToken" )
Attributes
- service_timeout
The maximum time, in seconds, that can elapse before a custom resource operation times out.
The value must be an integer from 1 to 3600. The default value is 3600 seconds (1 hour).
- service_token
The service token, such as an Amazon topic ARN or Lambda function ARN.
The service token must be from the same Region as the stack.
Updates aren’t supported.