PolicyDefinitionItem - Amazon Verified Permissions

PolicyDefinitionItem

A structure that describes a PolicyDefinintion. It will always have either an StaticPolicy or a TemplateLinkedPolicy element.

This data type is used as a response parameter for the CreatePolicy and ListPolicies operations.

Contents

Note

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

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

static

Information about a static policy that wasn't created with a policy template.

Type: StaticPolicyDefinitionItem object

Required: No

templateLinked

Information about a template-linked policy that was created by instantiating a policy template.

Type: TemplateLinkedPolicyDefinitionItem object

Required: No

See Also

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