interface IInstanceRef
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.IInstanceRef |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#IInstanceRef |
Java | software.amazon.awscdk.services.ec2.IInstanceRef |
Python | aws_cdk.aws_ec2.IInstanceRef |
TypeScript | aws-cdk-lib » aws_ec2 » IInstanceRef |
Implemented by
Bastion, Cfn, Instance
Obtainable from
Cfn.fromInstanceId()
Indicates that this resource can be referenced as a Instance.
Properties
| Name | Type | Description |
|---|---|---|
| instance | Instance | A reference to a Instance resource. |
| node | Node | The tree node. |
instanceRef
Type:
Instance
A reference to a Instance resource.
node
Type:
Node
The tree node.

.NET
Go
Java
Python
TypeScript