InstanceState constructor
- Input<
InstanceAddOn?> ? addOn, - Input<
String?> ? arn, - Input<
String?> ? availabilityZone, - Input<
String?> ? blueprintId, - Input<
String?> ? bundleId, - Input<
int?> ? cpuCount, - Input<
String?> ? createdAt, - Input<
String?> ? ipAddressType, - Input<
List< ? ipv6Addresses,String> ?> - Input<
bool?> ? isStaticIp, - Input<
String?> ? keyPairName, - Input<
String?> ? name, - Input<
String?> ? privateIpAddress, - Input<
String?> ? publicIpAddress, - Input<
double?> ? ramSize, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
String?> ? userData, - Input<
String?> ? username,
Creates a new InstanceState.
addOn Add-on configuration for the instance. See below.
arn ARN of the Lightsail instance (matches id).
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.
cpuCount Number of vCPUs the instance has.
createdAt Timestamp when the instance was created.
ipAddressType IP address type of the Lightsail Instance. Valid values: dualstack, ipv4, ipv6. Default: dualstack.
ipv6Addresses List of IPv6 addresses for the Lightsail instance.
isStaticIp Whether this instance has a static IP assigned to it.
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.
privateIpAddress Private IP address of the instance.
publicIpAddress Public IP address of the instance.
ramSize Amount of RAM in GB on the instance (e.g., 1.0).
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.
tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
userData Single lined launch script as a string to configure server with additional user data.
username User name for connecting to the instance (e.g., ec2-user).
Implementation
const InstanceState({
this.addOn,
this.arn,
this.availabilityZone,
this.blueprintId,
this.bundleId,
this.cpuCount,
this.createdAt,
this.ipAddressType,
this.ipv6Addresses,
this.isStaticIp,
this.keyPairName,
this.name,
this.privateIpAddress,
this.publicIpAddress,
this.ramSize,
this.region,
this.tags,
this.tagsAll,
this.userData,
this.username,
});