Skip to content

GetUserPolicyResponse

Source code in docs_src/capo_iam/types/get_user_policy_response.py
class GetUserPolicyResponse(TypedDict, closed=True):
    user_name: "capo_iam.types.existing_user_name_type.existingUserNameType"
    """<p>The user the policy is associated with.</p>"""
    policy_name: "capo_iam.types.policy_name_type.policyNameType"
    """<p>The name of the policy.</p>"""
    policy_document: "capo_iam.types.policy_document_type.policyDocumentType"
    """<p>The policy document.</p> <p>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.</p>"""

policy_document instance-attribute

policy_document: policyDocumentType

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.

policy_name instance-attribute

policy_name: policyNameType

The name of the policy.

user_name instance-attribute

The user the policy is associated with.