awscc_ec2_launch_template (Data Source)

Data Source schema for AWS::EC2::LaunchTemplate

Schema

Required

Read-Only

Nested Schema for launch_template_data

Read-Only:

Nested Schema for launch_template_data.block_device_mappings

Read-Only: md5-336558567e2c18c336206ef33dbb54b4

Nested Schema for launch_template_data.block_device_mappings.ebs

Read-Only: md5-c8aaa2ae154dc3f116ebdf39477e424e

For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for io1, io2, and gp3 volumes only.

  • kms_key_id (String) The ARN of the symmetric KMSlong (KMS) CMK used for encryption.
  • snapshot_id (String) The ID of the snapshot.
  • throughput (Number) The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.
  • volume_size (Number) The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type: md5-aa0f0071dcc189e82beb16355c30598f

    Nested Schema for launch_template_data.capacity_reservation_specification

    Read-Only: md5-fe10a967d3d2ceb82fec1ee138385e68

    Nested Schema for launch_template_data.capacity_reservation_specification.capacity_reservation_target

    Read-Only: md5-ce664c4a0a931d8cef1fcae5c01bbea3

    Nested Schema for launch_template_data.cpu_options

    Read-Only: md5-b398e6fa9007933a311619d63faf2123

    Nested Schema for launch_template_data.credit_specification

    Read-Only: md5-71f093f775bc92c266903903fa797333

    Nested Schema for launch_template_data.elastic_gpu_specifications

    Read-Only: md5-b3a44a0f796c48f4d1dd0136d6162247

    Nested Schema for launch_template_data.elastic_inference_accelerators

    Read-Only: md5-7d489c0c682fdc66767375d1646dcf31

    Nested Schema for launch_template_data.enclave_options

    Read-Only: md5-e0d37ae3a25e4c3aef5be1db2d647b35

    Nested Schema for launch_template_data.hibernation_options

    Read-Only: md5-7d243b4fdccf795ed94cbf7aa56fb7bf

    Nested Schema for launch_template_data.iam_instance_profile

    Read-Only: md5-b424ca1d62f841dc092ba5c566bc0049

    Nested Schema for launch_template_data.instance_market_options

    Read-Only: md5-af2c12d9b8512e86afe415057d501d79

    Nested Schema for launch_template_data.instance_market_options.spot_options

    Read-Only: md5-631719e79d9ad8fddb9afd81c8bc1ef3

    Default: 7 days from the current date

  • Nested Schema for launch_template_data.instance_requirements

    Read-Only: md5-de40425d06dd33810f54eb4ab137bffa

    Default: Any manufacturer

  • accelerator_names (List of String) The accelerators that must be on the instance type.

    Default: Any accelerator

  • accelerator_total_memory_mi_b (Attributes) The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits (see below for nested schema)
  • accelerator_types (List of String) The accelerator types that must be on the instance type.

    Default: Any accelerator type

  • allowed_instance_types (List of String) The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes. Default: All instance types
  • bare_metal (String) Indicates whether bare metal instance types must be included, excluded, or required.

    Default: excluded

  • baseline_ebs_bandwidth_mbps (Attributes) The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide. Default: No minimum or maximum limits (see below for nested schema)
  • burstable_performance (String) Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances.

    Default: excluded

  • cpu_manufacturers (List of String) The CPU manufacturers to include.

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer

  • excluded_instance_types (List of String) The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes. Default: No excluded instance types
  • instance_generations (List of String) Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide. For current generation instance types, specify current. For previous generation instance types, specify previous. Default: Current and previous generation instance types
  • local_storage (String) Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide.

    Default: included

  • local_storage_types (List of String) The type of local storage that is required.

    Default: hdd and ssd

  • max_spot_price_as_percentage_of_optimal_on_demand_price (Number) [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999.
  • memory_gi_b_per_v_cpu (Attributes) The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits (see below for nested schema)
  • memory_mi_b (Attributes) The minimum and maximum amount of memory, in MiB. (see below for nested schema)
  • network_bandwidth_gbps (Attributes) The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits (see below for nested schema)
  • network_interface_count (Attributes) The minimum and maximum number of network interfaces. Default: No minimum or maximum limits (see below for nested schema)
  • on_demand_max_price_percentage_over_lowest_price (Number) [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. To turn off price protection, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default: 20
  • require_hibernate_support (Boolean) Indicates whether instance types must support hibernation for On-Demand Instances. This parameter is not supported for GetSpotPlacementScores. Default: false
  • spot_max_price_percentage_over_lowest_price (Number) [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999. Default: 100
  • total_local_storage_gb (Attributes) The minimum and maximum amount of total local storage, in GB. Default: No minimum or maximum limits (see below for nested schema)
  • v_cpu_count (Attributes) The minimum and maximum number of vCPUs. (see below for nested schema)
  • Nested Schema for launch_template_data.instance_requirements.accelerator_count

    Read-Only:

    Nested Schema for launch_template_data.instance_requirements.accelerator_total_memory_mi_b

    Read-Only:

    Nested Schema for launch_template_data.instance_requirements.baseline_ebs_bandwidth_mbps

    Read-Only:

    Nested Schema for launch_template_data.instance_requirements.memory_gi_b_per_v_cpu

    Read-Only:

    Nested Schema for launch_template_data.instance_requirements.memory_mi_b

    Read-Only:

    Nested Schema for launch_template_data.instance_requirements.network_bandwidth_gbps

    Read-Only:

    Nested Schema for launch_template_data.instance_requirements.network_interface_count

    Read-Only:

    Nested Schema for launch_template_data.instance_requirements.total_local_storage_gb

    Read-Only:

    Nested Schema for launch_template_data.instance_requirements.v_cpu_count

    Read-Only:

    Nested Schema for launch_template_data.license_specifications

    Read-Only:

    Nested Schema for launch_template_data.maintenance_options

    Read-Only:

    Nested Schema for launch_template_data.metadata_options

    Read-Only:

    Nested Schema for launch_template_data.monitoring

    Read-Only:

    Nested Schema for launch_template_data.network_interfaces

    Read-Only:

    Nested Schema for launch_template_data.network_interfaces.connection_tracking_specification

    Read-Only:

    Nested Schema for launch_template_data.network_interfaces.ena_srd_specification

    Read-Only:

    Nested Schema for launch_template_data.network_interfaces.ena_srd_specification.ena_srd_udp_specification

    Read-Only:

    Nested Schema for launch_template_data.network_interfaces.ipv_4_prefixes

    Read-Only:

    Nested Schema for launch_template_data.network_interfaces.ipv_6_addresses

    Read-Only:

    Nested Schema for launch_template_data.network_interfaces.ipv_6_prefixes

    Read-Only:

    Nested Schema for launch_template_data.network_interfaces.private_ip_addresses

    Read-Only:

    Nested Schema for launch_template_data.placement

    Read-Only:

    Nested Schema for launch_template_data.private_dns_name_options

    Read-Only:

    Nested Schema for launch_template_data.tag_specifications

    Read-Only:

    Nested Schema for launch_template_data.tag_specifications.tags

    Read-Only:

    Nested Schema for tag_specifications

    Read-Only:

    Nested Schema for tag_specifications.tags

    Read-Only: