Skip to content

ResourceContext

Source code in docs_src/capo_network_firewall/types/resource_context.py
class ResourceContext(TypedDict, closed=True):
    context_type: NotRequired["capo_network_firewall.types.context_type.ContextType"]
    """<p>The kind of context that the context store records for the resource. Valid values:</p> <ul> <li> <p> <code>ResourceId</code> - A VPC.</p> </li> <li> <p> <code>SegmentId</code> - A security group.</p> </li> <li> <p> <code>Subnet</code> - A subnet.</p> </li> <li> <p> <code>Attachment</code> - A transit gateway attachment.</p> </li> </ul>"""
    region: NotRequired["capo_network_firewall.types.region.Region"]
    """<p>The Amazon Web Services Region of the resource.</p>"""
    availability_zone: NotRequired[
        "capo_network_firewall.types.availability_zone.AvailabilityZone"
    ]
    """<p>The Availability Zone of the resource. Present for subnets.</p>"""
    attachment_type: NotRequired[
        "capo_network_firewall.types.attachment_type.AttachmentType"
    ]
    """<p>The type of the transit gateway attachment. Present for attachments.</p>"""
    public_id: "capo_network_firewall.types.public_id.PublicId"
    """<p>The identifier of the resource, for example <code>vpc-1234567890abcdef0</code>, <code>subnet-1234567890abcdef0</code>, <code>sg-1234567890abcdef0</code>, or <code>tgw-attach-1234567890abcdef0</code>.</p>"""

attachment_type instance-attribute

attachment_type: NotRequired[AttachmentType]

The type of the transit gateway attachment. Present for attachments.

availability_zone instance-attribute

availability_zone: NotRequired[AvailabilityZone]

The Availability Zone of the resource. Present for subnets.

context_type instance-attribute

context_type: NotRequired[ContextType]

The kind of context that the context store records for the resource. Valid values:

  • ResourceId - A VPC.

  • SegmentId - A security group.

  • Subnet - A subnet.

  • Attachment - A transit gateway attachment.

public_id instance-attribute

public_id: PublicId

The identifier of the resource, for example vpc-1234567890abcdef0, subnet-1234567890abcdef0, sg-1234567890abcdef0, or tgw-attach-1234567890abcdef0.

region instance-attribute

region: NotRequired[Region]

The Amazon Web Services Region of the resource.