PolicyFilter - Amazon Verified Permissions
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

PolicyFilter

Contains information about a filter to refine policies returned in a query.

This data type is used as a response parameter for the ListPolicies operation.

Contents

Note

In the following list, the required parameters are described first.

policyTemplateId

Filters the output to only template-linked policies that were instantiated from the specified policy template.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: [a-zA-Z0-9-/_]*

Required: No

policyType

Filters the output to only policies of the specified type.

Type: String

Valid Values: STATIC | TEMPLATE_LINKED

Required: No

principal

Filters the output to only policies that reference the specified principal.

Type: EntityReference object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

resource

Filters the output to only policies that reference the specified resource.

Type: EntityReference object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

See Also

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