Package software.amazon.awscdk.core
Class CfnCustomResourceProps.Builder
java.lang.Object
software.amazon.awscdk.core.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
-
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
-
This parameter is required. All other properties are defined by the service provider.Only one property is defined by AWS for a custom resource:
ServiceToken
.The service token that was given to the template developer by the service provider to access the service, such as an Amazon SNS topic ARN or Lambda function ARN. The service token must be from the same Region in which you are creating 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
-