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

## Properties

- `BlueprintId` (`string`, required): The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ). Use the get blueprints operation to return a list of available images (or blueprints ).
- `BundleId` (`string`, required): The bundle of specification information for your virtual private server (or instance ), including the pricing plan (e.g., micro_1_0 ).
- `InstanceName` (`string`, required): The names to use for your new Lightsail instance.
- `AddOns` (`LightsailInstance_AddOn[]`, optional): An array of objects representing the add-ons to enable for the new instance.
- `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.
- `Hardware` (`LightsailInstance_Hardware`, optional)
- `InstanceArn` (`string`, optional)
- `Ipv6Addresses` (`string[]`, optional): IPv6 addresses of the instance
- `IsStaticIp` (`boolean`, optional): Is the IP Address of the Instance is the static IP
- `KeyPairName` (`string`, optional): The name of your key pair.
- `Location` (`LightsailInstance_Location`, optional)
- `Networking` (`LightsailInstance_Networking`, optional)
- `PrivateIpAddress` (`string`, optional): Private IP Address of the Instance
- `PublicIpAddress` (`string`, optional): Public IP Address of the Instance
- `ResourceType` (`string`, optional): Resource type of Lightsail instance.
- `SshKeyName` (`string`, optional): SSH Key Name of the Lightsail instance.
- `State` (`LightsailInstance_State`, optional)
- `SupportCode` (`string`, optional): Support code to help identify any issues
- `Tags` (`LightsailInstance_Tag[]`, optional): An array of key-value pairs to apply to this resource.
- `UserData` (`string`, optional): A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.
- `UserName` (`string`, optional): Username of the Lightsail instance.

## Attributes

- `Hardware.CpuCount`
- `Hardware.RamSizeInGb`
- `InstanceArn`
- `Ipv6Addresses`
- `IsStaticIp`
- `Location.AvailabilityZone`
- `Location.RegionName`
- `Networking.MonthlyTransfer.GbPerMonthAllocated`
- `PrivateIpAddress`
- `PublicIpAddress`
- `ResourceType`
- `SshKeyName`
- `State.Code`
- `State.Name`
- `SupportCode`
- `UserName`
