Class: Aws::EC2::Types::ResponseLaunchTemplateData

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

The information for a launch template.

Constant Summary collapse

SENSITIVE =
[:user_data]

Instance Attribute Summary collapse

Instance Attribute Details

#block_device_mappingsArray<Types::LaunchTemplateBlockDeviceMapping>

The block device mappings.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#capacity_reservation_specificationTypes::LaunchTemplateCapacityReservationSpecificationResponse

Information about the Capacity Reservation targeting option.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#cpu_optionsTypes::LaunchTemplateCpuOptions

The CPU options for the instance. For more information, see

Optimize CPU options][1

in the *Amazon EC2 User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#credit_specificationTypes::CreditSpecification

The credit option for CPU usage of the instance.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#disable_api_stopBoolean

Indicates whether the instance is enabled for stop protection. For more information, see [Enable stop protection for your instance] in the *Amazon EC2 User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html

Returns:

  • (Boolean)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#disable_api_terminationBoolean

If set to ‘true`, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.

Returns:

  • (Boolean)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#ebs_optimizedBoolean

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

Returns:

  • (Boolean)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#elastic_gpu_specificationsArray<Types::ElasticGpuSpecificationResponse>

Deprecated.

<note markdown=“1”> Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.

</note>


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#elastic_inference_acceleratorsArray<Types::LaunchTemplateElasticInferenceAcceleratorResponse>

<note markdown=“1”> Amazon Elastic Inference is no longer available.

</note>

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.

<note markdown=“1”> Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

</note>


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#enclave_optionsTypes::LaunchTemplateEnclaveOptions

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



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#hibernation_optionsTypes::LaunchTemplateHibernationOptions

Indicates whether an instance is configured for hibernation. For more information, see [Hibernate your Amazon EC2 instance] in the *Amazon EC2 User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#iam_instance_profileTypes::LaunchTemplateIamInstanceProfileSpecification

The IAM instance profile.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#image_idString

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

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id

Returns:

  • (String)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#instance_initiated_shutdown_behaviorString

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Returns:

  • (String)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#instance_market_optionsTypes::LaunchTemplateInstanceMarketOptions

The market (purchasing) option for the instances.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#instance_requirementsTypes::InstanceRequirements

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`.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#instance_typeString

The instance type.

Returns:

  • (String)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#kernel_idString

The ID of the kernel, if applicable.

Returns:

  • (String)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#key_nameString

The name of the key pair.

Returns:

  • (String)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#license_specificationsArray<Types::LaunchTemplateLicenseConfiguration>

The license configurations.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#maintenance_optionsTypes::LaunchTemplateInstanceMaintenanceOptions

The maintenance options for your instance.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#metadata_optionsTypes::LaunchTemplateInstanceMetadataOptions

The metadata options for the instance. For more information, see

Instance metadata and user data][1

in the *Amazon EC2 User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#monitoringTypes::LaunchTemplatesMonitoring

The monitoring for the instance.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#network_interfacesArray<Types::LaunchTemplateInstanceNetworkInterfaceSpecification>

The network interfaces.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#network_performance_optionsTypes::LaunchTemplateNetworkPerformanceOptions

Contains the launch template settings for network performance options for your instance.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#operatorTypes::OperatorResponse

The entity that manages the launch template.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#placementTypes::LaunchTemplatePlacement

The placement of the instance.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#private_dns_name_optionsTypes::LaunchTemplatePrivateDnsNameOptions

The options for the instance hostname.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#ram_disk_idString

The ID of the RAM disk, if applicable.

Returns:

  • (String)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#security_group_idsArray<String>

The security group IDs.

Returns:

  • (Array<String>)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#security_groupsArray<String>

The security group names.

Returns:

  • (Array<String>)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#tag_specificationsArray<Types::LaunchTemplateTagSpecification>

The tags that are applied to the resources that are created during instance launch.



62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end

#user_dataString

The user data for the instance.

Returns:

  • (String)


62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
# File 'lib/aws-sdk-ec2/types.rb', line 62513

class ResponseLaunchTemplateData < Struct.new(
  :kernel_id,
  :ebs_optimized,
  :iam_instance_profile,
  :block_device_mappings,
  :network_interfaces,
  :image_id,
  :instance_type,
  :key_name,
  :monitoring,
  :placement,
  :ram_disk_id,
  :disable_api_termination,
  :instance_initiated_shutdown_behavior,
  :user_data,
  :tag_specifications,
  :elastic_gpu_specifications,
  :elastic_inference_accelerators,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification,
  :cpu_options,
  :capacity_reservation_specification,
  :license_specifications,
  :hibernation_options,
  :metadata_options,
  :enclave_options,
  :instance_requirements,
  :private_dns_name_options,
  :maintenance_options,
  :disable_api_stop,
  :operator,
  :network_performance_options)
  SENSITIVE = [:user_data]
  include Aws::Structure
end