interface DiskReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.Lightsail.DiskReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awslightsail#DiskReference |
Java | software.amazon.awscdk.interfaces.lightsail.DiskReference |
Python | aws_cdk.interfaces.aws_lightsail.DiskReference |
TypeScript | aws-cdk-lib » interfaces » aws_lightsail » DiskReference |
A reference to a Disk 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 diskReference: interfaces_aws_lightsail.DiskReference = {
diskArn: 'diskArn',
diskName: 'diskName',
};
Properties
| Name | Type | Description |
|---|---|---|
| disk | string | The ARN of the Disk resource. |
| disk | string | The DiskName of the Disk resource. |
diskArn
Type:
string
The ARN of the Disk resource.
diskName
Type:
string
The DiskName of the Disk resource.

.NET
Go
Java
Python
TypeScript