Show / Hide Table of Contents

Interface ICfnCustomResourceProps

Properties for defining a CfnCustomResource.

Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnCustomResourceProps
Syntax (vb)
Public Interface ICfnCustomResourceProps
Remarks

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

ExampleMetadata: fixture=_generated

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",

                 // the properties below are optional
                 ServiceTimeout = 123
             };

Synopsis

Properties

ServiceTimeout

The maximum time, in seconds, that can elapse before a custom resource operation times out.

ServiceToken

The service token, such as an Amazon topic ARN or Lambda function ARN.

Properties

ServiceTimeout

The maximum time, in seconds, that can elapse before a custom resource operation times out.

double? ServiceTimeout { get; }
Property Value

double?

Remarks

The value must be an integer from 1 to 3600. The default value is 3600 seconds (1 hour).

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

ServiceToken

The service token, such as an Amazon topic ARN or Lambda function ARN.

string ServiceToken { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX