View a markdown version of this page

ResourceContext - AWS Network Firewall

ResourceContext

A resource that a context store records, which ListResourcesInContextStore returns.

Contents

PublicId

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

Type: String

Required: Yes

AttachmentType

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

Type: String

Required: No

AvailabilityZone

The Availability Zone of the resource. Present for subnets.

Type: String

Required: No

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.

Type: String

Valid Values: ResourceId | SegmentId | Subnet | Attachment

Required: No

Region

The AWS Region of the resource.

Type: String

Pattern: ^[a-z]{2}(-[a-z]+)+-\d+$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: