Class DefaultStagingStack
(experimental) A default Staging Stack that implements IStagingResources.
Inherited Members
Namespace: Amazon.CDK.AppStagingSynthesizer.Alpha
Assembly: Amazon.CDK.AppStagingSynthesizer.Alpha.dll
Syntax (csharp)
public class DefaultStagingStack : Stack, ITaggable, IStagingResources
Syntax (vb)
Public Class DefaultStagingStack
Inherits Stack
Implements ITaggable, IStagingResources
Remarks
Stability: Experimental
Examples
using Amazon.CDK.AWS.S3;
var defaultStagingStack = DefaultStagingStack.Factory(new DefaultStagingStackOptions { AppId = "my-app-id", StagingBucketEncryption = BucketEncryption.S3_MANAGED });
Synopsis
Constructors
DefaultStagingStack(App, String, IDefaultStagingStackProps) | |
DefaultStagingStack(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
DefaultStagingStack(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
DependencyStack | (experimental) The stack to add dependencies to. |
StagingBucket | (experimental) The app-scoped, evironment-keyed staging bucket. |
StagingRepos | (experimental) The app-scoped, environment-keyed ecr repositories associated with this app. |
Methods
AddDockerImage(IDockerImageAssetSource) | (experimental) Return staging resource information for a docker asset. |
AddFile(IFileAssetSource) | (experimental) Return staging resource information for a file asset. |
Factory(IDefaultStagingStackOptions) | (experimental) Return a factory that will create DefaultStagingStacks. |
Constructors
DefaultStagingStack(App, String, IDefaultStagingStackProps)
public DefaultStagingStack(App scope, string id, IDefaultStagingStackProps props)
Parameters
- scope App
- id System.String
- props IDefaultStagingStackProps
Remarks
Stability: Experimental
DefaultStagingStack(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DefaultStagingStack(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
DefaultStagingStack(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DefaultStagingStack(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
DependencyStack
(experimental) The stack to add dependencies to.
public virtual Stack DependencyStack { get; }
Property Value
Remarks
Stability: Experimental
StagingBucket
(experimental) The app-scoped, evironment-keyed staging bucket.
public virtual Bucket StagingBucket { get; }
Property Value
Remarks
Stability: Experimental
StagingRepos
(experimental) The app-scoped, environment-keyed ecr repositories associated with this app.
public virtual IDictionary<string, Repository> StagingRepos { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, Repository>
Remarks
Stability: Experimental
Methods
AddDockerImage(IDockerImageAssetSource)
(experimental) Return staging resource information for a docker asset.
public virtual IImageStagingLocation AddDockerImage(IDockerImageAssetSource asset)
Parameters
- asset IDockerImageAssetSource
Returns
Remarks
Stability: Experimental
AddFile(IFileAssetSource)
(experimental) Return staging resource information for a file asset.
public virtual IFileStagingLocation AddFile(IFileAssetSource asset)
Parameters
- asset IFileAssetSource
Returns
Remarks
Stability: Experimental
Factory(IDefaultStagingStackOptions)
(experimental) Return a factory that will create DefaultStagingStacks.
public static IStagingResourcesFactory Factory(IDefaultStagingStackOptions options)
Parameters
- options IDefaultStagingStackOptions
Returns
Remarks
Stability: Experimental