Class CfnCustomResourceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnCustomResourceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomResourceMixinProps>
- Enclosing interface:
CfnCustomResourceMixinProps
@Stability(Stable)
public static final class CfnCustomResourceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomResourceMixinProps>
A builder for
CfnCustomResourceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.serviceTimeout(Number serviceTimeout) Sets the value ofCfnCustomResourceMixinProps.getServiceTimeout()serviceToken(String serviceToken) Sets the value ofCfnCustomResourceMixinProps.getServiceToken()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceTimeout
Sets the value ofCfnCustomResourceMixinProps.getServiceTimeout()- Parameters:
serviceTimeout- The maximum time, in seconds, that can elapse before a custom resource operation times out. The value must be an integer from 1 to 3600. The default value is 3600 seconds (1 hour).- Returns:
this
-
serviceToken
Sets the value ofCfnCustomResourceMixinProps.getServiceToken()- Parameters:
serviceToken- The service token, such as an Amazon topic ARN or Lambda function ARN. The service token must be from the same Region as the stack.Updates aren't supported.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomResourceMixinProps>- Returns:
- a new instance of
CfnCustomResourceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-