A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.NestedStackSynthesizer.html below:

class NestedStackSynthesizer · AWS CDK

class NestedStackSynthesizer

Implements IStackSynthesizer

Extends StackSynthesizer

Synthesizer for a nested stack.

Forwards all calls to the parent stack's synthesizer.

This synthesizer is automatically used for NestedStack constructs. App builder do not need to use this class directly.

Example


import * as cdk from 'aws-cdk-lib';

declare const stackSynthesizer: cdk.StackSynthesizer;
const nestedStackSynthesizer = new cdk.NestedStackSynthesizer(stackSynthesizer);
Initializer
new NestedStackSynthesizer(parentDeployment: IStackSynthesizer)

Parameters

Properties Name Type Description bootstrapQualifier? string The qualifier used to bootstrap this stack. lookupRole? string The role used to lookup for this stack. bootstrapQualifier?

Type: string (optional)

The qualifier used to bootstrap this stack.

lookupRole?

Type: string (optional)

The role used to lookup for this stack.

Methods Name Description addDockerImageAsset(asset) Register a Docker Image Asset. addFileAsset(asset) 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. addDockerImageAsset(asset)
public addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation

Parameters

Returns

Register a Docker Image Asset.

Returns the parameters that can be used to refer to the asset inside the template.

The synthesizer must rely on some out-of-band mechanism to make sure the given files are actually placed in the returned location before the deployment happens. This can be by writing the instructions to the asset manifest (for use by the cdk-assets tool), by relying on the CLI to upload files (legacy behavior), or some other operator controlled mechanism.

addFileAsset(asset)
public addFileAsset(asset: FileAssetSource): FileAssetLocation

Parameters

Returns

Register a File Asset.

Returns the parameters that can be used to refer to the asset inside the template.

The synthesizer must rely on some out-of-band mechanism to make sure the given files are actually placed in the returned location before the deployment happens. This can be by writing the instructions to the asset manifest (for use by the cdk-assets tool), by relying on the CLI to upload files (legacy behavior), or some other operator controlled mechanism.

bind(stack)
public bind(stack: Stack): void

Parameters

Bind to the stack this environment is going to be used on.

Must be called before any of the other methods are called.

synthesize(session)
public synthesize(session: ISynthesisSession): void

Parameters

Synthesize the associated stack to the session.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4