AWS::Lightsail::Instance Hardware - AWS CloudFormation

AWS::Lightsail::Instance Hardware

Hardware is a property of the AWS::Lightsail::Instance resource. It describes the hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "CpuCount" : Integer, "Disks" : [ Disk, ... ], "RamSizeInGb" : Integer }

YAML

CpuCount: Integer Disks: - Disk RamSizeInGb: Integer

Properties

CpuCount

The number of vCPUs the instance has.

Note

The CpuCount property is read-only and should not be specified in a create instance or update instance request.

Required: No

Type: Integer

Update requires: Updates are not supported.

Disks

The disks attached to the instance.

The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.

Required: No

Type: Array of Disk

Update requires: Some interruptions

RamSizeInGb

The amount of RAM in GB on the instance (for example, 1.0).

Note

The RamSizeInGb property is read-only and should not be specified in a create instance or update instance request.

Required: No

Type: Integer

Update requires: Updates are not supported.