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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes an instance attribute.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#block_device_mappings ⇒ Array<Types::InstanceBlockDeviceMapping>

The block device mapping of the instance.

Returns:

#disable_api_termination ⇒ Types::AttributeBooleanValue

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

Returns:

  • (Types::AttributeBooleanValue) —

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

#ebs_optimized ⇒ Types::AttributeBooleanValue

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

Returns:

#ena_support ⇒ Types::AttributeBooleanValue

Indicates whether enhanced networking with ENA is enabled.

Returns:

#enclave_options ⇒ Types::EnclaveOptions

To enable the instance for AWS Nitro Enclaves, set this parameter to true; otherwise, set it to false.

Returns:

  • (Types::EnclaveOptions) —

    To enable the instance for AWS Nitro Enclaves, set this parameter to true; otherwise, set it to false.

#groups ⇒ Array<Types::GroupIdentifier>

The security groups associated with the instance.

Returns:

#instance_id ⇒ String

The ID of the instance.

Returns:

  • (String) —

    The ID of the instance.

#instance_initiated_shutdown_behavior ⇒ Types::AttributeValue

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

Returns:

  • (Types::AttributeValue) —

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

#instance_type ⇒ Types::AttributeValue

The instance type.

Returns:

#kernel_id ⇒ Types::AttributeValue

The kernel ID.

Returns:

#product_codes ⇒ Array<Types::ProductCode>

A list of product codes.

Returns:

#ramdisk_id ⇒ Types::AttributeValue

The RAM disk ID.

Returns:

#root_device_name ⇒ Types::AttributeValue

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

Returns:

#source_dest_check ⇒ Types::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.

Returns:

#sriov_net_support ⇒ Types::AttributeValue

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

Returns:

  • (Types::AttributeValue) —

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

#user_data ⇒ Types::AttributeValue

The user data.

Returns: