AWS::Lightsail::DiskSnapshotResource Type definition for AWS::Lightsail::DiskSnapshot
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DiskName | string | RequiredCreate-only |
DiskSnapshotName | string | RequiredCreate-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | The timestamp when the disk snapshot was created. |
DiskSnapshotArn | string | The Amazon Resource Name (ARN) of the disk snapshot. |
FromDiskName | string | The name of the source disk from which the disk snapshot was created. |
IsFromAutoSnapshot | boolean | A Boolean value indicating whether the snapshot was created from an automatic snapshot. |
Location | object | The AWS Region and Availability Zone where the disk snapshot was created. |
Progress | string | The progress of the disk snapshot creation operation. |
ResourceType | string | The Lightsail resource type (DiskSnapshot). |
SizeInGb | integer | The size of the disk snapshot in GB. |
State | string | The status of the disk snapshot operation. |
SupportCode | string | The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lightsail::DiskSnapshot
Resources:
MyResource:
Type: AWS::Lightsail::DiskSnapshot
Properties:
DiskSnapshotName: "my-disksnapshotname"
DiskName: "my-diskname"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
lightsail:CreateDiskSnapshotlightsail:GetDiskSnapshotlightsail:TagResourcelightsail:GetDiskSnapshotlightsail:GetDiskSnapshotlightsail:TagResourcelightsail:UntagResourcelightsail:DeleteDiskSnapshotlightsail:GetDiskSnapshotlightsail:GetDiskSnapshotsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterDiskSnapshotNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
DiskSnapshotNameDiskName