def METHOD_NAME(name: Optional[str] = None,
                                 opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccessPolicyIamPolicyResult:
    """
    Retrieves the current IAM policy data for accesspolicy
    ## example
    ```python
    import pulumi
    import pulumi_gcp as gcp
    policy = gcp.accesscontextmanager.get_access_policy_iam_policy(name=google_access_context_manager_access_policy["access-policy"]["name"])
    ```
    :param str name: Used to find the parent resource to bind the IAM policy to
    """
    __args__ = dict()
    __args__['name'] = name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('gcp:accesscontextmanager/getAccessPolicyIamPolicy:getAccessPolicyIamPolicy', __args__, opts=opts, typ=GetAccessPolicyIamPolicyResult).value
    return AwaitableGetAccessPolicyIamPolicyResult(
        etag=pulumi.get(__ret__, 'etag'),
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        policy_data=pulumi.get(__ret__, 'policy_data'))