CfnCustomResourceProps

class aws_cdk.aws_cloudformation.CfnCustomResourceProps(*, service_token)

Bases: object

Properties for defining a CfnCustomResource.

Parameters:

service_token (str) –

Only one property is defined by AWS for a custom resource: ServiceToken . All other properties are defined by the service provider. The service token that was given to the template developer by the service provider to access the service, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region in which you are creating 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.
from aws_cdk import aws_cloudformation as cloudformation

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

Attributes

service_token

Only one property is defined by AWS for a custom resource: ServiceToken .

All other properties are defined by the service provider.

The service token that was given to the template developer by the service provider to access the service, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region in which you are creating the stack.

Updates aren’t supported.

see:

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