AWS::Lightsail::InstanceSnapshotResource Type definition for AWS::Lightsail::InstanceSnapshot
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
InstanceName | string | RequiredCreate-only |
InstanceSnapshotName | string | RequiredCreate-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the snapshot. |
FromInstanceArn | string | The Amazon Resource Name (ARN) of the instance from which the snapshot was created. |
FromInstanceName | string | The instance from which the snapshot was created. |
IsFromAutoSnapshot | boolean | A Boolean value indicating whether the snapshot was created from an automatic snapshot. |
Location | Location | - |
ResourceType | string | The type of resource (usually InstanceSnapshot). |
SizeInGb | integer | The size in GB of the SSD |
State | string | The state the snapshot is in. |
SupportCode | string | Support code to help identify any issues |
A minimal template with required properties and common optional ones.
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: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
lightsail:CreateInstanceSnapshotlightsail:GetInstanceSnapshotlightsail:TagResourcelightsail:GetInstanceSnapshotlightsail:GetInstanceSnapshotlightsail:TagResourcelightsail:UntagResourcelightsail:GetInstanceSnapshotlightsail:DeleteInstanceSnapshotlightsail:GetInstanceSnapshotsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterInstanceSnapshotNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
InstanceSnapshotNameInstanceName