InstanceArgs

data class InstanceArgs(val addOns: Output<List<InstanceAddOnArgs>>? = null, val availabilityZone: Output<String>? = null, val blueprintId: Output<String>? = null, val bundleId: Output<String>? = null, val hardware: Output<InstanceHardwareArgs>? = null, val instanceName: Output<String>? = null, val keyPairName: Output<String>? = null, val location: Output<InstanceLocationArgs>? = null, val networking: Output<InstanceNetworkingArgs>? = null, val state: Output<InstanceStateArgs>? = null, val tags: Output<List<TagArgs>>? = null, val userData: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Resource Type definition for AWS::Lightsail::Instance

Constructors

Link copied to clipboard
constructor(addOns: Output<List<InstanceAddOnArgs>>? = null, availabilityZone: Output<String>? = null, blueprintId: Output<String>? = null, bundleId: Output<String>? = null, hardware: Output<InstanceHardwareArgs>? = null, instanceName: Output<String>? = null, keyPairName: Output<String>? = null, location: Output<InstanceLocationArgs>? = null, networking: Output<InstanceNetworkingArgs>? = null, state: Output<InstanceStateArgs>? = null, tags: Output<List<TagArgs>>? = null, userData: Output<String>? = null)

Properties

Link copied to clipboard
val addOns: Output<List<InstanceAddOnArgs>>? = null

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

Link copied to clipboard
val availabilityZone: Output<String>? = null

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.

Link copied to clipboard
val blueprintId: Output<String>? = null

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 ).

Link copied to clipboard
val bundleId: Output<String>? = null

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

Link copied to clipboard
val hardware: Output<InstanceHardwareArgs>? = null

The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.

Link copied to clipboard
val instanceName: Output<String>? = null

The names to use for your new Lightsail instance.

Link copied to clipboard
val keyPairName: Output<String>? = null

The name of your key pair.

Link copied to clipboard
val location: Output<InstanceLocationArgs>? = null

The location for the instance, such as the AWS Region and Availability Zone.

Link copied to clipboard
val networking: Output<InstanceNetworkingArgs>? = null

The public ports and the monthly amount of data transfer allocated for the instance.

Link copied to clipboard
val state: Output<InstanceStateArgs>? = null

The status code and the state (for example, running ) of the instance.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An array of key-value pairs to apply to this resource.

Link copied to clipboard
val userData: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs