AWS Fundamentals Logo
AWS Fundamentals
AWS::Lightsail::InstanceSnapshot

Lightsail InstanceSnapshot

Resource Type definition for AWS::Lightsail::InstanceSnapshot

Properties

3 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
InstanceName
string
RequiredCreate-only
InstanceSnapshotName
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the snapshot.
FromInstanceArnstringThe Amazon Resource Name (ARN) of the instance from which the snapshot was created.
FromInstanceNamestringThe instance from which the snapshot was created.
IsFromAutoSnapshotbooleanA Boolean value indicating whether the snapshot was created from an automatic snapshot.
LocationLocation-
ResourceTypestringThe type of resource (usually InstanceSnapshot).
SizeInGbintegerThe size in GB of the SSD
StatestringThe state the snapshot is in.
SupportCodestringSupport code to help identify any issues

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lightsail::InstanceSnapshot

Resources:
  MyResource:
    Type: AWS::Lightsail::InstanceSnapshot
    Properties:
      InstanceSnapshotName: "my-instancesnapshotname"
      InstanceName: "my-instancename"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

lightsail:CreateInstanceSnapshotlightsail:GetInstanceSnapshotlightsail:TagResource

read

lightsail:GetInstanceSnapshot

update

lightsail:GetInstanceSnapshotlightsail:TagResourcelightsail:UntagResource

delete

lightsail:GetInstanceSnapshotlightsail:DeleteInstanceSnapshot

list

lightsail:GetInstanceSnapshots

Learn AWS the Practical Way

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

Subscribe to Newsletter

Quick Facts

ServiceLightsail
Properties12
Required2
TaggingSupported
Primary IDInstanceSnapshotName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

InstanceSnapshotNameInstanceName

External Links