Package software.amazon.awscdk
Class CfnCustomResourceProps.Builder
java.lang.Object
software.amazon.awscdk.CfnCustomResourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomResourceProps>
- Enclosing interface:
CfnCustomResourceProps
@Stability(Stable)
public static final class CfnCustomResourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomResourceProps>
A builder for
CfnCustomResourceProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.serviceToken
(String serviceToken) Sets the value ofCfnCustomResourceProps.getServiceToken()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceToken
Sets the value ofCfnCustomResourceProps.getServiceToken()
- Parameters:
serviceToken
- The service token, such as an Amazon SNS topic ARN or Lambda function ARN. This parameter is required. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomResourceProps>
- Returns:
- a new instance of
CfnCustomResourceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-