interface StackReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.OpsWorks.StackReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsopsworks#StackReference |
Java | software.amazon.awscdk.interfaces.opsworks.StackReference |
Python | aws_cdk.interfaces.aws_opsworks.StackReference |
TypeScript | aws-cdk-lib » interfaces » aws_opsworks » 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_opsworks as interfaces_aws_opsworks } from 'aws-cdk-lib/interfaces';
const stackReference: interfaces_aws_opsworks.StackReference = {
stackId: 'stackId',
};
Properties
| Name | Type | Description |
|---|---|---|
| stack | string | The Id of the Stack resource. |
stackId
Type:
string
The Id of the Stack resource.

.NET
Go
Java
Python
TypeScript