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

Class: Aws::EC2::Types::InstanceAttribute

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

Overview

Describes an instance attribute.

Instance Attribute Summary collapse

Instance Attribute Details

#block_device_mappingsArray<Types::InstanceBlockDeviceMapping>

The block device mapping of the instance.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#disable_api_terminationTypes::AttributeBooleanValue

If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#ebs_optimizedTypes::AttributeBooleanValue

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



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#ena_supportTypes::AttributeBooleanValue

Indicates whether enhanced networking with ENA is enabled.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#groupsArray<Types::GroupIdentifier>

The security groups associated with the instance.

Returns:



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#instance_initiated_shutdown_behaviorTypes::AttributeValue

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



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#instance_typeTypes::AttributeValue

The instance type.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#kernel_idTypes::AttributeValue

The kernel ID.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#product_codesArray<Types::ProductCode>

A list of product codes.

Returns:



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#ramdisk_idTypes::AttributeValue

The RAM disk ID.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#root_device_nameTypes::AttributeValue

The name of the root device (for example, /dev/sda1 or /dev/xvda).



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#source_dest_checkTypes::AttributeBooleanValue

Indicates whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#sriov_net_supportTypes::AttributeValue

Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end

#user_dataTypes::AttributeValue

The user data.



15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15235

class InstanceAttribute < Struct.new(
  :groups,
  :block_device_mappings,
  :disable_api_termination,
  :ena_support,
  :ebs_optimized,
  :instance_id,
  :instance_initiated_shutdown_behavior,
  :instance_type,
  :kernel_id,
  :product_codes,
  :ramdisk_id,
  :root_device_name,
  :source_dest_check,
  :sriov_net_support,
  :user_data)
  include Aws::Structure
end