Class StackAsset
An asset used by a Stack.
Inheritance
System.Object
StackAsset
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
StackAsset() |
Properties
AssetId | Asset identifier. |
AssetManifestPath | Absolute asset manifest path. |
AssetPublishingRoleArn | Role ARN to assume to publish. |
AssetSelector | Asset selector to pass to |
AssetType | Type of asset to publish. |
IsTemplate | 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.String
AssetManifestPath
Absolute asset manifest path.
public string AssetManifestPath { get; set; }
Property Value
System.String
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.String
Remarks
Default: - No need to assume any role
AssetSelector
Asset selector to pass to cdk-assets
.
public string AssetSelector { get; set; }
Property Value
System.String
AssetType
IsTemplate
Does this asset represent the CloudFormation template for the stack.
public bool IsTemplate { get; set; }
Property Value
System.Boolean
Remarks
Default: false