Class StackAsset
An asset used by a Stack.
Inheritance
Implements
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StackAsset : Object, IStackAsset
Syntax (vb)
Public Class StackAsset
Inherits Object
Implements 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
Constructors
Stack |
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. |
Constructors
StackAsset()
public StackAsset()
Properties
AssetId
Asset identifier.
public string AssetId { get; set; }
Property Value
System.
AssetManifestPath
Absolute asset manifest path.
public string AssetManifestPath { get; set; }
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.
public string AssetPublishingRoleArn { get; set; }
Property Value
System.
Remarks
Default: - No need to assume any role
AssetSelector
Asset selector to pass to cdk-assets
.
public string AssetSelector { get; set; }
Property Value
System.
AssetType
IsTemplate
Does this asset represent the CloudFormation template for the stack.
public bool IsTemplate { get; set; }
Property Value
System.
Remarks
Default: false