AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Lightsail::DiskSnapshot

CfnDiskSnapshot

Describes a block storage disk snapshot.

Import

import { CfnDiskSnapshot } from 'aws-cdk-lib/aws-lightsail';

Or use the module namespace:

import * as lightsail from 'aws-cdk-lib/aws-lightsail';
// lightsail.CfnDiskSnapshot

Properties

Configuration passed to the constructor as CfnDiskSnapshotProps.

diskNameRequired
string

The unique name of the disk.

diskSnapshotNameRequired
string

The name of the disk snapshot ( `my-disk-snapshot` ).

tagsOptional
CfnTag[]

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the [Amazon Lightsail Developer Guide](https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter