---
type: resource-type
title: Disk
description: aws resource type AWS::Lightsail::Disk
name: Disk
lexicon: aws
resource_type: AWS::Lightsail::Disk
---
`AWS::Lightsail::Disk`, a resource type of the aws lexicon.

## Properties

- `DiskName` (`string`, required): The names to use for your new Lightsail disk.
- `SizeInGb` (`number`, required): Size of the Lightsail disk
- `AddOns` (`Disk_AddOn[]`, optional): An array of objects representing the add-ons to enable for the new instance.
- `AttachedTo` (`string`, optional): Name of the attached Lightsail Instance
- `AttachmentState` (`string`, optional): Attachment State of the Lightsail disk
- `AvailabilityZone` (`string`, optional): The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- `DiskArn` (`string`, optional)
- `Iops` (`number`, optional): Iops of the Lightsail disk
- `IsAttached` (`boolean`, optional): Check is Disk is attached state
- `Location` (`Disk_Location`, optional)
- `Path` (`string`, optional): Path of the attached Disk
- `ResourceType` (`string`, optional): Resource type of Lightsail instance.
- `State` (`string`, optional): State of the Lightsail disk
- `SupportCode` (`string`, optional): Support code to help identify any issues
- `Tags` (`Disk_Tag[]`, optional): An array of key-value pairs to apply to this resource.

## Attributes

- `AttachedTo`
- `AttachmentState`
- `DiskArn`
- `Iops`
- `IsAttached`
- `Location.AvailabilityZone`
- `Location.RegionName`
- `Path`
- `ResourceType`
- `State`
- `SupportCode`
