Module Values_1.InstanceSource

Describes an instance.

Sourcetype nonrec t = {
  1. architecture : Values_0.ArchitectureValues.t option;
    (*

    The architecture of the image.

    *)
  2. blockDeviceMappings : Values_0.InstanceBlockDeviceMappingList.t option;
    (*

    Any block device mapping entries for the instance.

    *)
  3. clientToken : Values_0.String_.t option;
    (*

    The idempotency token you provided when you launched the instance, if applicable.

    *)
  4. ebsOptimized : Values_0.Boolean.t option;
    (*

    Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

    *)
  5. enaSupport : Values_0.Boolean.t option;
    (*

    Specifies whether enhanced networking with ENA is enabled.

    *)
  6. hypervisor : Values_0.HypervisorType.t option;
    (*

    The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

    *)
  7. iamInstanceProfile : Values_0.IamInstanceProfile.t option;
    (*

    The IAM instance profile associated with the instance, if applicable.

    *)
  8. instanceLifecycle : Values_0.InstanceLifecycleType.t option;
    (*

    Indicates whether this is a Spot Instance or a Scheduled Instance.

    *)
  9. elasticGpuAssociations : Values_0.ElasticGpuAssociationList.t option;
    (*

    Deprecated. Amazon Elastic Graphics reached end of life on January 8, 2024.

    *)
  10. elasticInferenceAcceleratorAssociations : Values_0.ElasticInferenceAcceleratorAssociationList.t option;
    (*

    Deprecated Amazon Elastic Inference is no longer available.

    *)
  11. networkInterfaces : Values_0.InstanceNetworkInterfaceList.t option;
    (*

    The network interfaces for the instance.

    *)
  12. outpostArn : Values_0.String_.t option;
    (*

    The Amazon Resource Name (ARN) of the Outpost.

    *)
  13. rootDeviceName : Values_0.String_.t option;
    (*

    The device name of the root device volume (for example, /dev/sda1).

    *)
  14. rootDeviceType : Values_0.DeviceType.t option;
    (*

    The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

    *)
  15. securityGroups : Values_0.GroupIdentifierList.t option;
    (*

    The security groups for the instance.

    *)
  16. sourceDestCheck : Values_0.Boolean.t option;
    (*

    Indicates whether source/destination checking is enabled.

    *)
  17. spotInstanceRequestId : Values_0.String_.t option;
    (*

    If the request is a Spot Instance request, the ID of the request.

    *)
  18. sriovNetSupport : Values_0.String_.t option;
    (*

    Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

    *)
  19. stateReason : Values_0.StateReason.t option;
    (*

    The reason for the most recent state transition.

    *)
  20. tags : Values_0.TagList.t option;
    (*

    Any tags assigned to the instance.

    *)
  21. virtualizationType : Values_0.VirtualizationType.t option;
    (*

    The virtualization type of the instance.

    *)
  22. cpuOptions : Values_0.CpuOptions.t option;
    (*

    The CPU options for the instance.

    *)
  23. capacityBlockId : Values_0.String_.t option;
    (*

    The ID of the Capacity Block. For P5 instances, a Capacity Block ID refers to a group of instances. For Trn2u instances, a capacity block ID refers to an EC2 UltraServer.

    *)
  24. capacityReservationId : Values_0.String_.t option;
    (*

    The ID of the Capacity Reservation.

    *)
  25. capacityReservationSpecification : Values_0.CapacityReservationSpecificationResponse.t option;
    (*

    Information about the Capacity Reservation targeting option.

    *)
  26. hibernationOptions : Values_0.HibernationOptions.t option;
    (*

    Indicates whether the instance is enabled for hibernation.

    *)
  27. licenses : Values_0.LicenseList.t option;
    (*

    The license configurations for the instance.

    *)
  28. metadataOptions : Values_0.InstanceMetadataOptionsResponse.t option;
    (*

    The metadata options for the instance.

    *)
  29. enclaveOptions : Values_0.EnclaveOptions.t option;
    (*

    Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

    *)
  30. bootMode : Values_0.BootModeValues.t option;
    (*

    The boot mode that was specified by the AMI. If the value is uefi-preferred, the AMI supports both UEFI and Legacy BIOS. The currentInstanceBootMode parameter is the boot mode that is used to boot the instance at launch or start. The operating system contained in the AMI must be configured to support the specified boot mode. For more information, see Boot modes in the Amazon EC2 User Guide.

    *)
  31. platformDetails : Values_0.String_.t option;
    (*

    The platform details value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.

    *)
  32. usageOperation : Values_0.String_.t option;
    (*

    The usage operation value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.

    *)
  33. usageOperationUpdateTime : Values_0.MillisecondDateTime.t option;
    (*

    The time that the usage operation was last updated.

    *)
  34. privateDnsNameOptions : Values_0.PrivateDnsNameOptionsResponse.t option;
    (*

    The options for the instance hostname.

    *)
  35. ipv6Address : Values_0.String_.t option;
    (*

    The IPv6 address assigned to the instance.

    *)
  36. tpmSupport : Values_0.String_.t option;
    (*

    If the instance is configured for NitroTPM support, the value is v2.0. For more information, see NitroTPM in the Amazon EC2 User Guide.

    *)
  37. maintenanceOptions : Values_0.InstanceMaintenanceOptions.t option;
    (*

    Provides information on the recovery and maintenance options of your instance.

    *)
  38. currentInstanceBootMode : Values_0.InstanceBootModeValues.t option;
    (*

    The boot mode that is used to boot the instance at launch or start. For more information, see Boot modes in the Amazon EC2 User Guide.

    *)
  39. networkPerformanceOptions : Values_0.InstanceNetworkPerformanceOptions.t option;
    (*

    Contains settings for the network performance options for your instance.

    *)
  40. operator : Values_0.OperatorResponse.t option;
    (*

    The service provider that manages the instance.

    *)
  41. secondaryInterfaces : Values_0.InstanceSecondaryInterfaceList.t option;
    (*

    The secondary interfaces for the instance.

    *)
  42. instanceId : Values_0.String_.t option;
    (*

    The ID of the instance.

    *)
  43. imageId : Values_0.String_.t option;
    (*

    The ID of the AMI used to launch the instance.

    *)
  44. state : Values_0.InstanceState.t option;
    (*

    The current state of the instance.

    *)
  45. privateDnsName : Values_0.String_.t option;
    (*

    [IPv4 only] The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state. The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

    *)
  46. publicDnsName : Values_0.String_.t option;
    (*

    The public DNS name assigned to the instance. This name is not available until the instance enters the running state. This name is only available if you've enabled DNS hostnames for your VPC. The format of this name depends on the public hostname type.

    *)
  47. stateTransitionReason : Values_0.String_.t option;
    (*

    The reason for the most recent state transition. This might be an empty string.

    *)
  48. keyName : Values_0.String_.t option;
    (*

    The name of the key pair, if this instance was launched with an associated key pair.

    *)
  49. amiLaunchIndex : Values_0.Integer.t option;
    (*

    The AMI launch index, which can be used to find this instance in the launch group.

    *)
  50. productCodes : Values_0.ProductCodeList.t option;
    (*

    The product codes attached to this instance, if applicable.

    *)
  51. instanceType : Values_0.InstanceType.t option;
    (*

    The instance type.

    *)
  52. launchTime : Values_0.DateTime.t option;
    (*

    The time that the instance was last launched. To determine the time that instance was first launched, see the attachment time for the primary network interface.

    *)
  53. placement : Values_0.Placement.t option;
    (*

    The location where the instance launched, if applicable.

    *)
  54. kernelId : Values_0.String_.t option;
    (*

    The kernel associated with this instance, if applicable.

    *)
  55. ramdiskId : Values_0.String_.t option;
    (*

    The RAM disk associated with this instance, if applicable.

    *)
  56. platform : Values_0.PlatformValues.t option;
    (*

    The platform. This value is windows for Windows instances; otherwise, it is empty.

    *)
  57. monitoring : Values_0.Monitoring.t option;
    (*

    The monitoring for the instance.

    *)
  58. subnetId : Values_0.String_.t option;
    (*

    The ID of the subnet in which the instance is running.

    *)
  59. vpcId : Values_0.String_.t option;
    (*

    The ID of the VPC in which the instance is running.

    *)
  60. privateIpAddress : Values_0.String_.t option;
    (*

    The private IPv4 address assigned to the instance.

    *)
  61. publicIpAddress : Values_0.String_.t option;
    (*

    The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable. A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

    *)
}
Sourceval make : ?architecture:??? -> ?blockDeviceMappings:??? -> ?clientToken:??? -> ?ebsOptimized:??? -> ?enaSupport:??? -> ?hypervisor:??? -> ?iamInstanceProfile:??? -> ?instanceLifecycle:??? -> ?elasticGpuAssociations:??? -> ?elasticInferenceAcceleratorAssociations:??? -> ?networkInterfaces:??? -> ?outpostArn:??? -> ?rootDeviceName:??? -> ?rootDeviceType:??? -> ?securityGroups:??? -> ?sourceDestCheck:??? -> ?spotInstanceRequestId:??? -> ?sriovNetSupport:??? -> ?stateReason:??? -> ?tags:??? -> ?virtualizationType:??? -> ?cpuOptions:??? -> ?capacityBlockId:??? -> ?capacityReservationId:??? -> ?capacityReservationSpecification:??? -> ?hibernationOptions:??? -> ?licenses:??? -> ?metadataOptions:??? -> ?enclaveOptions:??? -> ?bootMode:??? -> ?platformDetails:??? -> ?usageOperation:??? -> ?usageOperationUpdateTime:??? -> ?privateDnsNameOptions:??? -> ?ipv6Address:??? -> ?tpmSupport:??? -> ?maintenanceOptions:??? -> ?currentInstanceBootMode:??? -> ?networkPerformanceOptions:??? -> ?operator:??? -> ?secondaryInterfaces:??? -> ?instanceId:??? -> ?imageId:??? -> ?state:??? -> ?privateDnsName:??? -> ?publicDnsName:??? -> ?stateTransitionReason:??? -> ?keyName:??? -> ?amiLaunchIndex:??? -> ?productCodes:??? -> ?instanceType:??? -> ?launchTime:??? -> ?placement:??? -> ?kernelId:??? -> ?ramdiskId:??? -> ?platform:??? -> ?monitoring:??? -> ?subnetId:??? -> ?vpcId:??? -> ?privateIpAddress:??? -> ?publicIpAddress:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `Structure of (string * [> `Boolean of bool | `String of string | `Structure of (string * [> `String of string ]) list ]) list ] list | `String of string | `Structure of (string * [> `Boolean of bool | `Enum of string | `Integer of int | `String of string | `Structure of (string * [> `Boolean of bool | `String of string | `Structure of (string * [> `Boolean of bool ]) list ]) list | `Timestamp of string ]) list | `Timestamp of string ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Boolean of bool | `Enum of string | `Integer of int | `String of string | `Structure of (string * [> `String of string ]) list ]) list | `Timestamp of Values_0.MillisecondDateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t