Skip to content

GetRolePolicyResponse

Source code in docs_src/capo_iam/types/get_role_policy_response.py
class GetRolePolicyResponse(TypedDict, closed=True):
    role_name: "capo_iam.types.role_name_type.roleNameType"
    """<p>The role 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.

role_name instance-attribute

role_name: roleNameType

The role the policy is associated with.