import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone. */ export declare function getPolicyGrant(args: GetPolicyGrantArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPolicyGrantArgs { /** * The ID of the domain where you want to add a policy grant. */ domainIdentifier: string; /** * The ID of the entity (resource) to which you want to add a policy grant. */ entityIdentifier: string; /** * The type of entity (resource) to which the grant is added. */ entityType: enums.datazone.PolicyGrantTargetEntityType; /** * The unique identifier of the policy grant returned by the AddPolicyGrant API */ grantId: string; /** * The type of policy that you want to grant. */ policyType: enums.datazone.PolicyGrantManagedPolicyType; } export interface GetPolicyGrantResult { /** * Specifies the timestamp at which policy grant member was created. */ readonly createdAt?: string; /** * Specifies the user who created the policy grant member. */ readonly createdBy?: string; /** * The unique identifier of the policy grant returned by the AddPolicyGrant API */ readonly grantId?: string; } /** * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone. */ export declare function getPolicyGrantOutput(args: GetPolicyGrantOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetPolicyGrantOutputArgs { /** * The ID of the domain where you want to add a policy grant. */ domainIdentifier: pulumi.Input; /** * The ID of the entity (resource) to which you want to add a policy grant. */ entityIdentifier: pulumi.Input; /** * The type of entity (resource) to which the grant is added. */ entityType: pulumi.Input; /** * The unique identifier of the policy grant returned by the AddPolicyGrant API */ grantId: pulumi.Input; /** * The type of policy that you want to grant. */ policyType: pulumi.Input; }