You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

The information for a launch template.

Instance Attribute Summary collapse

Instance Attribute Details

#block_device_mappingsArray<Types::LaunchTemplateBlockDeviceMapping>

The block device mappings.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#credit_specificationTypes::CreditSpecification

The credit option for CPU usage of the instance.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  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)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#ebs_optimizedBoolean

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

Returns:

  • (Boolean)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#elastic_gpu_specificationsArray<Types::ElasticGpuSpecificationResponse>

The elastic GPU specification.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#iam_instance_profileTypes::LaunchTemplateIamInstanceProfileSpecification

The IAM instance profile.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#image_idString

The ID of the AMI that was used to launch the instance.

Returns:

  • (String)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  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)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#instance_market_optionsTypes::LaunchTemplateInstanceMarketOptions

The market (purchasing) option for the instances.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#instance_typeString

The instance type.

Returns:

  • (String)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#kernel_idString

The ID of the kernel, if applicable.

Returns:

  • (String)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#key_nameString

The name of the key pair.

Returns:

  • (String)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#monitoringTypes::LaunchTemplatesMonitoring

The monitoring for the instance.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#network_interfacesArray<Types::LaunchTemplateInstanceNetworkInterfaceSpecification>

The network interfaces.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#placementTypes::LaunchTemplatePlacement

The placement of the instance.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#ram_disk_idString

The ID of the RAM disk, if applicable.

Returns:

  • (String)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#security_group_idsArray<String>

The security group IDs.

Returns:

  • (Array<String>)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#security_groupsArray<String>

The security group names.

Returns:

  • (Array<String>)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#tag_specificationsArray<Types::LaunchTemplateTagSpecification>

The tags.



24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end

#user_dataString

The user data for the instance.

Returns:

  • (String)


24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24937

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,
  :security_group_ids,
  :security_groups,
  :instance_market_options,
  :credit_specification)
  include Aws::Structure
end