CfnCustomResourceProps
- class aws_cdk.aws_cloudformation.CfnCustomResourceProps(*, service_token, service_timeout=None)
Bases:
object
Properties for defining a
CfnCustomResource
.- Parameters:
service_token (
str
) – The service token, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region as the stack. Updates aren’t supported.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).
- 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 import aws_cloudformation as cloudformation cfn_custom_resource_props = cloudformation.CfnCustomResourceProps( service_token="serviceToken", # the properties below are optional service_timeout=123 )
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 SNS topic ARN or Lambda function ARN.
The service token must be from the same Region as the stack.
Updates aren’t supported.