interface StackReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.CloudFormation.StackReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awscloudformation#StackReference |
Java | software.amazon.awscdk.interfaces.cloudformation.StackReference |
Python | aws_cdk.interfaces.aws_cloudformation.StackReference |
TypeScript | aws-cdk-lib » interfaces » aws_cloudformation » StackReference |
A reference to a Stack resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudformation as interfaces_aws_cloudformation } from 'aws-cdk-lib/interfaces';
const stackReference: interfaces_aws_cloudformation.StackReference = {
stackId: 'stackId',
};
Properties
| Name | Type | Description |
|---|---|---|
| stack | string | The StackId of the Stack resource. |
stackId
Type:
string
The StackId of the Stack resource.

.NET
Go
Java
Python
TypeScript