interface InstanceReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.OpsWorks.InstanceReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsopsworks#InstanceReference |
Java | software.amazon.awscdk.interfaces.opsworks.InstanceReference |
Python | aws_cdk.interfaces.aws_opsworks.InstanceReference |
TypeScript | aws-cdk-lib » interfaces » aws_opsworks » InstanceReference |
A reference to a Instance 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_opsworks } from 'aws-cdk-lib/interfaces';
const instanceReference: interfaces_opsworks.InstanceReference = {
instanceId: 'instanceId',
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | The Id of the Instance resource. |
instanceId
Type:
string
The Id of the Instance resource.

.NET
Go
Java
Python
TypeScript