InstanceArgs class

The set of arguments for Instance. The set of arguments for Instance.

Constructors

InstanceArgs({Input<InstanceAddOn?>? addOn, required Input<String> availabilityZone, required Input<String> blueprintId, required Input<String> bundleId, Input<String?>? ipAddressType, Input<String?>? keyPairName, Input<String?>? name, Input<String?>? region, Input<Map<String, String>?>? tags, Input<String?>? userData})
Creates a new InstanceArgs. addOn Add-on configuration for the instance. See below. availabilityZone Availability Zone in which to create your instance. A list of available zones can be obtained using the AWS CLI command: aws lightsail get-regions --include-availability-zones. blueprintId ID for a virtual private server image. A list of available blueprint IDs can be obtained using the AWS CLI command: aws lightsail get-blueprints. bundleId Bundle of specification information. A list of available bundle IDs can be obtained using the AWS CLI command: aws lightsail get-bundles. ipAddressType IP address type of the Lightsail Instance. Valid values: dualstack, ipv4, ipv6. Default: dualstack. keyPairName Name of your key pair. Created in the Lightsail console (cannot use aws.ec2.KeyPair at this time). name Name of the Lightsail Instance. Names must be unique within each AWS Region in your Lightsail account. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. userData Single lined launch script as a string to configure server with additional user data.
const
InstanceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

addOn → Input<InstanceAddOn?>?
Add-on configuration for the instance. See below.
final
availabilityZone → Input<String>
Availability Zone in which to create your instance. A list of available zones can be obtained using the AWS CLI command: aws lightsail get-regions --include-availability-zones.
final
blueprintId → Input<String>
ID for a virtual private server image. A list of available blueprint IDs can be obtained using the AWS CLI command: aws lightsail get-blueprints.
final
bundleId → Input<String>
Bundle of specification information. A list of available bundle IDs can be obtained using the AWS CLI command: aws lightsail get-bundles.
final
hashCode → int
The hash code for this object.
no setterinherited
ipAddressType → Input<String?>?
IP address type of the Lightsail Instance. Valid values: dualstack, ipv4, ipv6. Default: dualstack.
final
keyPairName → Input<String?>?
Name of your key pair. Created in the Lightsail console (cannot use aws.ec2.KeyPair at this time).
final
name → Input<String?>?
Name of the Lightsail Instance. Names must be unique within each AWS Region in your Lightsail account.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
userData → Input<String?>?
Single lined launch script as a string to configure server with additional user data.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited