public static final class StackDeploymentProps.Builder
extends java.lang.Object
StackDeploymentProps
Constructor and Description |
---|
Builder() |
public StackDeploymentProps.Builder absoluteTemplatePath(java.lang.String absoluteTemplatePath)
StackDeploymentProps.getAbsoluteTemplatePath()
absoluteTemplatePath
- Template path on disk to cloud assembly (cdk.out). This parameter is required.this
public StackDeploymentProps.Builder constructPath(java.lang.String constructPath)
StackDeploymentProps.getConstructPath()
constructPath
- Construct path for this stack. This parameter is required.this
public StackDeploymentProps.Builder stackArtifactId(java.lang.String stackArtifactId)
StackDeploymentProps.getStackArtifactId()
stackArtifactId
- Artifact ID for this stack. This parameter is required.this
public StackDeploymentProps.Builder stackName(java.lang.String stackName)
StackDeploymentProps.getStackName()
stackName
- Name for this stack. This parameter is required.this
public StackDeploymentProps.Builder account(java.lang.String account)
StackDeploymentProps.getAccount()
account
- Account where the stack should be deployed.this
public StackDeploymentProps.Builder assets(java.util.List<? extends StackAsset> assets)
StackDeploymentProps.getAssets()
assets
- Assets referenced by this stack.this
public StackDeploymentProps.Builder assumeRoleArn(java.lang.String assumeRoleArn)
StackDeploymentProps.getAssumeRoleArn()
assumeRoleArn
- Role to assume before deploying this stack.this
public StackDeploymentProps.Builder executionRoleArn(java.lang.String executionRoleArn)
StackDeploymentProps.getExecutionRoleArn()
executionRoleArn
- Execution role to pass to CloudFormation.this
public StackDeploymentProps.Builder region(java.lang.String region)
StackDeploymentProps.getRegion()
region
- Region where the stack should be deployed.this
public StackDeploymentProps.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
StackDeploymentProps.getTags()
tags
- Tags to apply to the stack.this
public StackDeploymentProps.Builder templateS3Uri(java.lang.String templateS3Uri)
StackDeploymentProps.getTemplateS3Uri()
templateS3Uri
- The S3 URL which points to the template asset location in the publishing bucket.this
public StackDeploymentProps build()
StackDeploymentProps
java.lang.NullPointerException
- if any required attribute was not provided