Interface IStackAsset
An asset used by a Stack.
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStackAsset
Syntax (vb)
Public Interface IStackAsset
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Pipelines;
var stackAsset = new StackAsset {
AssetId = "assetId",
AssetManifestPath = "assetManifestPath",
AssetSelector = "assetSelector",
AssetType = AssetType.FILE,
IsTemplate = false,
// the properties below are optional
AssetPublishingRoleArn = "assetPublishingRoleArn"
};
Synopsis
Properties
Asset |
Asset identifier. |
Asset |
Absolute asset manifest path. |
Asset |
Role ARN to assume to publish. |
Asset |
Asset selector to pass to |
Asset |
Type of asset to publish. |
Is |
Does this asset represent the CloudFormation template for the stack. |
Properties
AssetId
Asset identifier.
string AssetId { get; }
Property Value
System.
AssetManifestPath
Absolute asset manifest path.
string AssetManifestPath { get; }
Property Value
System.
Remarks
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.
AssetPublishingRoleArn
Role ARN to assume to publish.
virtual string AssetPublishingRoleArn { get; }
Property Value
System.
Remarks
Default: - No need to assume any role
AssetSelector
Asset selector to pass to cdk-assets
.
string AssetSelector { get; }
Property Value
System.
AssetType
IsTemplate
Does this asset represent the CloudFormation template for the stack.
bool IsTemplate { get; }
Property Value
System.
Remarks
Default: false