interface InstanceReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.Lightsail.InstanceReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awslightsail#InstanceReference |
Java | software.amazon.awscdk.interfaces.lightsail.InstanceReference |
Python | aws_cdk.interfaces.aws_lightsail.InstanceReference |
TypeScript | aws-cdk-lib » interfaces » aws_lightsail » 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_lightsail as interfaces_aws_lightsail } from 'aws-cdk-lib/interfaces';
const instanceReference: interfaces_aws_lightsail.InstanceReference = {
instanceArn: 'instanceArn',
instanceName: 'instanceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | The ARN of the Instance resource. |
| instance | string | The InstanceName of the Instance resource. |
instanceArn
Type:
string
The ARN of the Instance resource.
instanceName
Type:
string
The InstanceName of the Instance resource.

.NET
Go
Java
Python
TypeScript