Skip to content

PolicyGrantingServiceAccess

Source code in docs_src/capo_iam/types/policy_granting_service_access.py
class PolicyGrantingServiceAccess(TypedDict, closed=True):
    policy_name: "capo_iam.types.policy_name_type.policyNameType"
    """<p>The policy name.</p>"""
    policy_type: "capo_iam.types.policy_type.policyType"
    """<p>The policy type. For more information about these policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html">Managed policies and inline policies</a> in the <i>IAM User Guide</i>.</p>"""
    policy_arn: NotRequired["capo_iam.types.arn_type.arnType"]
    entity_type: NotRequired[
        "capo_iam.types.policy_owner_entity_type.policyOwnerEntityType"
    ]
    """<p>The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.</p> <p>This field is null for managed policies. For more information about these policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html">Managed policies and inline policies</a> in the <i>IAM User Guide</i>.</p>"""
    entity_name: NotRequired["capo_iam.types.entity_name_type.entityNameType"]
    """<p>The name of the entity (user or role) to which the inline policy is attached.</p> <p>This field is null for managed policies. For more information about these policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html">Managed policies and inline policies</a> in the <i>IAM User Guide</i>.</p>"""

entity_name instance-attribute

entity_name: NotRequired[entityNameType]

The name of the entity (user or role) to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.

entity_type instance-attribute

entity_type: NotRequired[policyOwnerEntityType]

The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.

policy_arn instance-attribute

policy_arn: NotRequired[arnType]

policy_name instance-attribute

policy_name: policyNameType

The policy name.

policy_type instance-attribute

policy_type: policyType

The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.