AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Lightsail::InstanceSnapshot

CfnInstanceSnapshot

Describes an instance snapshot.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnInstanceSnapshotProps.

instanceNameRequired
string

The name the user gave the instance ( `Amazon_Linux_2023-1` ).

instanceSnapshotNameRequired
string

The name of the 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