CfnCustomResourceProps

class aws_cdk.CfnCustomResourceProps(*, service_token)

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

cfn_custom_resource_props = cdk.CfnCustomResourceProps(
    service_token="serviceToken"
)

Attributes

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html#cfn-cloudformation-customresource-servicetoken