Skip to content
v2.275.0

InstanceReference Struct ​

A reference to a Instance resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const instanceReference: interfaces_ec2.InstanceReference = {
  instanceId: 'instanceId',
};

Properties ​

instanceIdstringinstance_idstrinstanceIdStringInstanceIdstringInstanceId*stringrequired#
The InstanceId of the Instance resource.