Values.AwsEc2LaunchTemplateDataDetailsSourceThe information to include in an Amazon Elastic Compute Cloud (Amazon EC2) launch template.
type nonrec t = {blockDeviceMappingSet : AwsEc2LaunchTemplateDataBlockDeviceMappingSetList.t
option;Information about a block device mapping for an Amazon EC2 launch template.
*)capacityReservationSpecification : AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails.t
option;Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time.
*)cpuOptions : AwsEc2LaunchTemplateDataCpuOptionsDetails.t option;Specifies the CPU options for an instance. For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide.
*)creditSpecification : AwsEc2LaunchTemplateDataCreditSpecificationDetails.t
option;Specifies the credit option for CPU usage of a T2, T3, or T3a instance.
*)disableApiStop : Boolean.t option;Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection in the Amazon EC2 User Guide.
*)disableApiTermination : Boolean.t option;If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API. If set to true, you can.
*)ebsOptimized : Boolean.t option;Indicates whether the instance is optimized for Amazon EBS I/O.
*)elasticGpuSpecificationSet : AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList.t
option;Provides details about Elastic Graphics accelerators to associate with the instance.
*)elasticInferenceAcceleratorSet : AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList.t
option;The Amazon Elastic Inference accelerator for the instance.
*)enclaveOptions : AwsEc2LaunchTemplateDataEnclaveOptionsDetails.t option;Indicates whether the Amazon EC2 instance is enabled for Amazon Web Services Nitro Enclaves.
*)hibernationOptions : AwsEc2LaunchTemplateDataHibernationOptionsDetails.t option;Specifies whether your Amazon EC2 instance is configured for hibernation.
*)iamInstanceProfile : AwsEc2LaunchTemplateDataIamInstanceProfileDetails.t option;The name or Amazon Resource Name (ARN) of an IAM instance profile.
*)imageId : NonEmptyString.t option;The ID of the Amazon Machine Image (AMI).
*)instanceInitiatedShutdownBehavior : NonEmptyString.t option;Provides the options for specifying the instance initiated shutdown behavior.
*)instanceMarketOptions : AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.t
option;Specifies the market (purchasing) option for an instance.
*)instanceRequirements : AwsEc2LaunchTemplateDataInstanceRequirementsDetails.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 InstanceType.
*)instanceType : NonEmptyString.t option;The instance type. For more information, see Instance types in the Amazon EC2 User Guide. If you specify InstanceType, you can't specify InstanceRequirements.
*)kernelId : NonEmptyString.t option;The ID of the kernel.
*)keyName : NonEmptyString.t option;The name of the key pair that allows users to connect to the instance.
*)licenseSet : AwsEc2LaunchTemplateDataLicenseSetList.t option;Specifies a license configuration for an instance.
*)maintenanceOptions : AwsEc2LaunchTemplateDataMaintenanceOptionsDetails.t option;The maintenance options of your instance.
*)metadataOptions : AwsEc2LaunchTemplateDataMetadataOptionsDetails.t option;The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.
*)monitoring : AwsEc2LaunchTemplateDataMonitoringDetails.t option;The monitoring for the instance.
*)networkInterfaceSet : AwsEc2LaunchTemplateDataNetworkInterfaceSetList.t option;Specifies the parameters for a network interface that is attached to the instance.
*)placement : AwsEc2LaunchTemplateDataPlacementDetails.t option;Specifies the placement of an instance.
*)privateDnsNameOptions : AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails.t
option;The options for the instance hostname.
*)ramDiskId : NonEmptyString.t option;The ID of the RAM disk.
*)securityGroupIdSet : NonEmptyStringList.t option;One or more security group IDs.
*)securityGroupSet : NonEmptyStringList.t option;One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.
*)userData : NonEmptyString.t option;The user data to make available to the instance.
*)}val make :
?blockDeviceMappingSet:??? ->
?capacityReservationSpecification:??? ->
?cpuOptions:??? ->
?creditSpecification:??? ->
?disableApiStop:??? ->
?disableApiTermination:??? ->
?ebsOptimized:??? ->
?elasticGpuSpecificationSet:??? ->
?elasticInferenceAcceleratorSet:??? ->
?enclaveOptions:??? ->
?hibernationOptions:??? ->
?iamInstanceProfile:??? ->
?imageId:??? ->
?instanceInitiatedShutdownBehavior:??? ->
?instanceMarketOptions:??? ->
?instanceRequirements:??? ->
?instanceType:??? ->
?kernelId:??? ->
?keyName:??? ->
?licenseSet:??? ->
?maintenanceOptions:??? ->
?metadataOptions:??? ->
?monitoring:??? ->
?networkInterfaceSet:??? ->
?placement:??? ->
?privateDnsNameOptions:??? ->
?ramDiskId:??? ->
?securityGroupIdSet:??? ->
?securityGroupSet:??? ->
?userData:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of Integer.t
| `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `String of NonEmptyString.t ])
list ]
list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of Integer.t
| `String of NonEmptyString.t ])
list ])
list ]
list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of Integer.t
| `List of [> `String of NonEmptyString.t ] list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Double of Double.t
| `Integer of Integer.t
| `String of NonEmptyString.t ])
list ])
list ])
list ]