Class StackAsset

An asset used by a Stack.

Implements
Inherited Members
Namespace: Amazon.CDK.Pipelines
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StackAsset : IStackAsset
Syntax (vb)
Public Class StackAsset Implements IStackAsset
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",
                DisplayName = "displayName"
            };

Synopsis

Constructors

Properties

AssetId

Asset identifier.

AssetManifestPath

Absolute asset manifest path.

AssetPublishingRoleArn

Role ARN to assume to publish.

AssetSelector

Asset selector to pass to cdk-assets.

AssetType

Type of asset to publish.

DisplayName

The display name of this asset.

IsTemplate

Does this asset represent the CloudFormation template for the stack.

Constructors

StackAsset()

An asset used by a Stack.

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",
                DisplayName = "displayName"
            };

Properties

AssetId

Asset identifier.

public string AssetId { get; set; }
Property Value

string

AssetManifestPath

Absolute asset manifest path.

public string AssetManifestPath { get; set; }
Property Value

string

AssetPublishingRoleArn

Role ARN to assume to publish.

public string? AssetPublishingRoleArn { get; set; }
Property Value

string

AssetSelector

Asset selector to pass to cdk-assets.

public string AssetSelector { get; set; }
Property Value

string

AssetType

Type of asset to publish.

public AssetType AssetType { get; set; }
Property Value

AssetType

DisplayName

The display name of this asset.

public string? DisplayName { get; set; }
Property Value

string

IsTemplate

Does this asset represent the CloudFormation template for the stack.

public bool IsTemplate { get; set; }
Property Value

bool

Implements