interface IBoundStackSynthesizer
Language | Type name |
---|---|
.NET | Amazon.CDK.IBoundStackSynthesizer |
Go | github.com/aws/aws-cdk-go/awscdk/v2#IBoundStackSynthesizer |
Java | software.amazon.awscdk.IBoundStackSynthesizer |
Python | aws_cdk.IBoundStackSynthesizer |
TypeScript (source) | aws-cdk-lib » IBoundStackSynthesizer |
Implemented by
Bootstrapless
, Cli
, Default
, Legacy
Obtainable from
App
.reusableBind()
, Cli
.reusableBind()
, Default
.reusableBind()
, Legacy
.reusableBind()
A Stack Synthesizer, obtained from IReusableStackSynthesizer.
.
Just a type alias with a very concrete contract.
Properties
Name | Type | Description |
---|---|---|
bootstrap | string | The qualifier used to bootstrap this stack. |
lookup | string | The role used to lookup for this stack. |
bootstrapQualifier?
Type:
string
(optional, default: no qualifier)
The qualifier used to bootstrap this stack.
lookupRole?
Type:
string
(optional, default: no role)
The role used to lookup for this stack.
Methods
Name | Description |
---|---|
add | Register a Docker Image Asset. |
add | Register a File Asset. |
bind(stack) | Bind to the stack this environment is going to be used on. |
synthesize(session) | Synthesize the associated stack to the session. |
DockerImageAsset(asset)
addpublic addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation
Parameters
- asset
Docker
Image Asset Source
Returns
Register a Docker Image Asset.
Returns the parameters that can be used to refer to the asset inside the template.
FileAsset(asset)
addpublic addFileAsset(asset: FileAssetSource): FileAssetLocation
Parameters
- asset
File
Asset Source
Returns
Register a File Asset.
Returns the parameters that can be used to refer to the asset inside the template.
bind(stack)
public bind(stack: Stack): void
Parameters
- stack
Stack
Bind to the stack this environment is going to be used on.
Must be called before any of the other methods are called, and can only be called once.
synthesize(session)
public synthesize(session: ISynthesisSession): void
Parameters
- session
ISynthesis
Session
Synthesize the associated stack to the session.