Show / Hide Table of Contents

Class CfnCustomResourceProps

Properties for defining a CfnCustomResource.

Inheritance
object
CfnCustomResourceProps
Implements
ICfnCustomResourceProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCustomResourceProps : ICfnCustomResourceProps
Syntax (vb)
Public Class CfnCustomResourceProps Implements 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

Constructors

CfnCustomResourceProps()

Properties for defining a CfnCustomResource.

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.

Constructors

CfnCustomResourceProps()

Properties for defining a CfnCustomResource.

public CfnCustomResourceProps()
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
             };

Properties

ServiceTimeout

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

public double? ServiceTimeout { get; set; }
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.

public string ServiceToken { get; set; }
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

Implements

ICfnCustomResourceProps
Back to top Generated by DocFX