Values_1.ResponseLaunchTemplateDataSourceThe information for a launch template.
type nonrec t = {kernelId : Values_0.String_.t option;The ID of the kernel, if applicable.
*)ebsOptimized : Values_0.Boolean.t option;Indicates whether the instance is optimized for Amazon EBS I/O.
*)iamInstanceProfile : LaunchTemplateIamInstanceProfileSpecification.t option;The IAM instance profile.
*)blockDeviceMappings : LaunchTemplateBlockDeviceMappingList.t option;The block device mappings.
*)networkInterfaces : LaunchTemplateInstanceNetworkInterfaceSpecificationList.t
option;The network interfaces.
*)imageId : Values_0.String_.t option;The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter will resolve to the ID of the AMI at instance launch. The value depends on what you specified in the request. The possible values are: If an AMI ID was specified in the request, then this is the AMI ID. If a Systems Manager parameter was specified in the request, and ResolveAlias was configured as true, then this is the AMI ID that the parameter is mapped to in the Parameter Store. If a Systems Manager parameter was specified in the request, and ResolveAlias was configured as false, then this is the parameter value. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide.
*)instanceType : Values_0.InstanceType.t option;The instance type.
*)keyName : Values_0.String_.t option;The name of the key pair.
*)monitoring : LaunchTemplatesMonitoring.t option;The monitoring for the instance.
*)placement : LaunchTemplatePlacement.t option;The placement of the instance.
*)ramDiskId : Values_0.String_.t option;The ID of the RAM disk, if applicable.
*)disableApiTermination : Values_0.Boolean.t option;If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.
*)instanceInitiatedShutdownBehavior : ShutdownBehavior.t option;Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
*)userData : Values_0.SensitiveUserData.t option;The user data for the instance.
*)tagSpecifications : LaunchTemplateTagSpecificationList.t option;The tags that are applied to the resources that are created during instance launch.
*)elasticGpuSpecifications : ElasticGpuSpecificationResponseList.t option;Deprecated. Amazon Elastic Graphics reached end of life on January 8, 2024.
*)elasticInferenceAccelerators : LaunchTemplateElasticInferenceAcceleratorResponseList.t
option;Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request.
*)securityGroupIds : Values_0.ValueStringList.t option;The security group IDs.
*)securityGroups : Values_0.ValueStringList.t option;The security group names.
*)instanceMarketOptions : LaunchTemplateInstanceMarketOptions.t option;The market (purchasing) option for the instances.
*)creditSpecification : CreditSpecification.t option;The credit option for CPU usage of the instance.
*)cpuOptions : LaunchTemplateCpuOptions.t option;The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.
*)capacityReservationSpecification : LaunchTemplateCapacityReservationSpecificationResponse.t
option;Information about the Capacity Reservation targeting option.
*)licenseSpecifications : LaunchTemplateLicenseList.t option;The license configurations.
*)hibernationOptions : LaunchTemplateHibernationOptions.t option;Indicates whether an instance is configured for hibernation. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
*)metadataOptions : LaunchTemplateInstanceMetadataOptions.t option;The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.
*)enclaveOptions : LaunchTemplateEnclaveOptions.t option;Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
*)instanceRequirements : Values_0.InstanceRequirements.t option;The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. If you specify InstanceRequirements, you can't specify InstanceTypes.
*)privateDnsNameOptions : LaunchTemplatePrivateDnsNameOptions.t option;The options for the instance hostname.
*)maintenanceOptions : LaunchTemplateInstanceMaintenanceOptions.t option;The maintenance options for your instance.
*)disableApiStop : Values_0.Boolean.t option;Indicates whether the instance is enabled for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.
*)operator : Values_0.OperatorResponse.t option;The entity that manages the launch template.
*)networkPerformanceOptions : LaunchTemplateNetworkPerformanceOptions.t option;Contains the launch template settings for network performance options for your instance.
*)secondaryInterfaces : LaunchTemplateInstanceSecondaryInterfaceSpecificationList.t
option;The secondary interfaces associated with the launch template.
*)}val make :
?kernelId:??? ->
?ebsOptimized:??? ->
?iamInstanceProfile:??? ->
?blockDeviceMappings:??? ->
?networkInterfaces:??? ->
?imageId:??? ->
?instanceType:??? ->
?keyName:??? ->
?monitoring:??? ->
?placement:??? ->
?ramDiskId:??? ->
?disableApiTermination:??? ->
?instanceInitiatedShutdownBehavior:??? ->
?userData:??? ->
?tagSpecifications:??? ->
?elasticGpuSpecifications:??? ->
?elasticInferenceAccelerators:??? ->
?securityGroupIds:??? ->
?securityGroups:??? ->
?instanceMarketOptions:??? ->
?creditSpecification:??? ->
?cpuOptions:??? ->
?capacityReservationSpecification:??? ->
?licenseSpecifications:??? ->
?hibernationOptions:??? ->
?metadataOptions:??? ->
?enclaveOptions:??? ->
?instanceRequirements:??? ->
?privateDnsNameOptions:??? ->
?maintenanceOptions:??? ->
?disableApiStop:??? ->
?operator:??? ->
?networkPerformanceOptions:??? ->
?secondaryInterfaces:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `List of
[> `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `Integer of int
| `List of
[> `String of string
| `Structure of
(string * [> `Boolean of bool | `String of string ]) 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 ]) list ])
list ])
list ]
list
| `String of Values_0.String_.t
| `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Enum of string
| `Integer of Values_0.Integer.t
| `List of [> `Enum of string | `String of string ] list
| `String of Values_0.String_.t
| `Structure of
(string
* [> `Double of float
| `Enum of string
| `Integer of int
| `String of string
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of string ]) list ]
list ])
list
| `Timestamp of string ])
list ])
list ])
list ]