Package software.amazon.awscdk
Class CfnCustomResource.Builder
java.lang.Object
software.amazon.awscdk.CfnCustomResource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomResource>
- Enclosing class:
CfnCustomResource
@Stability(Stable)
public static final class CfnCustomResource.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomResource>
A fluent builder for
CfnCustomResource
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnCustomResource.Builder
serviceToken
(String serviceToken) The service token, such as an Amazon SNS topic ARN or Lambda function ARN.
-
Method Details
-
create
@Stability(Stable) public static CfnCustomResource.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCustomResource.Builder
.
-
serviceToken
The service token, such as an Amazon SNS topic ARN or Lambda function ARN.The service token must be from the same Region as the stack.
Updates aren't supported.
- Parameters:
serviceToken
- The service token, such as an Amazon SNS topic ARN or Lambda function ARN. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomResource>
- Returns:
- a newly built instance of
CfnCustomResource
.
-