AWS Native v0.63.0, May 25 23
AWS Native v0.63.0, May 25 23
aws-native.lightsail.Disk
Explore with Pulumi AI
Resource Type definition for AWS::Lightsail::Disk
Create Disk Resource
new Disk(name: string, args: DiskArgs, opts?: CustomResourceOptions);
@overload
def Disk(resource_name: str,
opts: Optional[ResourceOptions] = None,
add_ons: Optional[Sequence[DiskAddOnArgs]] = None,
availability_zone: Optional[str] = None,
disk_name: Optional[str] = None,
location: Optional[DiskLocationArgs] = None,
size_in_gb: Optional[int] = None,
tags: Optional[Sequence[DiskTagArgs]] = None)
@overload
def Disk(resource_name: str,
args: DiskArgs,
opts: Optional[ResourceOptions] = None)
func NewDisk(ctx *Context, name string, args DiskArgs, opts ...ResourceOption) (*Disk, error)
public Disk(string name, DiskArgs args, CustomResourceOptions? opts = null)
type: aws-native:lightsail:Disk
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DiskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DiskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DiskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Disk Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Disk resource accepts the following input properties:
- Size
In intGb Size of the Lightsail disk
- Add
Ons List<Pulumi.Aws Native. Lightsail. Inputs. Disk Add On Args> An array of objects representing the add-ons to enable for the new instance.
- Availability
Zone string 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.
- Disk
Name string The names to use for your new Lightsail disk.
- Location
Pulumi.
Aws Native. Lightsail. Inputs. Disk Location Args - List<Pulumi.
Aws Native. Lightsail. Inputs. Disk Tag Args> An array of key-value pairs to apply to this resource.
- Size
In intGb Size of the Lightsail disk
- Add
Ons []DiskAdd On Args An array of objects representing the add-ons to enable for the new instance.
- Availability
Zone string 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.
- Disk
Name string The names to use for your new Lightsail disk.
- Location
Disk
Location Args - []Disk
Tag Args An array of key-value pairs to apply to this resource.
- size
In IntegerGb Size of the Lightsail disk
- add
Ons List<DiskAdd On Args> An array of objects representing the add-ons to enable for the new instance.
- availability
Zone String 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.
- disk
Name String The names to use for your new Lightsail disk.
- location
Disk
Location Args - List<Disk
Tag Args> An array of key-value pairs to apply to this resource.
- size
In numberGb Size of the Lightsail disk
- add
Ons DiskAdd On Args[] An array of objects representing the add-ons to enable for the new instance.
- availability
Zone string 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.
- disk
Name string The names to use for your new Lightsail disk.
- location
Disk
Location Args - Disk
Tag Args[] An array of key-value pairs to apply to this resource.
- size_
in_ intgb Size of the Lightsail disk
- add_
ons Sequence[DiskAdd On Args] An array of objects representing the add-ons to enable for the new instance.
- availability_
zone str 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.
- disk_
name str The names to use for your new Lightsail disk.
- location
Disk
Location Args - Sequence[Disk
Tag Args] An array of key-value pairs to apply to this resource.
- size
In NumberGb Size of the Lightsail disk
- add
Ons List<Property Map> An array of objects representing the add-ons to enable for the new instance.
- availability
Zone String 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.
- disk
Name String The names to use for your new Lightsail disk.
- location Property Map
- List<Property Map>
An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Disk resource produces the following output properties:
- Attached
To string Name of the attached Lightsail Instance
- Attachment
State string Attachment State of the Lightsail disk
- Disk
Arn string - Id string
The provider-assigned unique ID for this managed resource.
- Iops int
Iops of the Lightsail disk
- Is
Attached bool Check is Disk is attached state
- Path string
Path of the attached Disk
- Resource
Type string Resource type of Lightsail instance.
- State string
State of the Lightsail disk
- Support
Code string Support code to help identify any issues
- Attached
To string Name of the attached Lightsail Instance
- Attachment
State string Attachment State of the Lightsail disk
- Disk
Arn string - Id string
The provider-assigned unique ID for this managed resource.
- Iops int
Iops of the Lightsail disk
- Is
Attached bool Check is Disk is attached state
- Path string
Path of the attached Disk
- Resource
Type string Resource type of Lightsail instance.
- State string
State of the Lightsail disk
- Support
Code string Support code to help identify any issues
- attached
To String Name of the attached Lightsail Instance
- attachment
State String Attachment State of the Lightsail disk
- disk
Arn String - id String
The provider-assigned unique ID for this managed resource.
- iops Integer
Iops of the Lightsail disk
- is
Attached Boolean Check is Disk is attached state
- path String
Path of the attached Disk
- resource
Type String Resource type of Lightsail instance.
- state String
State of the Lightsail disk
- support
Code String Support code to help identify any issues
- attached
To string Name of the attached Lightsail Instance
- attachment
State string Attachment State of the Lightsail disk
- disk
Arn string - id string
The provider-assigned unique ID for this managed resource.
- iops number
Iops of the Lightsail disk
- is
Attached boolean Check is Disk is attached state
- path string
Path of the attached Disk
- resource
Type string Resource type of Lightsail instance.
- state string
State of the Lightsail disk
- support
Code string Support code to help identify any issues
- attached_
to str Name of the attached Lightsail Instance
- attachment_
state str Attachment State of the Lightsail disk
- disk_
arn str - id str
The provider-assigned unique ID for this managed resource.
- iops int
Iops of the Lightsail disk
- is_
attached bool Check is Disk is attached state
- path str
Path of the attached Disk
- resource_
type str Resource type of Lightsail instance.
- state str
State of the Lightsail disk
- support_
code str Support code to help identify any issues
- attached
To String Name of the attached Lightsail Instance
- attachment
State String Attachment State of the Lightsail disk
- disk
Arn String - id String
The provider-assigned unique ID for this managed resource.
- iops Number
Iops of the Lightsail disk
- is
Attached Boolean Check is Disk is attached state
- path String
Path of the attached Disk
- resource
Type String Resource type of Lightsail instance.
- state String
State of the Lightsail disk
- support
Code String Support code to help identify any issues
Supporting Types
DiskAddOn
- Add
On stringType The add-on type
- Auto
Snapshot Pulumi.Add On Request Aws Native. Lightsail. Inputs. Disk Auto Snapshot Add On - Status
Pulumi.
Aws Native. Lightsail. Disk Add On Status Status of the Addon
- Add
On stringType The add-on type
- Auto
Snapshot DiskAdd On Request Auto Snapshot Add On - Status
Disk
Add On Status Status of the Addon
- add
On StringType The add-on type
- auto
Snapshot DiskAdd On Request Auto Snapshot Add On - status
Disk
Add On Status Status of the Addon
- add
On stringType The add-on type
- auto
Snapshot DiskAdd On Request Auto Snapshot Add On - status
Disk
Add On Status Status of the Addon
- add_
on_ strtype The add-on type
- auto_
snapshot_ Diskadd_ on_ request Auto Snapshot Add On - status
Disk
Add On Status Status of the Addon
- add
On StringType The add-on type
- auto
Snapshot Property MapAdd On Request - status "Enabling" | "Disabling" | "Enabled" | "Terminating" | "Terminated" | "Disabled" | "Failed"
Status of the Addon
DiskAddOnStatus
- Enabling
- Enabling
- Disabling
- Disabling
- Enabled
- Enabled
- Terminating
- Terminating
- Terminated
- Terminated
- Disabled
- Disabled
- Failed
- Failed
- Disk
Add On Status Enabling - Enabling
- Disk
Add On Status Disabling - Disabling
- Disk
Add On Status Enabled - Enabled
- Disk
Add On Status Terminating - Terminating
- Disk
Add On Status Terminated - Terminated
- Disk
Add On Status Disabled - Disabled
- Disk
Add On Status Failed - Failed
- Enabling
- Enabling
- Disabling
- Disabling
- Enabled
- Enabled
- Terminating
- Terminating
- Terminated
- Terminated
- Disabled
- Disabled
- Failed
- Failed
- Enabling
- Enabling
- Disabling
- Disabling
- Enabled
- Enabled
- Terminating
- Terminating
- Terminated
- Terminated
- Disabled
- Disabled
- Failed
- Failed
- ENABLING
- Enabling
- DISABLING
- Disabling
- ENABLED
- Enabled
- TERMINATING
- Terminating
- TERMINATED
- Terminated
- DISABLED
- Disabled
- FAILED
- Failed
- "Enabling"
- Enabling
- "Disabling"
- Disabling
- "Enabled"
- Enabled
- "Terminating"
- Terminating
- "Terminated"
- Terminated
- "Disabled"
- Disabled
- "Failed"
- Failed
DiskAutoSnapshotAddOn
- Snapshot
Time stringOf Day The daily time when an automatic snapshot will be created.
- Snapshot
Time stringOf Day The daily time when an automatic snapshot will be created.
- snapshot
Time StringOf Day The daily time when an automatic snapshot will be created.
- snapshot
Time stringOf Day The daily time when an automatic snapshot will be created.
- snapshot_
time_ strof_ day The daily time when an automatic snapshot will be created.
- snapshot
Time StringOf Day The daily time when an automatic snapshot will be created.
DiskLocation
- Availability
Zone string The Availability Zone in which to create your disk. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- Region
Name string The Region Name in which to create your disk.
- Availability
Zone string The Availability Zone in which to create your disk. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- Region
Name string The Region Name in which to create your disk.
- availability
Zone String The Availability Zone in which to create your disk. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- region
Name String The Region Name in which to create your disk.
- availability
Zone string The Availability Zone in which to create your disk. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- region
Name string The Region Name in which to create your disk.
- availability_
zone str The Availability Zone in which to create your disk. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- region_
name str The Region Name in which to create your disk.
- availability
Zone String The Availability Zone in which to create your disk. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- region
Name String The Region Name in which to create your disk.
DiskTag
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0