StackReference

class aws_cdk.StackReference(*, stack_id)

Bases: object

A reference to a Stack resource.

Parameters:

stack_id (str) – The StackId of the Stack resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

stack_reference = cdk.StackReference(
    stack_id="stackId"
)

Attributes

stack_id

The StackId of the Stack resource.