Skip to content
v2.274.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_lightsail as interfaces_lightsail } from 'aws-cdk-lib/interfaces';
const instanceReference: interfaces_lightsail.InstanceReference = {
  instanceArn: 'instanceArn',
  instanceName: 'instanceName',
};

Properties ​

instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*stringrequired#
The ARN of the Instance resource.
instanceNamestringinstance_namestrinstanceNameStringInstanceNamestringInstanceName*stringrequired#
The InstanceName of the Instance resource.