Module Values.AwsEc2LaunchTemplateDataDetailsSource

The information to include in an Amazon Elastic Compute Cloud (Amazon EC2) launch template.

Sourcetype nonrec t = {
  1. blockDeviceMappingSet : AwsEc2LaunchTemplateDataBlockDeviceMappingSetList.t option;
    (*

    Information about a block device mapping for an Amazon EC2 launch template.

    *)
  2. capacityReservationSpecification : AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails.t option;
    (*

    Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time.

    *)
  3. 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.

    *)
  4. creditSpecification : AwsEc2LaunchTemplateDataCreditSpecificationDetails.t option;
    (*

    Specifies the credit option for CPU usage of a T2, T3, or T3a instance.

    *)
  5. 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.

    *)
  6. 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.

    *)
  7. ebsOptimized : Boolean.t option;
    (*

    Indicates whether the instance is optimized for Amazon EBS I/O.

    *)
  8. elasticGpuSpecificationSet : AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList.t option;
    (*

    Provides details about Elastic Graphics accelerators to associate with the instance.

    *)
  9. elasticInferenceAcceleratorSet : AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList.t option;
    (*

    The Amazon Elastic Inference accelerator for the instance.

    *)
  10. enclaveOptions : AwsEc2LaunchTemplateDataEnclaveOptionsDetails.t option;
    (*

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

    *)
  11. hibernationOptions : AwsEc2LaunchTemplateDataHibernationOptionsDetails.t option;
    (*

    Specifies whether your Amazon EC2 instance is configured for hibernation.

    *)
  12. iamInstanceProfile : AwsEc2LaunchTemplateDataIamInstanceProfileDetails.t option;
    (*

    The name or Amazon Resource Name (ARN) of an IAM instance profile.

    *)
  13. imageId : NonEmptyString.t option;
    (*

    The ID of the Amazon Machine Image (AMI).

    *)
  14. instanceInitiatedShutdownBehavior : NonEmptyString.t option;
    (*

    Provides the options for specifying the instance initiated shutdown behavior.

    *)
  15. instanceMarketOptions : AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails.t option;
    (*

    Specifies the market (purchasing) option for an instance.

    *)
  16. 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.

    *)
  17. 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.

    *)
  18. kernelId : NonEmptyString.t option;
    (*

    The ID of the kernel.

    *)
  19. keyName : NonEmptyString.t option;
    (*

    The name of the key pair that allows users to connect to the instance.

    *)
  20. licenseSet : AwsEc2LaunchTemplateDataLicenseSetList.t option;
    (*

    Specifies a license configuration for an instance.

    *)
  21. maintenanceOptions : AwsEc2LaunchTemplateDataMaintenanceOptionsDetails.t option;
    (*

    The maintenance options of your instance.

    *)
  22. 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.

    *)
  23. monitoring : AwsEc2LaunchTemplateDataMonitoringDetails.t option;
    (*

    The monitoring for the instance.

    *)
  24. networkInterfaceSet : AwsEc2LaunchTemplateDataNetworkInterfaceSetList.t option;
    (*

    Specifies the parameters for a network interface that is attached to the instance.

    *)
  25. placement : AwsEc2LaunchTemplateDataPlacementDetails.t option;
    (*

    Specifies the placement of an instance.

    *)
  26. privateDnsNameOptions : AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails.t option;
    (*

    The options for the instance hostname.

    *)
  27. ramDiskId : NonEmptyString.t option;
    (*

    The ID of the RAM disk.

    *)
  28. securityGroupIdSet : NonEmptyStringList.t option;
    (*

    One or more security group IDs.

    *)
  29. 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.

    *)
  30. userData : NonEmptyString.t option;
    (*

    The user data to make available to the instance.

    *)
}
Sourceval 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 -> t
Sourceval 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 ]
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