Skip to content

Instance

Source code in docs_src/capo_snow_device_management/types/instance.py
class Instance(TypedDict, closed=True):
    image_id: NotRequired["str"]
    """<p>The ID of the AMI used to launch the instance.</p>"""
    ami_launch_index: NotRequired["int"]
    """<p>The Amazon Machine Image (AMI) launch index, which you can use to find this instance in the launch group. </p>"""
    instance_id: NotRequired["str"]
    """<p>The ID of the instance.</p>"""
    state: NotRequired["capo_snow_device_management.types.instance_state.InstanceState"]
    instance_type: NotRequired["str"]
    """<p>The instance type.</p>"""
    private_ip_address: NotRequired["str"]
    """<p>The private IPv4 address assigned to the instance.</p>"""
    public_ip_address: NotRequired["str"]
    """<p>The public IPv4 address assigned to the instance.</p>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>When the instance was created.</p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>When the instance was last updated.</p>"""
    block_device_mappings: NotRequired[
        "capo_snow_device_management.types.instance_block_device_mapping_list.InstanceBlockDeviceMappingList"
    ]
    """<p>Any block device mapping entries for the instance.</p>"""
    security_groups: NotRequired[
        "capo_snow_device_management.types.security_group_identifier_list.SecurityGroupIdentifierList"
    ]
    """<p>The security groups for the instance.</p>"""
    cpu_options: NotRequired["capo_snow_device_management.types.cpu_options.CpuOptions"]
    """<p>The CPU options for the instance.</p>"""
    root_device_name: NotRequired["str"]
    """<p>The device name of the root device volume (for example, <code>/dev/sda1</code>). </p>"""

ami_launch_index instance-attribute

ami_launch_index: NotRequired[int]

The Amazon Machine Image (AMI) launch index, which you can use to find this instance in the launch group.

block_device_mappings instance-attribute

block_device_mappings: NotRequired[InstanceBlockDeviceMappingList]

Any block device mapping entries for the instance.

cpu_options instance-attribute

cpu_options: NotRequired[CpuOptions]

The CPU options for the instance.

created_at instance-attribute

created_at: NotRequired[datetime]

When the instance was created.

image_id instance-attribute

image_id: NotRequired[str]

The ID of the AMI used to launch the instance.

instance_id instance-attribute

instance_id: NotRequired[str]

The ID of the instance.

instance_type instance-attribute

instance_type: NotRequired[str]

The instance type.

private_ip_address instance-attribute

private_ip_address: NotRequired[str]

The private IPv4 address assigned to the instance.

public_ip_address instance-attribute

public_ip_address: NotRequired[str]

The public IPv4 address assigned to the instance.

root_device_name instance-attribute

root_device_name: NotRequired[str]

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

security_groups instance-attribute

security_groups: NotRequired[SecurityGroupIdentifierList]

The security groups for the instance.

state instance-attribute

state: NotRequired[InstanceState]

updated_at instance-attribute

updated_at: NotRequired[datetime]

When the instance was last updated.