Skip to content

CheckAccessNotGrantedRequest

Source code in docs_src/capo_accessanalyzer/types/check_access_not_granted_request.py
class CheckAccessNotGrantedRequest(TypedDict, closed=True):
    policy_document: "capo_accessanalyzer.types.access_check_policy_document.AccessCheckPolicyDocument"
    """<p>The JSON policy document to use as the content for the policy.</p>"""
    access: "capo_accessanalyzer.types.access_list.AccessList"
    """<p>An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access to peform at least one of the actions on any resource in the policy. If only resources are specified, then IAM Access Analyzer checks for access to perform any action on at least one of the resources. If both actions and resources are specified, IAM Access Analyzer checks for access to perform at least one of the specified actions on at least one of the specified resources.</p>"""
    policy_type: (
        "capo_accessanalyzer.types.access_check_policy_type.AccessCheckPolicyType"
    )
    """<p>The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.</p> <p>Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets.</p>"""

access instance-attribute

access: AccessList

An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access to peform at least one of the actions on any resource in the policy. If only resources are specified, then IAM Access Analyzer checks for access to perform any action on at least one of the resources. If both actions and resources are specified, IAM Access Analyzer checks for access to perform at least one of the specified actions on at least one of the specified resources.

policy_document instance-attribute

policy_document: AccessCheckPolicyDocument

The JSON policy document to use as the content for the policy.

policy_type instance-attribute

policy_type: AccessCheckPolicyType

The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.

Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets.