Table of Contents

Interface ICfnCustomResourceProps

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

Properties for defining a CfnCustomResource.

public interface ICfnCustomResourceProps

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;
             var cfnCustomResourceProps = new CfnCustomResourceProps {
                 ServiceToken = "serviceToken"
             };

Remarks

Properties

ServiceToken

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

string ServiceToken { get; }

Property Value

string

Remarks

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.

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