Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Interface GetGroupPolicyCommandOutputProtected

The output of GetGroupPolicyCommand.



$metadata: ResponseMetadata

Metadata pertaining to this request.

GroupName: undefined | string

The group the policy is associated with.

PolicyDocument: undefined | string

The policy document.

IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

PolicyName: undefined | string

The name of the policy.