View a markdown version of this page

ContextFilters - AWS Network Firewall

ContextFilters

Filters for ListResourcesInContextStore. Both filters are optional. If you specify both, Network Firewall returns only the resources that match both.

Contents

Region

The AWS Region of the resources to return, for example us-east-1.

Type: String

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

Required: No

ResourceType

The type of resource to return. Each resource type corresponds to the ContextType that Network Firewall reports for the resource:

  • SecurityGroup - Security groups. Reported with the SegmentId context type.

  • VPC - VPCs. Reported with the ResourceId context type.

  • Subnet - Subnets. Reported with the Subnet context type.

  • TGWAttachment - Transit gateway attachments. Reported with the Attachment context type.

Type: String

Valid Values: SecurityGroup | VPC | Subnet | TGWAttachment

Required: No

See Also

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