1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. datazone
  6. getPolicyGrant

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    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.

    Using getPolicyGrant

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPolicyGrant(args: GetPolicyGrantArgs, opts?: InvokeOptions): Promise<GetPolicyGrantResult>
    function getPolicyGrantOutput(args: GetPolicyGrantOutputArgs, opts?: InvokeOutputOptions): Output<GetPolicyGrantResult>
    def get_policy_grant(domain_identifier: Optional[str] = None,
                         entity_identifier: Optional[str] = None,
                         entity_type: Optional[PolicyGrantTargetEntityType] = None,
                         grant_id: Optional[str] = None,
                         policy_type: Optional[PolicyGrantManagedPolicyType] = None,
                         opts: Optional[InvokeOptions] = None) -> GetPolicyGrantResult
    def get_policy_grant_output(domain_identifier: pulumi.Input[Optional[str]] = None,
                         entity_identifier: pulumi.Input[Optional[str]] = None,
                         entity_type: pulumi.Input[Optional[PolicyGrantTargetEntityType]] = None,
                         grant_id: pulumi.Input[Optional[str]] = None,
                         policy_type: pulumi.Input[Optional[PolicyGrantManagedPolicyType]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetPolicyGrantResult]
    func LookupPolicyGrant(ctx *Context, args *LookupPolicyGrantArgs, opts ...InvokeOption) (*LookupPolicyGrantResult, error)
    func LookupPolicyGrantOutput(ctx *Context, args *LookupPolicyGrantOutputArgs, opts ...InvokeOption) LookupPolicyGrantResultOutput

    > Note: This function is named LookupPolicyGrant in the Go SDK.

    public static class GetPolicyGrant 
    {
        public static Task<GetPolicyGrantResult> InvokeAsync(GetPolicyGrantArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyGrantResult> Invoke(GetPolicyGrantInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyGrantResult> Invoke(GetPolicyGrantInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetPolicyGrantResult> getPolicyGrant(GetPolicyGrantArgs args, InvokeOptions options)
    public static Output<GetPolicyGrantResult> getPolicyGrant(GetPolicyGrantArgs args, InvokeOptions options)
    public static Output<GetPolicyGrantResult> getPolicyGrant(GetPolicyGrantArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:datazone:getPolicyGrant
      arguments:
        # arguments dictionary
    data "aws-native_datazone_get_policy_grant" "name" {
        # arguments
    }

    The following arguments are supported:

    DomainIdentifier string
    The ID of the domain where you want to add a policy grant.
    EntityIdentifier string
    The ID of the entity (resource) to which you want to add a policy grant.
    EntityType Pulumi.AwsNative.DataZone.PolicyGrantTargetEntityType
    The type of entity (resource) to which the grant is added.
    GrantId string
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    PolicyType Pulumi.AwsNative.DataZone.PolicyGrantManagedPolicyType
    The type of policy that you want to grant.
    DomainIdentifier string
    The ID of the domain where you want to add a policy grant.
    EntityIdentifier string
    The ID of the entity (resource) to which you want to add a policy grant.
    EntityType PolicyGrantTargetEntityType
    The type of entity (resource) to which the grant is added.
    GrantId string
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    PolicyType PolicyGrantManagedPolicyType
    The type of policy that you want to grant.
    domain_identifier string
    The ID of the domain where you want to add a policy grant.
    entity_identifier string
    The ID of the entity (resource) to which you want to add a policy grant.
    entity_type "DOMAIN_UNIT" | "ENVIRONMENT_BLUEPRINT_CONFIGURATION" | "ENVIRONMENT_PROFILE" | "ASSET_TYPE"
    The type of entity (resource) to which the grant is added.
    grant_id string
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    policy_type "CREATE_DOMAIN_UNIT" | "OVERRIDE_DOMAIN_UNIT_OWNERS" | "ADD_TO_PROJECT_MEMBER_POOL" | "OVERRIDE_PROJECT_OWNERS" | "CREATE_GLOSSARY" | "CREATE_FORM_TYPE" | "CREATE_ASSET_TYPE" | "CREATE_PROJECT" | "CREATE_ENVIRONMENT_PROFILE" | "DELEGATE_CREATE_ENVIRONMENT_PROFILE" | "CREATE_ENVIRONMENT" | "CREATE_ENVIRONMENT_FROM_BLUEPRINT" | "CREATE_PROJECT_FROM_PROJECT_PROFILE"
    The type of policy that you want to grant.
    domainIdentifier String
    The ID of the domain where you want to add a policy grant.
    entityIdentifier String
    The ID of the entity (resource) to which you want to add a policy grant.
    entityType PolicyGrantTargetEntityType
    The type of entity (resource) to which the grant is added.
    grantId String
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    policyType PolicyGrantManagedPolicyType
    The type of policy that you want to grant.
    domainIdentifier string
    The ID of the domain where you want to add a policy grant.
    entityIdentifier string
    The ID of the entity (resource) to which you want to add a policy grant.
    entityType PolicyGrantTargetEntityType
    The type of entity (resource) to which the grant is added.
    grantId string
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    policyType PolicyGrantManagedPolicyType
    The type of policy that you want to grant.
    domain_identifier str
    The ID of the domain where you want to add a policy grant.
    entity_identifier str
    The ID of the entity (resource) to which you want to add a policy grant.
    entity_type PolicyGrantTargetEntityType
    The type of entity (resource) to which the grant is added.
    grant_id str
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    policy_type PolicyGrantManagedPolicyType
    The type of policy that you want to grant.
    domainIdentifier String
    The ID of the domain where you want to add a policy grant.
    entityIdentifier String
    The ID of the entity (resource) to which you want to add a policy grant.
    entityType "DOMAIN_UNIT" | "ENVIRONMENT_BLUEPRINT_CONFIGURATION" | "ENVIRONMENT_PROFILE" | "ASSET_TYPE"
    The type of entity (resource) to which the grant is added.
    grantId String
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    policyType "CREATE_DOMAIN_UNIT" | "OVERRIDE_DOMAIN_UNIT_OWNERS" | "ADD_TO_PROJECT_MEMBER_POOL" | "OVERRIDE_PROJECT_OWNERS" | "CREATE_GLOSSARY" | "CREATE_FORM_TYPE" | "CREATE_ASSET_TYPE" | "CREATE_PROJECT" | "CREATE_ENVIRONMENT_PROFILE" | "DELEGATE_CREATE_ENVIRONMENT_PROFILE" | "CREATE_ENVIRONMENT" | "CREATE_ENVIRONMENT_FROM_BLUEPRINT" | "CREATE_PROJECT_FROM_PROJECT_PROFILE"
    The type of policy that you want to grant.

    getPolicyGrant Result

    The following output properties are available:

    CreatedAt string
    Specifies the timestamp at which policy grant member was created.
    CreatedBy string
    Specifies the user who created the policy grant member.
    GrantId string
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    CreatedAt string
    Specifies the timestamp at which policy grant member was created.
    CreatedBy string
    Specifies the user who created the policy grant member.
    GrantId string
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    created_at string
    Specifies the timestamp at which policy grant member was created.
    created_by string
    Specifies the user who created the policy grant member.
    grant_id string
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    createdAt String
    Specifies the timestamp at which policy grant member was created.
    createdBy String
    Specifies the user who created the policy grant member.
    grantId String
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    createdAt string
    Specifies the timestamp at which policy grant member was created.
    createdBy string
    Specifies the user who created the policy grant member.
    grantId string
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    created_at str
    Specifies the timestamp at which policy grant member was created.
    created_by str
    Specifies the user who created the policy grant member.
    grant_id str
    The unique identifier of the policy grant returned by the AddPolicyGrant API
    createdAt String
    Specifies the timestamp at which policy grant member was created.
    createdBy String
    Specifies the user who created the policy grant member.
    grantId String
    The unique identifier of the policy grant returned by the AddPolicyGrant API

    Supporting Types

    PolicyGrantManagedPolicyType

    NameValue
    CreateDomainUnitCREATE_DOMAIN_UNIT
    OverrideDomainUnitOwnersOVERRIDE_DOMAIN_UNIT_OWNERS
    AddToProjectMemberPoolADD_TO_PROJECT_MEMBER_POOL
    OverrideProjectOwnersOVERRIDE_PROJECT_OWNERS
    CreateGlossaryCREATE_GLOSSARY
    CreateFormTypeCREATE_FORM_TYPE
    CreateAssetTypeCREATE_ASSET_TYPE
    CreateProjectCREATE_PROJECT
    CreateEnvironmentProfileCREATE_ENVIRONMENT_PROFILE
    DelegateCreateEnvironmentProfileDELEGATE_CREATE_ENVIRONMENT_PROFILE
    CreateEnvironmentCREATE_ENVIRONMENT
    CreateEnvironmentFromBlueprintCREATE_ENVIRONMENT_FROM_BLUEPRINT
    CreateProjectFromProjectProfileCREATE_PROJECT_FROM_PROJECT_PROFILE
    NameValue
    PolicyGrantManagedPolicyTypeCreateDomainUnitCREATE_DOMAIN_UNIT
    PolicyGrantManagedPolicyTypeOverrideDomainUnitOwnersOVERRIDE_DOMAIN_UNIT_OWNERS
    PolicyGrantManagedPolicyTypeAddToProjectMemberPoolADD_TO_PROJECT_MEMBER_POOL
    PolicyGrantManagedPolicyTypeOverrideProjectOwnersOVERRIDE_PROJECT_OWNERS
    PolicyGrantManagedPolicyTypeCreateGlossaryCREATE_GLOSSARY
    PolicyGrantManagedPolicyTypeCreateFormTypeCREATE_FORM_TYPE
    PolicyGrantManagedPolicyTypeCreateAssetTypeCREATE_ASSET_TYPE
    PolicyGrantManagedPolicyTypeCreateProjectCREATE_PROJECT
    PolicyGrantManagedPolicyTypeCreateEnvironmentProfileCREATE_ENVIRONMENT_PROFILE
    PolicyGrantManagedPolicyTypeDelegateCreateEnvironmentProfileDELEGATE_CREATE_ENVIRONMENT_PROFILE
    PolicyGrantManagedPolicyTypeCreateEnvironmentCREATE_ENVIRONMENT
    PolicyGrantManagedPolicyTypeCreateEnvironmentFromBlueprintCREATE_ENVIRONMENT_FROM_BLUEPRINT
    PolicyGrantManagedPolicyTypeCreateProjectFromProjectProfileCREATE_PROJECT_FROM_PROJECT_PROFILE
    Value
    CREATE_DOMAIN_UNIT
    OVERRIDE_DOMAIN_UNIT_OWNERS
    ADD_TO_PROJECT_MEMBER_POOL
    OVERRIDE_PROJECT_OWNERS
    CREATE_GLOSSARY
    CREATE_FORM_TYPE
    CREATE_ASSET_TYPE
    CREATE_PROJECT
    CREATE_ENVIRONMENT_PROFILE
    DELEGATE_CREATE_ENVIRONMENT_PROFILE
    CREATE_ENVIRONMENT
    CREATE_ENVIRONMENT_FROM_BLUEPRINT
    CREATE_PROJECT_FROM_PROJECT_PROFILE
    NameValue
    CreateDomainUnitCREATE_DOMAIN_UNIT
    OverrideDomainUnitOwnersOVERRIDE_DOMAIN_UNIT_OWNERS
    AddToProjectMemberPoolADD_TO_PROJECT_MEMBER_POOL
    OverrideProjectOwnersOVERRIDE_PROJECT_OWNERS
    CreateGlossaryCREATE_GLOSSARY
    CreateFormTypeCREATE_FORM_TYPE
    CreateAssetTypeCREATE_ASSET_TYPE
    CreateProjectCREATE_PROJECT
    CreateEnvironmentProfileCREATE_ENVIRONMENT_PROFILE
    DelegateCreateEnvironmentProfileDELEGATE_CREATE_ENVIRONMENT_PROFILE
    CreateEnvironmentCREATE_ENVIRONMENT
    CreateEnvironmentFromBlueprintCREATE_ENVIRONMENT_FROM_BLUEPRINT
    CreateProjectFromProjectProfileCREATE_PROJECT_FROM_PROJECT_PROFILE
    NameValue
    CreateDomainUnitCREATE_DOMAIN_UNIT
    OverrideDomainUnitOwnersOVERRIDE_DOMAIN_UNIT_OWNERS
    AddToProjectMemberPoolADD_TO_PROJECT_MEMBER_POOL
    OverrideProjectOwnersOVERRIDE_PROJECT_OWNERS
    CreateGlossaryCREATE_GLOSSARY
    CreateFormTypeCREATE_FORM_TYPE
    CreateAssetTypeCREATE_ASSET_TYPE
    CreateProjectCREATE_PROJECT
    CreateEnvironmentProfileCREATE_ENVIRONMENT_PROFILE
    DelegateCreateEnvironmentProfileDELEGATE_CREATE_ENVIRONMENT_PROFILE
    CreateEnvironmentCREATE_ENVIRONMENT
    CreateEnvironmentFromBlueprintCREATE_ENVIRONMENT_FROM_BLUEPRINT
    CreateProjectFromProjectProfileCREATE_PROJECT_FROM_PROJECT_PROFILE
    NameValue
    CREATE_DOMAIN_UNITCREATE_DOMAIN_UNIT
    OVERRIDE_DOMAIN_UNIT_OWNERSOVERRIDE_DOMAIN_UNIT_OWNERS
    ADD_TO_PROJECT_MEMBER_POOLADD_TO_PROJECT_MEMBER_POOL
    OVERRIDE_PROJECT_OWNERSOVERRIDE_PROJECT_OWNERS
    CREATE_GLOSSARYCREATE_GLOSSARY
    CREATE_FORM_TYPECREATE_FORM_TYPE
    CREATE_ASSET_TYPECREATE_ASSET_TYPE
    CREATE_PROJECTCREATE_PROJECT
    CREATE_ENVIRONMENT_PROFILECREATE_ENVIRONMENT_PROFILE
    DELEGATE_CREATE_ENVIRONMENT_PROFILEDELEGATE_CREATE_ENVIRONMENT_PROFILE
    CREATE_ENVIRONMENTCREATE_ENVIRONMENT
    CREATE_ENVIRONMENT_FROM_BLUEPRINTCREATE_ENVIRONMENT_FROM_BLUEPRINT
    CREATE_PROJECT_FROM_PROJECT_PROFILECREATE_PROJECT_FROM_PROJECT_PROFILE
    Value
    CREATE_DOMAIN_UNIT
    OVERRIDE_DOMAIN_UNIT_OWNERS
    ADD_TO_PROJECT_MEMBER_POOL
    OVERRIDE_PROJECT_OWNERS
    CREATE_GLOSSARY
    CREATE_FORM_TYPE
    CREATE_ASSET_TYPE
    CREATE_PROJECT
    CREATE_ENVIRONMENT_PROFILE
    DELEGATE_CREATE_ENVIRONMENT_PROFILE
    CREATE_ENVIRONMENT
    CREATE_ENVIRONMENT_FROM_BLUEPRINT
    CREATE_PROJECT_FROM_PROJECT_PROFILE

    PolicyGrantTargetEntityType

    NameValue
    DomainUnitDOMAIN_UNIT
    EnvironmentBlueprintConfigurationENVIRONMENT_BLUEPRINT_CONFIGURATION
    EnvironmentProfileENVIRONMENT_PROFILE
    AssetTypeASSET_TYPE
    NameValue
    PolicyGrantTargetEntityTypeDomainUnitDOMAIN_UNIT
    PolicyGrantTargetEntityTypeEnvironmentBlueprintConfigurationENVIRONMENT_BLUEPRINT_CONFIGURATION
    PolicyGrantTargetEntityTypeEnvironmentProfileENVIRONMENT_PROFILE
    PolicyGrantTargetEntityTypeAssetTypeASSET_TYPE
    Value
    DOMAIN_UNIT
    ENVIRONMENT_BLUEPRINT_CONFIGURATION
    ENVIRONMENT_PROFILE
    ASSET_TYPE
    NameValue
    DomainUnitDOMAIN_UNIT
    EnvironmentBlueprintConfigurationENVIRONMENT_BLUEPRINT_CONFIGURATION
    EnvironmentProfileENVIRONMENT_PROFILE
    AssetTypeASSET_TYPE
    NameValue
    DomainUnitDOMAIN_UNIT
    EnvironmentBlueprintConfigurationENVIRONMENT_BLUEPRINT_CONFIGURATION
    EnvironmentProfileENVIRONMENT_PROFILE
    AssetTypeASSET_TYPE
    NameValue
    DOMAIN_UNITDOMAIN_UNIT
    ENVIRONMENT_BLUEPRINT_CONFIGURATIONENVIRONMENT_BLUEPRINT_CONFIGURATION
    ENVIRONMENT_PROFILEENVIRONMENT_PROFILE
    ASSET_TYPEASSET_TYPE
    Value
    DOMAIN_UNIT
    ENVIRONMENT_BLUEPRINT_CONFIGURATION
    ENVIRONMENT_PROFILE
    ASSET_TYPE

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial