interface StackAsset
Language | Type name |
---|---|
![]() | Amazon.CDK.Pipelines.StackAsset |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/pipelines#StackAsset |
![]() | software.amazon.awscdk.pipelines.StackAsset |
![]() | aws_cdk.pipelines.StackAsset |
![]() | aws-cdk-lib » pipelines » StackAsset |
An asset used by a Stack.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { pipelines } from 'aws-cdk-lib';
const stackAsset: pipelines.StackAsset = {
assetId: 'assetId',
assetManifestPath: 'assetManifestPath',
assetSelector: 'assetSelector',
assetType: pipelines.AssetType.FILE,
isTemplate: false,
// the properties below are optional
assetPublishingRoleArn: 'assetPublishingRoleArn',
};
Properties
Name | Type | Description |
---|---|---|
asset | string | Asset identifier. |
asset | string | Absolute asset manifest path. |
asset | string | Asset selector to pass to cdk-assets . |
asset | Asset | Type of asset to publish. |
is | boolean | Does this asset represent the CloudFormation template for the stack. |
asset | string | Role ARN to assume to publish. |
assetId
Type:
string
Asset identifier.
assetManifestPath
Type:
string
Absolute asset manifest path.
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.
assetSelector
Type:
string
Asset selector to pass to cdk-assets
.
assetType
Type:
Asset
Type of asset to publish.
isTemplate
Type:
boolean
Does this asset represent the CloudFormation template for the stack.
assetPublishingRoleArn?
Type:
string
(optional, default: No need to assume any role)
Role ARN to assume to publish.