v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Gets information about the specified policy with the policy document of the default version.

Requires permission to access the GetPolicy action.

get/policies/{policyName}

Path parameters

policyNamestring required

The name of the policy.

Response

Success

policyNamestring

The policy name.

policyArnstring

The policy ARN.

policyDocumentstring

The JSON document that describes the policy.

defaultVersionIdstring

The default policy version ID.

creationDatestring date-time

The date the policy was created.

lastModifiedDatestring date-time

The date the policy was last modified.

generationIdstring

The generation ID of the policy.