Skip to content

InstanceAttribute

Source code in docs_src/capo_ec2/types/instance_attribute.py
class InstanceAttribute(TypedDict, closed=True):
    block_device_mappings: NotRequired[
        "capo_ec2.types.instance_block_device_mapping_list.InstanceBlockDeviceMappingList"
    ]
    """<p>The block device mapping of the instance.</p>"""
    disable_api_termination: NotRequired[
        "capo_ec2.types.attribute_boolean_value.AttributeBooleanValue"
    ]
    """<p>Indicates whether termination protection is enabled. If the value is <code>true</code>, you can't terminate the instance using the Amazon EC2 console, command line tools, or API.</p>"""
    ena_support: NotRequired[
        "capo_ec2.types.attribute_boolean_value.AttributeBooleanValue"
    ]
    """<p>Indicates whether enhanced networking with ENA is enabled.</p>"""
    enclave_options: NotRequired["capo_ec2.types.enclave_options.EnclaveOptions"]
    """<p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.</p>"""
    ebs_optimized: NotRequired[
        "capo_ec2.types.attribute_boolean_value.AttributeBooleanValue"
    ]
    """<p>Indicates whether the instance is optimized for Amazon EBS I/O.</p>"""
    instance_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the instance.</p>"""
    instance_initiated_shutdown_behavior: NotRequired[
        "capo_ec2.types.attribute_value.AttributeValue"
    ]
    """<p>Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).</p>"""
    instance_type: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The instance type.</p>"""
    kernel_id: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The kernel ID.</p>"""
    product_codes: NotRequired["capo_ec2.types.product_code_list.ProductCodeList"]
    """<p>The product codes.</p>"""
    ramdisk_id: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The RAM disk ID.</p>"""
    root_device_name: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The device name of the root device volume (for example, <code>/dev/sda1</code>).</p>"""
    source_dest_check: NotRequired[
        "capo_ec2.types.attribute_boolean_value.AttributeBooleanValue"
    ]
    """<p>Indicates whether source/destination checks are enabled.</p>"""
    sriov_net_support: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>"""
    user_data: NotRequired["capo_ec2.types.attribute_value.AttributeValue"]
    """<p>The user data.</p>"""
    disable_api_stop: NotRequired[
        "capo_ec2.types.attribute_boolean_value.AttributeBooleanValue"
    ]
    """<p>Indicates whether stop protection is enabled for the instance.</p>"""
    groups: NotRequired["capo_ec2.types.group_identifier_list.GroupIdentifierList"]
    """<p>The security groups associated with the instance.</p>"""

block_device_mappings instance-attribute

block_device_mappings: NotRequired[InstanceBlockDeviceMappingList]

The block device mapping of the instance.

disable_api_stop instance-attribute

disable_api_stop: NotRequired[AttributeBooleanValue]

Indicates whether stop protection is enabled for the instance.

disable_api_termination instance-attribute

disable_api_termination: NotRequired[AttributeBooleanValue]

Indicates whether termination protection is enabled. If the value is true, you can't terminate the instance using the Amazon EC2 console, command line tools, or API.

ebs_optimized instance-attribute

ebs_optimized: NotRequired[AttributeBooleanValue]

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

ena_support instance-attribute

ena_support: NotRequired[AttributeBooleanValue]

Indicates whether enhanced networking with ENA is enabled.

enclave_options instance-attribute

enclave_options: NotRequired[EnclaveOptions]

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

groups instance-attribute

groups: NotRequired[GroupIdentifierList]

The security groups associated with the instance.

instance_id instance-attribute

instance_id: NotRequired[String]

The ID of the instance.

instance_initiated_shutdown_behavior instance-attribute

instance_initiated_shutdown_behavior: NotRequired[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 instance-attribute

instance_type: NotRequired[AttributeValue]

The instance type.

kernel_id instance-attribute

kernel_id: NotRequired[AttributeValue]

The kernel ID.

product_codes instance-attribute

product_codes: NotRequired[ProductCodeList]

The product codes.

ramdisk_id instance-attribute

ramdisk_id: NotRequired[AttributeValue]

The RAM disk ID.

root_device_name instance-attribute

root_device_name: NotRequired[AttributeValue]

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

source_dest_check instance-attribute

source_dest_check: NotRequired[AttributeBooleanValue]

Indicates whether source/destination checks are enabled.

sriov_net_support instance-attribute

sriov_net_support: NotRequired[AttributeValue]

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

user_data instance-attribute

user_data: NotRequired[AttributeValue]

The user data.