Class CfnCustomResource.Builder
java.lang.Object
software.amazon.awscdk.services.cloudformation.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)
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnCustomResource.Builder
.
-
serviceToken
Only one property is defined by AWS for a custom resource:
ServiceToken
.All other properties are defined by the service provider.
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.
- Parameters:
serviceToken
-
This parameter is required.Only one property is defined by AWS for a custom resource:
ServiceToken
.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomResource>
- Returns:
- a newly built instance of
CfnCustomResource
.
-