@Stability(value=Stable) public static final class StackAsset.Builder extends Object implements software.amazon.jsii.Builder<StackAsset>
StackAsset| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StackAsset.Builder |
assetId(String assetId)
Sets the value of
StackAsset.getAssetId() |
StackAsset.Builder |
assetManifestPath(String assetManifestPath)
Sets the value of
StackAsset.getAssetManifestPath() |
StackAsset.Builder |
assetPublishingRoleArn(String assetPublishingRoleArn)
Sets the value of
StackAsset.getAssetPublishingRoleArn() |
StackAsset.Builder |
assetSelector(String assetSelector)
Sets the value of
StackAsset.getAssetSelector() |
StackAsset.Builder |
assetType(AssetType assetType)
Sets the value of
StackAsset.getAssetType() |
StackAsset |
build()
Builds the configured instance.
|
StackAsset.Builder |
isTemplate(Boolean isTemplate)
Sets the value of
StackAsset.getIsTemplate() |
@Stability(value=Stable) public StackAsset.Builder assetId(String assetId)
StackAsset.getAssetId()assetId - Asset identifier. This parameter is required.this@Stability(value=Stable) public StackAsset.Builder assetManifestPath(String assetManifestPath)
StackAsset.getAssetManifestPath()assetManifestPath - Absolute asset manifest path. This parameter is required.
This needs to be made relative at a later point in time, but when this
information is parsed we don't know about the root cloud assembly yet.this@Stability(value=Stable) public StackAsset.Builder assetSelector(String assetSelector)
StackAsset.getAssetSelector()assetSelector - Asset selector to pass to `cdk-assets`. This parameter is required.this@Stability(value=Stable) public StackAsset.Builder assetType(AssetType assetType)
StackAsset.getAssetType()assetType - Type of asset to publish. This parameter is required.this@Stability(value=Stable) public StackAsset.Builder isTemplate(Boolean isTemplate)
StackAsset.getIsTemplate()isTemplate - Does this asset represent the CloudFormation template for the stack. This parameter is required.this@Stability(value=Stable) public StackAsset.Builder assetPublishingRoleArn(String assetPublishingRoleArn)
StackAsset.getAssetPublishingRoleArn()assetPublishingRoleArn - Role ARN to assume to publish.this@Stability(value=Stable) public StackAsset build()
build in interface software.amazon.jsii.Builder<StackAsset>StackAssetNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.