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
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 SNS topic ARN or Lambda function ARN. |
Properties
ServiceTimeout
The maximum time, in seconds, that can elapse before a custom resource operation times out.
virtual Nullable<double> ServiceTimeout { get; }
Property Value
System.Nullable<System.Double>
Remarks
The value must be an integer from 1 to 3600. The default value is 3600 seconds (1 hour).
ServiceToken
The service token, such as an Amazon SNS topic ARN or Lambda function ARN.
string ServiceToken { get; }
Property Value
System.String
Remarks
The service token must be from the same Region as the stack.
Updates aren't supported.