Skip to content

ContextEntry

Source code in docs_src/capo_networkmanager/types/context_entry.py
class ContextEntry(TypedDict, closed=True):
    context_id: NotRequired[
        "capo_networkmanager.types.constrained_string.ConstrainedString"
    ]
    """<p>The ID of the context entry.</p>"""
    context_type: NotRequired[
        "capo_networkmanager.types.constrained_string.ConstrainedString"
    ]
    """<p>The type of the context entry, for example <code>SegmentId</code>, <code>Subnet</code>, or <code>Attachment</code>.</p>"""
    segment_type: NotRequired[
        "capo_networkmanager.types.constrained_string.ConstrainedString"
    ]
    """<p>The type of the segment, for example <code>SecurityGroup</code>. Network Manager returns this value only when the context type is <code>SegmentId</code>.</p>"""
    public_id: NotRequired[
        "capo_networkmanager.types.constrained_string.ConstrainedString"
    ]
    """<p>The ID of the resource, for example a security group ID, subnet ID, or transit gateway attachment ID.</p>"""
    region: NotRequired[
        "capo_networkmanager.types.external_region_code.ExternalRegionCode"
    ]
    """<p>The Amazon Web Services Region of the resource.</p>"""
    availability_zone: NotRequired[
        "capo_networkmanager.types.constrained_string.ConstrainedString"
    ]
    """<p>The ID of the Availability Zone of the resource, for example <code>use1-az2</code>. Network Manager returns this value only when the context type is <code>Subnet</code>.</p>"""
    attachment_type: NotRequired[
        "capo_networkmanager.types.constrained_string.ConstrainedString"
    ]
    """<p>The type of the attachment, for example <code>VPC</code>. Network Manager returns this value only when the context type is <code>Attachment</code>.</p>"""

attachment_type instance-attribute

attachment_type: NotRequired[ConstrainedString]

The type of the attachment, for example VPC. Network Manager returns this value only when the context type is Attachment.

availability_zone instance-attribute

availability_zone: NotRequired[ConstrainedString]

The ID of the Availability Zone of the resource, for example use1-az2. Network Manager returns this value only when the context type is Subnet.

context_id instance-attribute

context_id: NotRequired[ConstrainedString]

The ID of the context entry.

context_type instance-attribute

context_type: NotRequired[ConstrainedString]

The type of the context entry, for example SegmentId, Subnet, or Attachment.

public_id instance-attribute

public_id: NotRequired[ConstrainedString]

The ID of the resource, for example a security group ID, subnet ID, or transit gateway attachment ID.

region instance-attribute

region: NotRequired[ExternalRegionCode]

The Amazon Web Services Region of the resource.

segment_type instance-attribute

segment_type: NotRequired[ConstrainedString]

The type of the segment, for example SecurityGroup. Network Manager returns this value only when the context type is SegmentId.