Builder

class Builder

Properties

Link copied to clipboard

An array of objects representing the add-ons to enable for the new instance.

Link copied to clipboard

The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Link copied to clipboard

The ID for a virtual private server image (app_wordpress_x_x or app_lamp_x_x). Use the get blueprints operation to return a list of available images (or blueprints).

Link copied to clipboard

The bundle of specification information for your virtual private server (or instance), including the pricing plan (medium_x_x).

Link copied to clipboard

(Discontinued) The name for your custom image.

Link copied to clipboard

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Link copied to clipboard

The IP address type for the instance.

Link copied to clipboard

The name of your key pair.

Link copied to clipboard
var tags: List<Tag>?

The tag keys and optional values to add to the resource during create.

Link copied to clipboard

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.