interface CfnDiskSnapshotProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lightsail.CfnDiskSnapshotProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnDiskSnapshotProps |
Java | software.amazon.awscdk.services.lightsail.CfnDiskSnapshotProps |
Python | aws_cdk.aws_lightsail.CfnDiskSnapshotProps |
TypeScript | aws-cdk-lib » aws_lightsail » CfnDiskSnapshotProps |
Properties for defining a CfnDiskSnapshot.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnDiskSnapshotProps: lightsail.CfnDiskSnapshotProps = {
diskName: 'diskName',
diskSnapshotName: 'diskSnapshotName',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| disk | string | The unique name of the disk. |
| disk | string | The name of the disk snapshot ( my-disk-snapshot ). |
| tags? | Cfn[] | The tag keys and optional values for the resource. |
diskName
Type:
string
The unique name of the disk.
diskSnapshotName
Type:
string
The name of the disk snapshot ( my-disk-snapshot ).
tags?
Type:
Cfn[]
(optional)
The tag keys and optional values for the resource.
For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .

.NET
Go
Java
Python
TypeScript