Values.InstanceSourceDescribes an instance (a virtual private server).
type nonrec t = {name : ResourceName.t option;The name the user gave the instance (Amazon_Linux_2023-1).
*)arn : NonEmptyString.t option;The Amazon Resource Name (ARN) of the instance (arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).
*)supportCode : String_.t option;The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
*)createdAt : IsoDate.t option;The timestamp when the instance was created (1479734909.17) in Unix time format.
*)location : ResourceLocation.t option;The region name and Availability Zone where the instance is located.
*)resourceType : ResourceType.t option;The type of resource (usually Instance).
*)blueprintId : NonEmptyString.t option;The blueprint ID (amazon_linux_2023).
*)blueprintName : NonEmptyString.t option;The friendly name of the blueprint (Amazon Linux 2023).
*)bundleId : NonEmptyString.t option;The bundle for the instance (micro_x_x).
*)addOns : AddOnList.t option;An array of objects representing the add-ons enabled on the instance.
*)isStaticIp : Boolean.t option;A Boolean value indicating whether this instance has a static IP assigned to it.
*)privateIpAddress : IpAddress.t option;The private IP address of the instance.
*)publicIpAddress : IpAddress.t option;The public IP address of the instance.
*)ipv6Addresses : Ipv6AddressList.t option;The IPv6 addresses of the instance.
*)ipAddressType : IpAddressType.t option;The IP address type of the instance. The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.
*)hardware : InstanceHardware.t option;The size of the vCPU and the amount of RAM for the instance.
*)networking : InstanceNetworking.t option;Information about the public ports and monthly data transfer rates for the instance.
*)state : InstanceState.t option;The status code and the state (running) for the instance.
*)username : NonEmptyString.t option;The user name for connecting to the instance (ec2-user).
*)sshKeyName : ResourceName.t option;The name of the SSH key being used to connect to the instance (LightsailDefaultKeyPair).
*)metadataOptions : InstanceMetadataOptions.t option;The metadata options for the Amazon Lightsail instance.
*)}val make :
?name:??? ->
?arn:??? ->
?supportCode:??? ->
?createdAt:??? ->
?location:??? ->
?resourceType:??? ->
?tags:??? ->
?blueprintId:??? ->
?blueprintName:??? ->
?bundleId:??? ->
?addOns:??? ->
?isStaticIp:??? ->
?privateIpAddress:??? ->
?publicIpAddress:??? ->
?ipv6Addresses:??? ->
?ipAddressType:??? ->
?hardware:??? ->
?networking:??? ->
?state:??? ->
?username:??? ->
?sshKeyName:??? ->
?metadataOptions:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `String of Ipv6Address.t
| `Structure of (string * [> `String of TagKey.t ]) list ]
list
| `String of ResourceName.t
| `Structure of
(string
* [> `Enum of string
| `Float of Float_.t
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of Integer.t
| `List of
[> `String of String_.t
| `Structure of
(string * [> `String of TagKey.t ]) list ]
list
| `String of ResourceName.t
| `Structure of
(string
* [> `Enum of string | `String of String_.t ])
list
| `Timestamp of IsoDate.t ])
list ]
list
| `String of String_.t
| `Structure of (string * [> `Integer of Integer.t ]) list ])
list
| `Timestamp of IsoDate.t ])
list ]