published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Manages an AWS DataZone Policy Grant.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.datazone.PolicyGrant("example", {
detail: {
createDomainUnit: {},
},
principal: {
user: {
allUsersGrantFilter: {},
},
},
domainIdentifier: exampleAwsDatazoneDomain.id,
entityIdentifier: exampleAwsDatazoneDomain.rootDomainUnitId,
entityType: "DOMAIN_UNIT",
policyType: "CREATE_DOMAIN_UNIT",
});
import pulumi
import pulumi_aws as aws
example = aws.datazone.PolicyGrant("example",
detail={
"create_domain_unit": {},
},
principal={
"user": {
"all_users_grant_filter": {},
},
},
domain_identifier=example_aws_datazone_domain["id"],
entity_identifier=example_aws_datazone_domain["rootDomainUnitId"],
entity_type="DOMAIN_UNIT",
policy_type="CREATE_DOMAIN_UNIT")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/datazone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datazone.NewPolicyGrant(ctx, "example", &datazone.PolicyGrantArgs{
Detail: &datazone.PolicyGrantDetailArgs{
CreateDomainUnit: &datazone.PolicyGrantDetailCreateDomainUnitArgs{},
},
Principal: &datazone.PolicyGrantPrincipalArgs{
User: &datazone.PolicyGrantPrincipalUserArgs{
AllUsersGrantFilter: &datazone.PolicyGrantPrincipalUserAllUsersGrantFilterArgs{},
},
},
DomainIdentifier: pulumi.Any(exampleAwsDatazoneDomain.Id),
EntityIdentifier: pulumi.Any(exampleAwsDatazoneDomain.RootDomainUnitId),
EntityType: pulumi.String("DOMAIN_UNIT"),
PolicyType: pulumi.String("CREATE_DOMAIN_UNIT"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DataZone.PolicyGrant("example", new()
{
Detail = new Aws.DataZone.Inputs.PolicyGrantDetailArgs
{
CreateDomainUnit = null,
},
Principal = new Aws.DataZone.Inputs.PolicyGrantPrincipalArgs
{
User = new Aws.DataZone.Inputs.PolicyGrantPrincipalUserArgs
{
AllUsersGrantFilter = null,
},
},
DomainIdentifier = exampleAwsDatazoneDomain.Id,
EntityIdentifier = exampleAwsDatazoneDomain.RootDomainUnitId,
EntityType = "DOMAIN_UNIT",
PolicyType = "CREATE_DOMAIN_UNIT",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datazone.PolicyGrant;
import com.pulumi.aws.datazone.PolicyGrantArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantDetailArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantDetailCreateDomainUnitArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantPrincipalArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantPrincipalUserArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantPrincipalUserAllUsersGrantFilterArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new PolicyGrant("example", PolicyGrantArgs.builder()
.detail(PolicyGrantDetailArgs.builder()
.createDomainUnit(PolicyGrantDetailCreateDomainUnitArgs.builder()
.build())
.build())
.principal(PolicyGrantPrincipalArgs.builder()
.user(PolicyGrantPrincipalUserArgs.builder()
.allUsersGrantFilter(PolicyGrantPrincipalUserAllUsersGrantFilterArgs.builder()
.build())
.build())
.build())
.domainIdentifier(exampleAwsDatazoneDomain.id())
.entityIdentifier(exampleAwsDatazoneDomain.rootDomainUnitId())
.entityType("DOMAIN_UNIT")
.policyType("CREATE_DOMAIN_UNIT")
.build());
}
}
resources:
example:
type: aws:datazone:PolicyGrant
properties:
detail:
createDomainUnit: {}
principal:
user:
allUsersGrantFilter: {}
domainIdentifier: ${exampleAwsDatazoneDomain.id}
entityIdentifier: ${exampleAwsDatazoneDomain.rootDomainUnitId}
entityType: DOMAIN_UNIT
policyType: CREATE_DOMAIN_UNIT
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_datazone_policygrant" "example" {
detail = {
create_domain_unit = {}
}
principal = {
user = {
all_users_grant_filter = {}
}
}
domain_identifier = exampleAwsDatazoneDomain.id
entity_identifier = exampleAwsDatazoneDomain.rootDomainUnitId
entity_type = "DOMAIN_UNIT"
policy_type = "CREATE_DOMAIN_UNIT"
}
With Include Child Domain Units
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.datazone.PolicyGrant("example", {
detail: {
createDomainUnit: {
includeChildDomainUnits: true,
},
},
principal: {
user: {
allUsersGrantFilter: {},
},
},
domainIdentifier: exampleAwsDatazoneDomain.id,
entityIdentifier: exampleAwsDatazoneDomain.rootDomainUnitId,
entityType: "DOMAIN_UNIT",
policyType: "CREATE_DOMAIN_UNIT",
});
import pulumi
import pulumi_aws as aws
example = aws.datazone.PolicyGrant("example",
detail={
"create_domain_unit": {
"include_child_domain_units": True,
},
},
principal={
"user": {
"all_users_grant_filter": {},
},
},
domain_identifier=example_aws_datazone_domain["id"],
entity_identifier=example_aws_datazone_domain["rootDomainUnitId"],
entity_type="DOMAIN_UNIT",
policy_type="CREATE_DOMAIN_UNIT")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/datazone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datazone.NewPolicyGrant(ctx, "example", &datazone.PolicyGrantArgs{
Detail: &datazone.PolicyGrantDetailArgs{
CreateDomainUnit: &datazone.PolicyGrantDetailCreateDomainUnitArgs{
IncludeChildDomainUnits: pulumi.Bool(true),
},
},
Principal: &datazone.PolicyGrantPrincipalArgs{
User: &datazone.PolicyGrantPrincipalUserArgs{
AllUsersGrantFilter: &datazone.PolicyGrantPrincipalUserAllUsersGrantFilterArgs{},
},
},
DomainIdentifier: pulumi.Any(exampleAwsDatazoneDomain.Id),
EntityIdentifier: pulumi.Any(exampleAwsDatazoneDomain.RootDomainUnitId),
EntityType: pulumi.String("DOMAIN_UNIT"),
PolicyType: pulumi.String("CREATE_DOMAIN_UNIT"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DataZone.PolicyGrant("example", new()
{
Detail = new Aws.DataZone.Inputs.PolicyGrantDetailArgs
{
CreateDomainUnit = new Aws.DataZone.Inputs.PolicyGrantDetailCreateDomainUnitArgs
{
IncludeChildDomainUnits = true,
},
},
Principal = new Aws.DataZone.Inputs.PolicyGrantPrincipalArgs
{
User = new Aws.DataZone.Inputs.PolicyGrantPrincipalUserArgs
{
AllUsersGrantFilter = null,
},
},
DomainIdentifier = exampleAwsDatazoneDomain.Id,
EntityIdentifier = exampleAwsDatazoneDomain.RootDomainUnitId,
EntityType = "DOMAIN_UNIT",
PolicyType = "CREATE_DOMAIN_UNIT",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datazone.PolicyGrant;
import com.pulumi.aws.datazone.PolicyGrantArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantDetailArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantDetailCreateDomainUnitArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantPrincipalArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantPrincipalUserArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantPrincipalUserAllUsersGrantFilterArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new PolicyGrant("example", PolicyGrantArgs.builder()
.detail(PolicyGrantDetailArgs.builder()
.createDomainUnit(PolicyGrantDetailCreateDomainUnitArgs.builder()
.includeChildDomainUnits(true)
.build())
.build())
.principal(PolicyGrantPrincipalArgs.builder()
.user(PolicyGrantPrincipalUserArgs.builder()
.allUsersGrantFilter(PolicyGrantPrincipalUserAllUsersGrantFilterArgs.builder()
.build())
.build())
.build())
.domainIdentifier(exampleAwsDatazoneDomain.id())
.entityIdentifier(exampleAwsDatazoneDomain.rootDomainUnitId())
.entityType("DOMAIN_UNIT")
.policyType("CREATE_DOMAIN_UNIT")
.build());
}
}
resources:
example:
type: aws:datazone:PolicyGrant
properties:
detail:
createDomainUnit:
includeChildDomainUnits: true
principal:
user:
allUsersGrantFilter: {}
domainIdentifier: ${exampleAwsDatazoneDomain.id}
entityIdentifier: ${exampleAwsDatazoneDomain.rootDomainUnitId}
entityType: DOMAIN_UNIT
policyType: CREATE_DOMAIN_UNIT
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_datazone_policygrant" "example" {
detail = {
create_domain_unit = {
include_child_domain_units = true
}
}
principal = {
user = {
all_users_grant_filter = {}
}
}
domain_identifier = exampleAwsDatazoneDomain.id
entity_identifier = exampleAwsDatazoneDomain.rootDomainUnitId
entity_type = "DOMAIN_UNIT"
policy_type = "CREATE_DOMAIN_UNIT"
}
With Project Principal
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.datazone.PolicyGrant("example", {
detail: {
createGlossary: {},
},
principal: {
project: {
projectDesignation: "OWNER",
projectIdentifier: exampleAwsDatazoneProject.id,
},
},
domainIdentifier: exampleAwsDatazoneDomain.id,
entityIdentifier: exampleAwsDatazoneDomain.rootDomainUnitId,
entityType: "DOMAIN_UNIT",
policyType: "CREATE_GLOSSARY",
});
import pulumi
import pulumi_aws as aws
example = aws.datazone.PolicyGrant("example",
detail={
"create_glossary": {},
},
principal={
"project": {
"project_designation": "OWNER",
"project_identifier": example_aws_datazone_project["id"],
},
},
domain_identifier=example_aws_datazone_domain["id"],
entity_identifier=example_aws_datazone_domain["rootDomainUnitId"],
entity_type="DOMAIN_UNIT",
policy_type="CREATE_GLOSSARY")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/datazone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datazone.NewPolicyGrant(ctx, "example", &datazone.PolicyGrantArgs{
Detail: &datazone.PolicyGrantDetailArgs{
CreateGlossary: &datazone.PolicyGrantDetailCreateGlossaryArgs{},
},
Principal: &datazone.PolicyGrantPrincipalArgs{
Project: &datazone.PolicyGrantPrincipalProjectArgs{
ProjectDesignation: pulumi.String("OWNER"),
ProjectIdentifier: pulumi.Any(exampleAwsDatazoneProject.Id),
},
},
DomainIdentifier: pulumi.Any(exampleAwsDatazoneDomain.Id),
EntityIdentifier: pulumi.Any(exampleAwsDatazoneDomain.RootDomainUnitId),
EntityType: pulumi.String("DOMAIN_UNIT"),
PolicyType: pulumi.String("CREATE_GLOSSARY"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DataZone.PolicyGrant("example", new()
{
Detail = new Aws.DataZone.Inputs.PolicyGrantDetailArgs
{
CreateGlossary = null,
},
Principal = new Aws.DataZone.Inputs.PolicyGrantPrincipalArgs
{
Project = new Aws.DataZone.Inputs.PolicyGrantPrincipalProjectArgs
{
ProjectDesignation = "OWNER",
ProjectIdentifier = exampleAwsDatazoneProject.Id,
},
},
DomainIdentifier = exampleAwsDatazoneDomain.Id,
EntityIdentifier = exampleAwsDatazoneDomain.RootDomainUnitId,
EntityType = "DOMAIN_UNIT",
PolicyType = "CREATE_GLOSSARY",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datazone.PolicyGrant;
import com.pulumi.aws.datazone.PolicyGrantArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantDetailArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantDetailCreateGlossaryArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantPrincipalArgs;
import com.pulumi.aws.datazone.inputs.PolicyGrantPrincipalProjectArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new PolicyGrant("example", PolicyGrantArgs.builder()
.detail(PolicyGrantDetailArgs.builder()
.createGlossary(PolicyGrantDetailCreateGlossaryArgs.builder()
.build())
.build())
.principal(PolicyGrantPrincipalArgs.builder()
.project(PolicyGrantPrincipalProjectArgs.builder()
.projectDesignation("OWNER")
.projectIdentifier(exampleAwsDatazoneProject.id())
.build())
.build())
.domainIdentifier(exampleAwsDatazoneDomain.id())
.entityIdentifier(exampleAwsDatazoneDomain.rootDomainUnitId())
.entityType("DOMAIN_UNIT")
.policyType("CREATE_GLOSSARY")
.build());
}
}
resources:
example:
type: aws:datazone:PolicyGrant
properties:
detail:
createGlossary: {}
principal:
project:
projectDesignation: OWNER
projectIdentifier: ${exampleAwsDatazoneProject.id}
domainIdentifier: ${exampleAwsDatazoneDomain.id}
entityIdentifier: ${exampleAwsDatazoneDomain.rootDomainUnitId}
entityType: DOMAIN_UNIT
policyType: CREATE_GLOSSARY
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_datazone_policygrant" "example" {
detail = {
create_glossary = {}
}
principal = {
project = {
project_designation = "OWNER"
project_identifier = exampleAwsDatazoneProject.id
}
}
domain_identifier = exampleAwsDatazoneDomain.id
entity_identifier = exampleAwsDatazoneDomain.rootDomainUnitId
entity_type = "DOMAIN_UNIT"
policy_type = "CREATE_GLOSSARY"
}
Create PolicyGrant Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyGrant(name: string, args: PolicyGrantArgs, opts?: CustomResourceOptions);@overload
def PolicyGrant(resource_name: str,
args: PolicyGrantArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyGrant(resource_name: str,
opts: Optional[ResourceOptions] = None,
detail: Optional[PolicyGrantDetailArgs] = None,
domain_identifier: Optional[str] = None,
entity_identifier: Optional[str] = None,
entity_type: Optional[str] = None,
policy_type: Optional[str] = None,
principal: Optional[PolicyGrantPrincipalArgs] = None,
region: Optional[str] = None)func NewPolicyGrant(ctx *Context, name string, args PolicyGrantArgs, opts ...ResourceOption) (*PolicyGrant, error)public PolicyGrant(string name, PolicyGrantArgs args, CustomResourceOptions? opts = null)
public PolicyGrant(String name, PolicyGrantArgs args)
public PolicyGrant(String name, PolicyGrantArgs args, CustomResourceOptions options)
type: aws:datazone:PolicyGrant
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_datazone_policy_grant" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyGrantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PolicyGrantArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PolicyGrantArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyGrantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyGrantArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var policyGrantResource = new Aws.DataZone.PolicyGrant("policyGrantResource", new()
{
Detail = new Aws.DataZone.Inputs.PolicyGrantDetailArgs
{
AddToProjectMemberPool = new Aws.DataZone.Inputs.PolicyGrantDetailAddToProjectMemberPoolArgs
{
IncludeChildDomainUnits = false,
},
CreateAssetType = new Aws.DataZone.Inputs.PolicyGrantDetailCreateAssetTypeArgs
{
IncludeChildDomainUnits = false,
},
CreateDomainUnit = new Aws.DataZone.Inputs.PolicyGrantDetailCreateDomainUnitArgs
{
IncludeChildDomainUnits = false,
},
CreateEnvironment = null,
CreateEnvironmentFromBlueprint = null,
CreateEnvironmentProfile = new Aws.DataZone.Inputs.PolicyGrantDetailCreateEnvironmentProfileArgs
{
DomainUnitId = "string",
},
CreateFormType = new Aws.DataZone.Inputs.PolicyGrantDetailCreateFormTypeArgs
{
IncludeChildDomainUnits = false,
},
CreateGlossary = new Aws.DataZone.Inputs.PolicyGrantDetailCreateGlossaryArgs
{
IncludeChildDomainUnits = false,
},
CreateProject = new Aws.DataZone.Inputs.PolicyGrantDetailCreateProjectArgs
{
IncludeChildDomainUnits = false,
},
CreateProjectFromProjectProfile = new Aws.DataZone.Inputs.PolicyGrantDetailCreateProjectFromProjectProfileArgs
{
IncludeChildDomainUnits = false,
ProjectProfiles = new[]
{
"string",
},
},
DelegateCreateEnvironmentProfile = null,
OverrideDomainUnitOwners = new Aws.DataZone.Inputs.PolicyGrantDetailOverrideDomainUnitOwnersArgs
{
IncludeChildDomainUnits = false,
},
OverrideProjectOwners = new Aws.DataZone.Inputs.PolicyGrantDetailOverrideProjectOwnersArgs
{
IncludeChildDomainUnits = false,
},
UseAssetType = new Aws.DataZone.Inputs.PolicyGrantDetailUseAssetTypeArgs
{
DomainUnitId = "string",
},
},
DomainIdentifier = "string",
EntityIdentifier = "string",
EntityType = "string",
PolicyType = "string",
Principal = new Aws.DataZone.Inputs.PolicyGrantPrincipalArgs
{
DomainUnit = new Aws.DataZone.Inputs.PolicyGrantPrincipalDomainUnitArgs
{
DomainUnitDesignation = "string",
AllDomainUnitsGrantFilter = null,
DomainUnitIdentifier = "string",
},
Group = new Aws.DataZone.Inputs.PolicyGrantPrincipalGroupArgs
{
GroupIdentifier = "string",
},
Project = new Aws.DataZone.Inputs.PolicyGrantPrincipalProjectArgs
{
ProjectDesignation = "string",
DomainUnitFilter = new Aws.DataZone.Inputs.PolicyGrantPrincipalProjectDomainUnitFilterArgs
{
DomainUnit = "string",
IncludeChildDomainUnits = false,
},
ProjectIdentifier = "string",
},
User = new Aws.DataZone.Inputs.PolicyGrantPrincipalUserArgs
{
AllUsersGrantFilter = null,
UserIdentifier = "string",
},
},
Region = "string",
});
example, err := datazone.NewPolicyGrant(ctx, "policyGrantResource", &datazone.PolicyGrantArgs{
Detail: &datazone.PolicyGrantDetailArgs{
AddToProjectMemberPool: &datazone.PolicyGrantDetailAddToProjectMemberPoolArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
},
CreateAssetType: &datazone.PolicyGrantDetailCreateAssetTypeArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
},
CreateDomainUnit: &datazone.PolicyGrantDetailCreateDomainUnitArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
},
CreateEnvironment: &datazone.PolicyGrantDetailCreateEnvironmentArgs{},
CreateEnvironmentFromBlueprint: &datazone.PolicyGrantDetailCreateEnvironmentFromBlueprintArgs{},
CreateEnvironmentProfile: &datazone.PolicyGrantDetailCreateEnvironmentProfileArgs{
DomainUnitId: pulumi.String("string"),
},
CreateFormType: &datazone.PolicyGrantDetailCreateFormTypeArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
},
CreateGlossary: &datazone.PolicyGrantDetailCreateGlossaryArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
},
CreateProject: &datazone.PolicyGrantDetailCreateProjectArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
},
CreateProjectFromProjectProfile: &datazone.PolicyGrantDetailCreateProjectFromProjectProfileArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
ProjectProfiles: pulumi.StringArray{
pulumi.String("string"),
},
},
DelegateCreateEnvironmentProfile: &datazone.PolicyGrantDetailDelegateCreateEnvironmentProfileArgs{},
OverrideDomainUnitOwners: &datazone.PolicyGrantDetailOverrideDomainUnitOwnersArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
},
OverrideProjectOwners: &datazone.PolicyGrantDetailOverrideProjectOwnersArgs{
IncludeChildDomainUnits: pulumi.Bool(false),
},
UseAssetType: &datazone.PolicyGrantDetailUseAssetTypeArgs{
DomainUnitId: pulumi.String("string"),
},
},
DomainIdentifier: pulumi.String("string"),
EntityIdentifier: pulumi.String("string"),
EntityType: pulumi.String("string"),
PolicyType: pulumi.String("string"),
Principal: &datazone.PolicyGrantPrincipalArgs{
DomainUnit: &datazone.PolicyGrantPrincipalDomainUnitArgs{
DomainUnitDesignation: pulumi.String("string"),
AllDomainUnitsGrantFilter: &datazone.PolicyGrantPrincipalDomainUnitAllDomainUnitsGrantFilterArgs{},
DomainUnitIdentifier: pulumi.String("string"),
},
Group: &datazone.PolicyGrantPrincipalGroupArgs{
GroupIdentifier: pulumi.String("string"),
},
Project: &datazone.PolicyGrantPrincipalProjectArgs{
ProjectDesignation: pulumi.String("string"),
DomainUnitFilter: &datazone.PolicyGrantPrincipalProjectDomainUnitFilterArgs{
DomainUnit: pulumi.String("string"),
IncludeChildDomainUnits: pulumi.Bool(false),
},
ProjectIdentifier: pulumi.String("string"),
},
User: &datazone.PolicyGrantPrincipalUserArgs{
AllUsersGrantFilter: &datazone.PolicyGrantPrincipalUserAllUsersGrantFilterArgs{},
UserIdentifier: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
})
resource "aws_datazone_policy_grant" "policyGrantResource" {
lifecycle {
create_before_destroy = true
}
detail = {
add_to_project_member_pool = {
include_child_domain_units = false
}
create_asset_type = {
include_child_domain_units = false
}
create_domain_unit = {
include_child_domain_units = false
}
create_environment = {}
create_environment_from_blueprint = {}
create_environment_profile = {
domain_unit_id = "string"
}
create_form_type = {
include_child_domain_units = false
}
create_glossary = {
include_child_domain_units = false
}
create_project = {
include_child_domain_units = false
}
create_project_from_project_profile = {
include_child_domain_units = false
project_profiles = ["string"]
}
delegate_create_environment_profile = {}
override_domain_unit_owners = {
include_child_domain_units = false
}
override_project_owners = {
include_child_domain_units = false
}
use_asset_type = {
domain_unit_id = "string"
}
}
domain_identifier = "string"
entity_identifier = "string"
entity_type = "string"
policy_type = "string"
principal = {
domain_unit = {
domain_unit_designation = "string"
all_domain_units_grant_filter = {}
domain_unit_identifier = "string"
}
group = {
group_identifier = "string"
}
project = {
project_designation = "string"
domain_unit_filter = {
domain_unit = "string"
include_child_domain_units = false
}
project_identifier = "string"
}
user = {
all_users_grant_filter = {}
user_identifier = "string"
}
}
region = "string"
}
var policyGrantResource = new PolicyGrant("policyGrantResource", PolicyGrantArgs.builder()
.detail(PolicyGrantDetailArgs.builder()
.addToProjectMemberPool(PolicyGrantDetailAddToProjectMemberPoolArgs.builder()
.includeChildDomainUnits(false)
.build())
.createAssetType(PolicyGrantDetailCreateAssetTypeArgs.builder()
.includeChildDomainUnits(false)
.build())
.createDomainUnit(PolicyGrantDetailCreateDomainUnitArgs.builder()
.includeChildDomainUnits(false)
.build())
.createEnvironment(PolicyGrantDetailCreateEnvironmentArgs.builder()
.build())
.createEnvironmentFromBlueprint(PolicyGrantDetailCreateEnvironmentFromBlueprintArgs.builder()
.build())
.createEnvironmentProfile(PolicyGrantDetailCreateEnvironmentProfileArgs.builder()
.domainUnitId("string")
.build())
.createFormType(PolicyGrantDetailCreateFormTypeArgs.builder()
.includeChildDomainUnits(false)
.build())
.createGlossary(PolicyGrantDetailCreateGlossaryArgs.builder()
.includeChildDomainUnits(false)
.build())
.createProject(PolicyGrantDetailCreateProjectArgs.builder()
.includeChildDomainUnits(false)
.build())
.createProjectFromProjectProfile(PolicyGrantDetailCreateProjectFromProjectProfileArgs.builder()
.includeChildDomainUnits(false)
.projectProfiles("string")
.build())
.delegateCreateEnvironmentProfile(PolicyGrantDetailDelegateCreateEnvironmentProfileArgs.builder()
.build())
.overrideDomainUnitOwners(PolicyGrantDetailOverrideDomainUnitOwnersArgs.builder()
.includeChildDomainUnits(false)
.build())
.overrideProjectOwners(PolicyGrantDetailOverrideProjectOwnersArgs.builder()
.includeChildDomainUnits(false)
.build())
.useAssetType(PolicyGrantDetailUseAssetTypeArgs.builder()
.domainUnitId("string")
.build())
.build())
.domainIdentifier("string")
.entityIdentifier("string")
.entityType("string")
.policyType("string")
.principal(PolicyGrantPrincipalArgs.builder()
.domainUnit(PolicyGrantPrincipalDomainUnitArgs.builder()
.domainUnitDesignation("string")
.allDomainUnitsGrantFilter(PolicyGrantPrincipalDomainUnitAllDomainUnitsGrantFilterArgs.builder()
.build())
.domainUnitIdentifier("string")
.build())
.group(PolicyGrantPrincipalGroupArgs.builder()
.groupIdentifier("string")
.build())
.project(PolicyGrantPrincipalProjectArgs.builder()
.projectDesignation("string")
.domainUnitFilter(PolicyGrantPrincipalProjectDomainUnitFilterArgs.builder()
.domainUnit("string")
.includeChildDomainUnits(false)
.build())
.projectIdentifier("string")
.build())
.user(PolicyGrantPrincipalUserArgs.builder()
.allUsersGrantFilter(PolicyGrantPrincipalUserAllUsersGrantFilterArgs.builder()
.build())
.userIdentifier("string")
.build())
.build())
.region("string")
.build());
policy_grant_resource = aws.datazone.PolicyGrant("policyGrantResource",
detail={
"add_to_project_member_pool": {
"include_child_domain_units": False,
},
"create_asset_type": {
"include_child_domain_units": False,
},
"create_domain_unit": {
"include_child_domain_units": False,
},
"create_environment": {},
"create_environment_from_blueprint": {},
"create_environment_profile": {
"domain_unit_id": "string",
},
"create_form_type": {
"include_child_domain_units": False,
},
"create_glossary": {
"include_child_domain_units": False,
},
"create_project": {
"include_child_domain_units": False,
},
"create_project_from_project_profile": {
"include_child_domain_units": False,
"project_profiles": ["string"],
},
"delegate_create_environment_profile": {},
"override_domain_unit_owners": {
"include_child_domain_units": False,
},
"override_project_owners": {
"include_child_domain_units": False,
},
"use_asset_type": {
"domain_unit_id": "string",
},
},
domain_identifier="string",
entity_identifier="string",
entity_type="string",
policy_type="string",
principal={
"domain_unit": {
"domain_unit_designation": "string",
"all_domain_units_grant_filter": {},
"domain_unit_identifier": "string",
},
"group": {
"group_identifier": "string",
},
"project": {
"project_designation": "string",
"domain_unit_filter": {
"domain_unit": "string",
"include_child_domain_units": False,
},
"project_identifier": "string",
},
"user": {
"all_users_grant_filter": {},
"user_identifier": "string",
},
},
region="string")
const policyGrantResource = new aws.datazone.PolicyGrant("policyGrantResource", {
detail: {
addToProjectMemberPool: {
includeChildDomainUnits: false,
},
createAssetType: {
includeChildDomainUnits: false,
},
createDomainUnit: {
includeChildDomainUnits: false,
},
createEnvironment: {},
createEnvironmentFromBlueprint: {},
createEnvironmentProfile: {
domainUnitId: "string",
},
createFormType: {
includeChildDomainUnits: false,
},
createGlossary: {
includeChildDomainUnits: false,
},
createProject: {
includeChildDomainUnits: false,
},
createProjectFromProjectProfile: {
includeChildDomainUnits: false,
projectProfiles: ["string"],
},
delegateCreateEnvironmentProfile: {},
overrideDomainUnitOwners: {
includeChildDomainUnits: false,
},
overrideProjectOwners: {
includeChildDomainUnits: false,
},
useAssetType: {
domainUnitId: "string",
},
},
domainIdentifier: "string",
entityIdentifier: "string",
entityType: "string",
policyType: "string",
principal: {
domainUnit: {
domainUnitDesignation: "string",
allDomainUnitsGrantFilter: {},
domainUnitIdentifier: "string",
},
group: {
groupIdentifier: "string",
},
project: {
projectDesignation: "string",
domainUnitFilter: {
domainUnit: "string",
includeChildDomainUnits: false,
},
projectIdentifier: "string",
},
user: {
allUsersGrantFilter: {},
userIdentifier: "string",
},
},
region: "string",
});
type: aws:datazone:PolicyGrant
properties:
detail:
addToProjectMemberPool:
includeChildDomainUnits: false
createAssetType:
includeChildDomainUnits: false
createDomainUnit:
includeChildDomainUnits: false
createEnvironment: {}
createEnvironmentFromBlueprint: {}
createEnvironmentProfile:
domainUnitId: string
createFormType:
includeChildDomainUnits: false
createGlossary:
includeChildDomainUnits: false
createProject:
includeChildDomainUnits: false
createProjectFromProjectProfile:
includeChildDomainUnits: false
projectProfiles:
- string
delegateCreateEnvironmentProfile: {}
overrideDomainUnitOwners:
includeChildDomainUnits: false
overrideProjectOwners:
includeChildDomainUnits: false
useAssetType:
domainUnitId: string
domainIdentifier: string
entityIdentifier: string
entityType: string
policyType: string
principal:
domainUnit:
allDomainUnitsGrantFilter: {}
domainUnitDesignation: string
domainUnitIdentifier: string
group:
groupIdentifier: string
project:
domainUnitFilter:
domainUnit: string
includeChildDomainUnits: false
projectDesignation: string
projectIdentifier: string
user:
allUsersGrantFilter: {}
userIdentifier: string
region: string
PolicyGrant Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PolicyGrant resource accepts the following input properties:
- Detail
Policy
Grant Detail - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - Domain
Identifier string - Identifier of the domain where the policy grant is created.
- Entity
Identifier string - Identifier of the entity to which the policy grant applies.
- Entity
Type string - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - Policy
Type string - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - Principal
Policy
Grant Principal Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Detail
Policy
Grant Detail Args - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - Domain
Identifier string - Identifier of the domain where the policy grant is created.
- Entity
Identifier string - Identifier of the entity to which the policy grant applies.
- Entity
Type string - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - Policy
Type string - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - Principal
Policy
Grant Principal Args Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- detail object
- Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain_
identifier string - Identifier of the domain where the policy grant is created.
- entity_
identifier string - Identifier of the entity to which the policy grant applies.
- entity_
type string - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - policy_
type string - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal object
Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- detail
Policy
Grant Detail - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain
Identifier String - Identifier of the domain where the policy grant is created.
- entity
Identifier String - Identifier of the entity to which the policy grant applies.
- entity
Type String - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - policy
Type String - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal
Policy
Grant Principal Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- detail
Policy
Grant Detail - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain
Identifier string - Identifier of the domain where the policy grant is created.
- entity
Identifier string - Identifier of the entity to which the policy grant applies.
- entity
Type string - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - policy
Type string - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal
Policy
Grant Principal Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- detail
Policy
Grant Detail Args - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain_
identifier str - Identifier of the domain where the policy grant is created.
- entity_
identifier str - Identifier of the entity to which the policy grant applies.
- entity_
type str - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - policy_
type str - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal
Policy
Grant Principal Args Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- detail Property Map
- Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain
Identifier String - Identifier of the domain where the policy grant is created.
- entity
Identifier String - Identifier of the entity to which the policy grant applies.
- entity
Type String - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - policy
Type String - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal Property Map
Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyGrant resource produces the following output properties:
- created_
at string - Timestamp when the policy grant was created (RFC3339 format).
- created_
by string - User who created the policy grant.
- grant_
id string - Identifier of the policy grant.
- id string
- The provider-assigned unique ID for this managed resource.
- created_
at str - Timestamp when the policy grant was created (RFC3339 format).
- created_
by str - User who created the policy grant.
- grant_
id str - Identifier of the policy grant.
- id str
- The provider-assigned unique ID for this managed resource.
Look up Existing PolicyGrant Resource
Get an existing PolicyGrant resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PolicyGrantState, opts?: CustomResourceOptions): PolicyGrant@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
detail: Optional[PolicyGrantDetailArgs] = None,
domain_identifier: Optional[str] = None,
entity_identifier: Optional[str] = None,
entity_type: Optional[str] = None,
grant_id: Optional[str] = None,
policy_type: Optional[str] = None,
principal: Optional[PolicyGrantPrincipalArgs] = None,
region: Optional[str] = None) -> PolicyGrantfunc GetPolicyGrant(ctx *Context, name string, id IDInput, state *PolicyGrantState, opts ...ResourceOption) (*PolicyGrant, error)public static PolicyGrant Get(string name, Input<string> id, PolicyGrantState? state, CustomResourceOptions? opts = null)public static PolicyGrant get(String name, Output<String> id, PolicyGrantState state, CustomResourceOptions options)resources: _: type: aws:datazone:PolicyGrant get: id: ${id}import {
to = aws_datazone_policy_grant.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - Timestamp when the policy grant was created (RFC3339 format).
- Created
By string - User who created the policy grant.
- Detail
Policy
Grant Detail - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - Domain
Identifier string - Identifier of the domain where the policy grant is created.
- Entity
Identifier string - Identifier of the entity to which the policy grant applies.
- Entity
Type string - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - Grant
Id string - Identifier of the policy grant.
- Policy
Type string - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - Principal
Policy
Grant Principal Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Created
At string - Timestamp when the policy grant was created (RFC3339 format).
- Created
By string - User who created the policy grant.
- Detail
Policy
Grant Detail Args - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - Domain
Identifier string - Identifier of the domain where the policy grant is created.
- Entity
Identifier string - Identifier of the entity to which the policy grant applies.
- Entity
Type string - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - Grant
Id string - Identifier of the policy grant.
- Policy
Type string - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - Principal
Policy
Grant Principal Args Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- created_
at string - Timestamp when the policy grant was created (RFC3339 format).
- created_
by string - User who created the policy grant.
- detail object
- Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain_
identifier string - Identifier of the domain where the policy grant is created.
- entity_
identifier string - Identifier of the entity to which the policy grant applies.
- entity_
type string - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - grant_
id string - Identifier of the policy grant.
- policy_
type string - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal object
Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- created
At String - Timestamp when the policy grant was created (RFC3339 format).
- created
By String - User who created the policy grant.
- detail
Policy
Grant Detail - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain
Identifier String - Identifier of the domain where the policy grant is created.
- entity
Identifier String - Identifier of the entity to which the policy grant applies.
- entity
Type String - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - grant
Id String - Identifier of the policy grant.
- policy
Type String - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal
Policy
Grant Principal Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- created
At string - Timestamp when the policy grant was created (RFC3339 format).
- created
By string - User who created the policy grant.
- detail
Policy
Grant Detail - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain
Identifier string - Identifier of the domain where the policy grant is created.
- entity
Identifier string - Identifier of the entity to which the policy grant applies.
- entity
Type string - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - grant
Id string - Identifier of the policy grant.
- policy
Type string - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal
Policy
Grant Principal Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- created_
at str - Timestamp when the policy grant was created (RFC3339 format).
- created_
by str - User who created the policy grant.
- detail
Policy
Grant Detail Args - Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain_
identifier str - Identifier of the domain where the policy grant is created.
- entity_
identifier str - Identifier of the entity to which the policy grant applies.
- entity_
type str - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - grant_
id str - Identifier of the policy grant.
- policy_
type str - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal
Policy
Grant Principal Args Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- created
At String - Timestamp when the policy grant was created (RFC3339 format).
- created
By String - User who created the policy grant.
- detail Property Map
- Policy grant detail. Exactly one sub-block must be specified. See
detailBlock below. - domain
Identifier String - Identifier of the domain where the policy grant is created.
- entity
Identifier String - Identifier of the entity to which the policy grant applies.
- entity
Type String - Type of entity to which the policy grant applies. Valid values:
ASSET_TYPE,DOMAIN_UNIT,ENVIRONMENT_BLUEPRINT_CONFIGURATION,ENVIRONMENT_PROFILE. - grant
Id String - Identifier of the policy grant.
- policy
Type String - Type of the managed policy. Valid values:
ADD_TO_PROJECT_MEMBER_POOL,CREATE_ASSET_TYPE,CREATE_DOMAIN_UNIT,CREATE_ENVIRONMENT,CREATE_ENVIRONMENT_FROM_BLUEPRINT,CREATE_ENVIRONMENT_PROFILE,CREATE_FORM_TYPE,CREATE_GLOSSARY,CREATE_PROJECT,CREATE_PROJECT_FROM_PROJECT_PROFILE,DELEGATE_CREATE_ENVIRONMENT_PROFILE,OVERRIDE_DOMAIN_UNIT_OWNERS,OVERRIDE_PROJECT_OWNERS,USE_ASSET_TYPE. - principal Property Map
Principal to which the policy grant applies. Exactly one sub-block must be specified. See
principalBlock below.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Supporting Types
PolicyGrantDetail, PolicyGrantDetailArgs
- Add
To PolicyProject Member Pool Grant Detail Add To Project Member Pool - Configuration for the
ADD_TO_PROJECT_MEMBER_POOLpolicy type. SeeaddToProjectMemberPoolBlock below. - Create
Asset PolicyType Grant Detail Create Asset Type - Configuration for the
CREATE_ASSET_TYPEpolicy type. SeecreateAssetTypeBlock below. - Create
Domain PolicyUnit Grant Detail Create Domain Unit - Configuration for the
CREATE_DOMAIN_UNITpolicy type. SeecreateDomainUnitBlock below. - Create
Environment PolicyGrant Detail Create Environment - Configuration for the
CREATE_ENVIRONMENTpolicy type. Empty block. - Create
Environment PolicyFrom Blueprint Grant Detail Create Environment From Blueprint - Configuration for the
CREATE_ENVIRONMENT_FROM_BLUEPRINTpolicy type. Empty block. - Create
Environment PolicyProfile Grant Detail Create Environment Profile - Configuration for the
CREATE_ENVIRONMENT_PROFILEpolicy type. SeecreateEnvironmentProfileBlock below. - Create
Form PolicyType Grant Detail Create Form Type - Configuration for the
CREATE_FORM_TYPEpolicy type. SeecreateFormTypeBlock below. - Create
Glossary PolicyGrant Detail Create Glossary - Configuration for the
CREATE_GLOSSARYpolicy type. SeecreateGlossaryBlock below. - Create
Project PolicyGrant Detail Create Project - Configuration for the
CREATE_PROJECTpolicy type. SeecreateProjectBlock below. - Create
Project PolicyFrom Project Profile Grant Detail Create Project From Project Profile - Configuration for the
CREATE_PROJECT_FROM_PROJECT_PROFILEpolicy type. SeecreateProjectFromProjectProfileBlock below. - Delegate
Create PolicyEnvironment Profile Grant Detail Delegate Create Environment Profile - Configuration for the
DELEGATE_CREATE_ENVIRONMENT_PROFILEpolicy type. Empty block. - Override
Domain PolicyUnit Owners Grant Detail Override Domain Unit Owners - Configuration for the
OVERRIDE_DOMAIN_UNIT_OWNERSpolicy type. SeeoverrideDomainUnitOwnersBlock below. - Override
Project PolicyOwners Grant Detail Override Project Owners - Configuration for the
OVERRIDE_PROJECT_OWNERSpolicy type. SeeoverrideProjectOwnersBlock below. - Use
Asset PolicyType Grant Detail Use Asset Type - Configuration for the
USE_ASSET_TYPEpolicy type. SeeuseAssetTypeBlock below.
- Add
To PolicyProject Member Pool Grant Detail Add To Project Member Pool - Configuration for the
ADD_TO_PROJECT_MEMBER_POOLpolicy type. SeeaddToProjectMemberPoolBlock below. - Create
Asset PolicyType Grant Detail Create Asset Type - Configuration for the
CREATE_ASSET_TYPEpolicy type. SeecreateAssetTypeBlock below. - Create
Domain PolicyUnit Grant Detail Create Domain Unit - Configuration for the
CREATE_DOMAIN_UNITpolicy type. SeecreateDomainUnitBlock below. - Create
Environment PolicyGrant Detail Create Environment - Configuration for the
CREATE_ENVIRONMENTpolicy type. Empty block. - Create
Environment PolicyFrom Blueprint Grant Detail Create Environment From Blueprint - Configuration for the
CREATE_ENVIRONMENT_FROM_BLUEPRINTpolicy type. Empty block. - Create
Environment PolicyProfile Grant Detail Create Environment Profile - Configuration for the
CREATE_ENVIRONMENT_PROFILEpolicy type. SeecreateEnvironmentProfileBlock below. - Create
Form PolicyType Grant Detail Create Form Type - Configuration for the
CREATE_FORM_TYPEpolicy type. SeecreateFormTypeBlock below. - Create
Glossary PolicyGrant Detail Create Glossary - Configuration for the
CREATE_GLOSSARYpolicy type. SeecreateGlossaryBlock below. - Create
Project PolicyGrant Detail Create Project - Configuration for the
CREATE_PROJECTpolicy type. SeecreateProjectBlock below. - Create
Project PolicyFrom Project Profile Grant Detail Create Project From Project Profile - Configuration for the
CREATE_PROJECT_FROM_PROJECT_PROFILEpolicy type. SeecreateProjectFromProjectProfileBlock below. - Delegate
Create PolicyEnvironment Profile Grant Detail Delegate Create Environment Profile - Configuration for the
DELEGATE_CREATE_ENVIRONMENT_PROFILEpolicy type. Empty block. - Override
Domain PolicyUnit Owners Grant Detail Override Domain Unit Owners - Configuration for the
OVERRIDE_DOMAIN_UNIT_OWNERSpolicy type. SeeoverrideDomainUnitOwnersBlock below. - Override
Project PolicyOwners Grant Detail Override Project Owners - Configuration for the
OVERRIDE_PROJECT_OWNERSpolicy type. SeeoverrideProjectOwnersBlock below. - Use
Asset PolicyType Grant Detail Use Asset Type - Configuration for the
USE_ASSET_TYPEpolicy type. SeeuseAssetTypeBlock below.
- add_
to_ objectproject_ member_ pool - Configuration for the
ADD_TO_PROJECT_MEMBER_POOLpolicy type. SeeaddToProjectMemberPoolBlock below. - create_
asset_ objecttype - Configuration for the
CREATE_ASSET_TYPEpolicy type. SeecreateAssetTypeBlock below. - create_
domain_ objectunit - Configuration for the
CREATE_DOMAIN_UNITpolicy type. SeecreateDomainUnitBlock below. - create_
environment object - Configuration for the
CREATE_ENVIRONMENTpolicy type. Empty block. - create_
environment_ objectfrom_ blueprint - Configuration for the
CREATE_ENVIRONMENT_FROM_BLUEPRINTpolicy type. Empty block. - create_
environment_ objectprofile - Configuration for the
CREATE_ENVIRONMENT_PROFILEpolicy type. SeecreateEnvironmentProfileBlock below. - create_
form_ objecttype - Configuration for the
CREATE_FORM_TYPEpolicy type. SeecreateFormTypeBlock below. - create_
glossary object - Configuration for the
CREATE_GLOSSARYpolicy type. SeecreateGlossaryBlock below. - create_
project object - Configuration for the
CREATE_PROJECTpolicy type. SeecreateProjectBlock below. - create_
project_ objectfrom_ project_ profile - Configuration for the
CREATE_PROJECT_FROM_PROJECT_PROFILEpolicy type. SeecreateProjectFromProjectProfileBlock below. - delegate_
create_ objectenvironment_ profile - Configuration for the
DELEGATE_CREATE_ENVIRONMENT_PROFILEpolicy type. Empty block. - override_
domain_ objectunit_ owners - Configuration for the
OVERRIDE_DOMAIN_UNIT_OWNERSpolicy type. SeeoverrideDomainUnitOwnersBlock below. - override_
project_ objectowners - Configuration for the
OVERRIDE_PROJECT_OWNERSpolicy type. SeeoverrideProjectOwnersBlock below. - use_
asset_ objecttype - Configuration for the
USE_ASSET_TYPEpolicy type. SeeuseAssetTypeBlock below.
- add
To PolicyProject Member Pool Grant Detail Add To Project Member Pool - Configuration for the
ADD_TO_PROJECT_MEMBER_POOLpolicy type. SeeaddToProjectMemberPoolBlock below. - create
Asset PolicyType Grant Detail Create Asset Type - Configuration for the
CREATE_ASSET_TYPEpolicy type. SeecreateAssetTypeBlock below. - create
Domain PolicyUnit Grant Detail Create Domain Unit - Configuration for the
CREATE_DOMAIN_UNITpolicy type. SeecreateDomainUnitBlock below. - create
Environment PolicyGrant Detail Create Environment - Configuration for the
CREATE_ENVIRONMENTpolicy type. Empty block. - create
Environment PolicyFrom Blueprint Grant Detail Create Environment From Blueprint - Configuration for the
CREATE_ENVIRONMENT_FROM_BLUEPRINTpolicy type. Empty block. - create
Environment PolicyProfile Grant Detail Create Environment Profile - Configuration for the
CREATE_ENVIRONMENT_PROFILEpolicy type. SeecreateEnvironmentProfileBlock below. - create
Form PolicyType Grant Detail Create Form Type - Configuration for the
CREATE_FORM_TYPEpolicy type. SeecreateFormTypeBlock below. - create
Glossary PolicyGrant Detail Create Glossary - Configuration for the
CREATE_GLOSSARYpolicy type. SeecreateGlossaryBlock below. - create
Project PolicyGrant Detail Create Project - Configuration for the
CREATE_PROJECTpolicy type. SeecreateProjectBlock below. - create
Project PolicyFrom Project Profile Grant Detail Create Project From Project Profile - Configuration for the
CREATE_PROJECT_FROM_PROJECT_PROFILEpolicy type. SeecreateProjectFromProjectProfileBlock below. - delegate
Create PolicyEnvironment Profile Grant Detail Delegate Create Environment Profile - Configuration for the
DELEGATE_CREATE_ENVIRONMENT_PROFILEpolicy type. Empty block. - override
Domain PolicyUnit Owners Grant Detail Override Domain Unit Owners - Configuration for the
OVERRIDE_DOMAIN_UNIT_OWNERSpolicy type. SeeoverrideDomainUnitOwnersBlock below. - override
Project PolicyOwners Grant Detail Override Project Owners - Configuration for the
OVERRIDE_PROJECT_OWNERSpolicy type. SeeoverrideProjectOwnersBlock below. - use
Asset PolicyType Grant Detail Use Asset Type - Configuration for the
USE_ASSET_TYPEpolicy type. SeeuseAssetTypeBlock below.
- add
To PolicyProject Member Pool Grant Detail Add To Project Member Pool - Configuration for the
ADD_TO_PROJECT_MEMBER_POOLpolicy type. SeeaddToProjectMemberPoolBlock below. - create
Asset PolicyType Grant Detail Create Asset Type - Configuration for the
CREATE_ASSET_TYPEpolicy type. SeecreateAssetTypeBlock below. - create
Domain PolicyUnit Grant Detail Create Domain Unit - Configuration for the
CREATE_DOMAIN_UNITpolicy type. SeecreateDomainUnitBlock below. - create
Environment PolicyGrant Detail Create Environment - Configuration for the
CREATE_ENVIRONMENTpolicy type. Empty block. - create
Environment PolicyFrom Blueprint Grant Detail Create Environment From Blueprint - Configuration for the
CREATE_ENVIRONMENT_FROM_BLUEPRINTpolicy type. Empty block. - create
Environment PolicyProfile Grant Detail Create Environment Profile - Configuration for the
CREATE_ENVIRONMENT_PROFILEpolicy type. SeecreateEnvironmentProfileBlock below. - create
Form PolicyType Grant Detail Create Form Type - Configuration for the
CREATE_FORM_TYPEpolicy type. SeecreateFormTypeBlock below. - create
Glossary PolicyGrant Detail Create Glossary - Configuration for the
CREATE_GLOSSARYpolicy type. SeecreateGlossaryBlock below. - create
Project PolicyGrant Detail Create Project - Configuration for the
CREATE_PROJECTpolicy type. SeecreateProjectBlock below. - create
Project PolicyFrom Project Profile Grant Detail Create Project From Project Profile - Configuration for the
CREATE_PROJECT_FROM_PROJECT_PROFILEpolicy type. SeecreateProjectFromProjectProfileBlock below. - delegate
Create PolicyEnvironment Profile Grant Detail Delegate Create Environment Profile - Configuration for the
DELEGATE_CREATE_ENVIRONMENT_PROFILEpolicy type. Empty block. - override
Domain PolicyUnit Owners Grant Detail Override Domain Unit Owners - Configuration for the
OVERRIDE_DOMAIN_UNIT_OWNERSpolicy type. SeeoverrideDomainUnitOwnersBlock below. - override
Project PolicyOwners Grant Detail Override Project Owners - Configuration for the
OVERRIDE_PROJECT_OWNERSpolicy type. SeeoverrideProjectOwnersBlock below. - use
Asset PolicyType Grant Detail Use Asset Type - Configuration for the
USE_ASSET_TYPEpolicy type. SeeuseAssetTypeBlock below.
- add_
to_ Policyproject_ member_ pool Grant Detail Add To Project Member Pool - Configuration for the
ADD_TO_PROJECT_MEMBER_POOLpolicy type. SeeaddToProjectMemberPoolBlock below. - create_
asset_ Policytype Grant Detail Create Asset Type - Configuration for the
CREATE_ASSET_TYPEpolicy type. SeecreateAssetTypeBlock below. - create_
domain_ Policyunit Grant Detail Create Domain Unit - Configuration for the
CREATE_DOMAIN_UNITpolicy type. SeecreateDomainUnitBlock below. - create_
environment PolicyGrant Detail Create Environment - Configuration for the
CREATE_ENVIRONMENTpolicy type. Empty block. - create_
environment_ Policyfrom_ blueprint Grant Detail Create Environment From Blueprint - Configuration for the
CREATE_ENVIRONMENT_FROM_BLUEPRINTpolicy type. Empty block. - create_
environment_ Policyprofile Grant Detail Create Environment Profile - Configuration for the
CREATE_ENVIRONMENT_PROFILEpolicy type. SeecreateEnvironmentProfileBlock below. - create_
form_ Policytype Grant Detail Create Form Type - Configuration for the
CREATE_FORM_TYPEpolicy type. SeecreateFormTypeBlock below. - create_
glossary PolicyGrant Detail Create Glossary - Configuration for the
CREATE_GLOSSARYpolicy type. SeecreateGlossaryBlock below. - create_
project PolicyGrant Detail Create Project - Configuration for the
CREATE_PROJECTpolicy type. SeecreateProjectBlock below. - create_
project_ Policyfrom_ project_ profile Grant Detail Create Project From Project Profile - Configuration for the
CREATE_PROJECT_FROM_PROJECT_PROFILEpolicy type. SeecreateProjectFromProjectProfileBlock below. - delegate_
create_ Policyenvironment_ profile Grant Detail Delegate Create Environment Profile - Configuration for the
DELEGATE_CREATE_ENVIRONMENT_PROFILEpolicy type. Empty block. - override_
domain_ Policyunit_ owners Grant Detail Override Domain Unit Owners - Configuration for the
OVERRIDE_DOMAIN_UNIT_OWNERSpolicy type. SeeoverrideDomainUnitOwnersBlock below. - override_
project_ Policyowners Grant Detail Override Project Owners - Configuration for the
OVERRIDE_PROJECT_OWNERSpolicy type. SeeoverrideProjectOwnersBlock below. - use_
asset_ Policytype Grant Detail Use Asset Type - Configuration for the
USE_ASSET_TYPEpolicy type. SeeuseAssetTypeBlock below.
- add
To Property MapProject Member Pool - Configuration for the
ADD_TO_PROJECT_MEMBER_POOLpolicy type. SeeaddToProjectMemberPoolBlock below. - create
Asset Property MapType - Configuration for the
CREATE_ASSET_TYPEpolicy type. SeecreateAssetTypeBlock below. - create
Domain Property MapUnit - Configuration for the
CREATE_DOMAIN_UNITpolicy type. SeecreateDomainUnitBlock below. - create
Environment Property Map - Configuration for the
CREATE_ENVIRONMENTpolicy type. Empty block. - create
Environment Property MapFrom Blueprint - Configuration for the
CREATE_ENVIRONMENT_FROM_BLUEPRINTpolicy type. Empty block. - create
Environment Property MapProfile - Configuration for the
CREATE_ENVIRONMENT_PROFILEpolicy type. SeecreateEnvironmentProfileBlock below. - create
Form Property MapType - Configuration for the
CREATE_FORM_TYPEpolicy type. SeecreateFormTypeBlock below. - create
Glossary Property Map - Configuration for the
CREATE_GLOSSARYpolicy type. SeecreateGlossaryBlock below. - create
Project Property Map - Configuration for the
CREATE_PROJECTpolicy type. SeecreateProjectBlock below. - create
Project Property MapFrom Project Profile - Configuration for the
CREATE_PROJECT_FROM_PROJECT_PROFILEpolicy type. SeecreateProjectFromProjectProfileBlock below. - delegate
Create Property MapEnvironment Profile - Configuration for the
DELEGATE_CREATE_ENVIRONMENT_PROFILEpolicy type. Empty block. - override
Domain Property MapUnit Owners - Configuration for the
OVERRIDE_DOMAIN_UNIT_OWNERSpolicy type. SeeoverrideDomainUnitOwnersBlock below. - override
Project Property MapOwners - Configuration for the
OVERRIDE_PROJECT_OWNERSpolicy type. SeeoverrideProjectOwnersBlock below. - use
Asset Property MapType - Configuration for the
USE_ASSET_TYPEpolicy type. SeeuseAssetTypeBlock below.
PolicyGrantDetailAddToProjectMemberPool, PolicyGrantDetailAddToProjectMemberPoolArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Include
Child boolDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
- include
Child booleanDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
PolicyGrantDetailCreateAssetType, PolicyGrantDetailCreateAssetTypeArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Include
Child boolDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
- include
Child booleanDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
PolicyGrantDetailCreateDomainUnit, PolicyGrantDetailCreateDomainUnitArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Include
Child boolDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
- include
Child booleanDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
PolicyGrantDetailCreateEnvironmentProfile, PolicyGrantDetailCreateEnvironmentProfileArgs
- Domain
Unit stringId - Identifier of the domain unit.
- Domain
Unit stringId - Identifier of the domain unit.
- domain_
unit_ stringid - Identifier of the domain unit.
- domain
Unit StringId - Identifier of the domain unit.
- domain
Unit stringId - Identifier of the domain unit.
- domain_
unit_ strid - Identifier of the domain unit.
- domain
Unit StringId - Identifier of the domain unit.
PolicyGrantDetailCreateFormType, PolicyGrantDetailCreateFormTypeArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Include
Child boolDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
- include
Child booleanDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
PolicyGrantDetailCreateGlossary, PolicyGrantDetailCreateGlossaryArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Include
Child boolDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
- include
Child booleanDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
PolicyGrantDetailCreateProject, PolicyGrantDetailCreateProjectArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Include
Child boolDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
- include
Child booleanDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
PolicyGrantDetailCreateProjectFromProjectProfile, PolicyGrantDetailCreateProjectFromProjectProfileArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Project
Profiles List<string> - List of project profile identifiers.
- Include
Child boolDomain Units - Whether to include child domain units.
- Project
Profiles []string - List of project profile identifiers.
- include_
child_ booldomain_ units - Whether to include child domain units.
- project_
profiles list(string) - List of project profile identifiers.
- include
Child BooleanDomain Units - Whether to include child domain units.
- project
Profiles List<String> - List of project profile identifiers.
- include
Child booleanDomain Units - Whether to include child domain units.
- project
Profiles string[] - List of project profile identifiers.
- include_
child_ booldomain_ units - Whether to include child domain units.
- project_
profiles Sequence[str] - List of project profile identifiers.
- include
Child BooleanDomain Units - Whether to include child domain units.
- project
Profiles List<String> - List of project profile identifiers.
PolicyGrantDetailOverrideDomainUnitOwners, PolicyGrantDetailOverrideDomainUnitOwnersArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Include
Child boolDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
- include
Child booleanDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
PolicyGrantDetailOverrideProjectOwners, PolicyGrantDetailOverrideProjectOwnersArgs
- Include
Child boolDomain Units - Whether to include child domain units.
- Include
Child boolDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
- include
Child booleanDomain Units - Whether to include child domain units.
- include_
child_ booldomain_ units - Whether to include child domain units.
- include
Child BooleanDomain Units - Whether to include child domain units.
PolicyGrantDetailUseAssetType, PolicyGrantDetailUseAssetTypeArgs
- Domain
Unit stringId - Identifier of the domain unit.
- Domain
Unit stringId - Identifier of the domain unit.
- domain_
unit_ stringid - Identifier of the domain unit.
- domain
Unit StringId - Identifier of the domain unit.
- domain
Unit stringId - Identifier of the domain unit.
- domain_
unit_ strid - Identifier of the domain unit.
- domain
Unit StringId - Identifier of the domain unit.
PolicyGrantPrincipal, PolicyGrantPrincipalArgs
- Domain
Unit PolicyGrant Principal Domain Unit - Domain unit principal. See
domainUnitBlock below. - Group
Policy
Grant Principal Group - Group principal. See
groupBlock below. - Project
Policy
Grant Principal Project - Project principal. See
projectBlock below. - User
Policy
Grant Principal User - User principal. See
userBlock below.
- Domain
Unit PolicyGrant Principal Domain Unit - Domain unit principal. See
domainUnitBlock below. - Group
Policy
Grant Principal Group - Group principal. See
groupBlock below. - Project
Policy
Grant Principal Project - Project principal. See
projectBlock below. - User
Policy
Grant Principal User - User principal. See
userBlock below.
- domain
Unit PolicyGrant Principal Domain Unit - Domain unit principal. See
domainUnitBlock below. - group
Policy
Grant Principal Group - Group principal. See
groupBlock below. - project
Policy
Grant Principal Project - Project principal. See
projectBlock below. - user
Policy
Grant Principal User - User principal. See
userBlock below.
- domain
Unit PolicyGrant Principal Domain Unit - Domain unit principal. See
domainUnitBlock below. - group
Policy
Grant Principal Group - Group principal. See
groupBlock below. - project
Policy
Grant Principal Project - Project principal. See
projectBlock below. - user
Policy
Grant Principal User - User principal. See
userBlock below.
- domain_
unit PolicyGrant Principal Domain Unit - Domain unit principal. See
domainUnitBlock below. - group
Policy
Grant Principal Group - Group principal. See
groupBlock below. - project
Policy
Grant Principal Project - Project principal. See
projectBlock below. - user
Policy
Grant Principal User - User principal. See
userBlock below.
- domain
Unit Property Map - Domain unit principal. See
domainUnitBlock below. - group Property Map
- Group principal. See
groupBlock below. - project Property Map
- Project principal. See
projectBlock below. - user Property Map
- User principal. See
userBlock below.
PolicyGrantPrincipalDomainUnit, PolicyGrantPrincipalDomainUnitArgs
- Domain
Unit stringDesignation - Designation of the domain unit principal. Valid values:
OWNER. - All
Domain PolicyUnits Grant Filter Grant Principal Domain Unit All Domain Units Grant Filter - Filter to grant access to all domain units. Empty block.
- Domain
Unit stringIdentifier - Identifier of the domain unit.
- Domain
Unit stringDesignation - Designation of the domain unit principal. Valid values:
OWNER. - All
Domain PolicyUnits Grant Filter Grant Principal Domain Unit All Domain Units Grant Filter - Filter to grant access to all domain units. Empty block.
- Domain
Unit stringIdentifier - Identifier of the domain unit.
- domain_
unit_ stringdesignation - Designation of the domain unit principal. Valid values:
OWNER. - all_
domain_ objectunits_ grant_ filter - Filter to grant access to all domain units. Empty block.
- domain_
unit_ stringidentifier - Identifier of the domain unit.
- domain
Unit StringDesignation - Designation of the domain unit principal. Valid values:
OWNER. - all
Domain PolicyUnits Grant Filter Grant Principal Domain Unit All Domain Units Grant Filter - Filter to grant access to all domain units. Empty block.
- domain
Unit StringIdentifier - Identifier of the domain unit.
- domain
Unit stringDesignation - Designation of the domain unit principal. Valid values:
OWNER. - all
Domain PolicyUnits Grant Filter Grant Principal Domain Unit All Domain Units Grant Filter - Filter to grant access to all domain units. Empty block.
- domain
Unit stringIdentifier - Identifier of the domain unit.
- domain_
unit_ strdesignation - Designation of the domain unit principal. Valid values:
OWNER. - all_
domain_ Policyunits_ grant_ filter Grant Principal Domain Unit All Domain Units Grant Filter - Filter to grant access to all domain units. Empty block.
- domain_
unit_ stridentifier - Identifier of the domain unit.
- domain
Unit StringDesignation - Designation of the domain unit principal. Valid values:
OWNER. - all
Domain Property MapUnits Grant Filter - Filter to grant access to all domain units. Empty block.
- domain
Unit StringIdentifier - Identifier of the domain unit.
PolicyGrantPrincipalGroup, PolicyGrantPrincipalGroupArgs
- Group
Identifier string - Identifier of the group principal.
- Group
Identifier string - Identifier of the group principal.
- group_
identifier string - Identifier of the group principal.
- group
Identifier String - Identifier of the group principal.
- group
Identifier string - Identifier of the group principal.
- group_
identifier str - Identifier of the group principal.
- group
Identifier String - Identifier of the group principal.
PolicyGrantPrincipalProject, PolicyGrantPrincipalProjectArgs
- Project
Designation string - Designation of the project principal. Valid values:
CONTRIBUTOR,OWNER,PROJECT_CATALOG_STEWARD. - Domain
Unit PolicyFilter Grant Principal Project Domain Unit Filter - Filter for domain unit scoping. See
domainUnitFilterBlock below. - Project
Identifier string - Identifier of the project.
- Project
Designation string - Designation of the project principal. Valid values:
CONTRIBUTOR,OWNER,PROJECT_CATALOG_STEWARD. - Domain
Unit PolicyFilter Grant Principal Project Domain Unit Filter - Filter for domain unit scoping. See
domainUnitFilterBlock below. - Project
Identifier string - Identifier of the project.
- project_
designation string - Designation of the project principal. Valid values:
CONTRIBUTOR,OWNER,PROJECT_CATALOG_STEWARD. - domain_
unit_ objectfilter - Filter for domain unit scoping. See
domainUnitFilterBlock below. - project_
identifier string - Identifier of the project.
- project
Designation String - Designation of the project principal. Valid values:
CONTRIBUTOR,OWNER,PROJECT_CATALOG_STEWARD. - domain
Unit PolicyFilter Grant Principal Project Domain Unit Filter - Filter for domain unit scoping. See
domainUnitFilterBlock below. - project
Identifier String - Identifier of the project.
- project
Designation string - Designation of the project principal. Valid values:
CONTRIBUTOR,OWNER,PROJECT_CATALOG_STEWARD. - domain
Unit PolicyFilter Grant Principal Project Domain Unit Filter - Filter for domain unit scoping. See
domainUnitFilterBlock below. - project
Identifier string - Identifier of the project.
- project_
designation str - Designation of the project principal. Valid values:
CONTRIBUTOR,OWNER,PROJECT_CATALOG_STEWARD. - domain_
unit_ Policyfilter Grant Principal Project Domain Unit Filter - Filter for domain unit scoping. See
domainUnitFilterBlock below. - project_
identifier str - Identifier of the project.
- project
Designation String - Designation of the project principal. Valid values:
CONTRIBUTOR,OWNER,PROJECT_CATALOG_STEWARD. - domain
Unit Property MapFilter - Filter for domain unit scoping. See
domainUnitFilterBlock below. - project
Identifier String - Identifier of the project.
PolicyGrantPrincipalProjectDomainUnitFilter, PolicyGrantPrincipalProjectDomainUnitFilterArgs
- Domain
Unit string - Identifier of the domain unit for filtering.
- Include
Child boolDomain Units - Whether to include child domain units in the filter.
- Domain
Unit string - Identifier of the domain unit for filtering.
- Include
Child boolDomain Units - Whether to include child domain units in the filter.
- domain_
unit string - Identifier of the domain unit for filtering.
- include_
child_ booldomain_ units - Whether to include child domain units in the filter.
- domain
Unit String - Identifier of the domain unit for filtering.
- include
Child BooleanDomain Units - Whether to include child domain units in the filter.
- domain
Unit string - Identifier of the domain unit for filtering.
- include
Child booleanDomain Units - Whether to include child domain units in the filter.
- domain_
unit str - Identifier of the domain unit for filtering.
- include_
child_ booldomain_ units - Whether to include child domain units in the filter.
- domain
Unit String - Identifier of the domain unit for filtering.
- include
Child BooleanDomain Units - Whether to include child domain units in the filter.
PolicyGrantPrincipalUser, PolicyGrantPrincipalUserArgs
- All
Users PolicyGrant Filter Grant Principal User All Users Grant Filter - Filter to grant access to all users. Empty block.
- User
Identifier string - Identifier of the user principal.
- All
Users PolicyGrant Filter Grant Principal User All Users Grant Filter - Filter to grant access to all users. Empty block.
- User
Identifier string - Identifier of the user principal.
- all_
users_ objectgrant_ filter - Filter to grant access to all users. Empty block.
- user_
identifier string - Identifier of the user principal.
- all
Users PolicyGrant Filter Grant Principal User All Users Grant Filter - Filter to grant access to all users. Empty block.
- user
Identifier String - Identifier of the user principal.
- all
Users PolicyGrant Filter Grant Principal User All Users Grant Filter - Filter to grant access to all users. Empty block.
- user
Identifier string - Identifier of the user principal.
- all_
users_ Policygrant_ filter Grant Principal User All Users Grant Filter - Filter to grant access to all users. Empty block.
- user_
identifier str - Identifier of the user principal.
- all
Users Property MapGrant Filter - Filter to grant access to all users. Empty block.
- user
Identifier String - Identifier of the user principal.
Import
Identity Schema
Required
domainIdentifier(String) Identifier of the domain.entityType(String) Type of entity.entityIdentifier(String) Identifier of the entity.policyType(String) Type of the managed policy.grantId(String) Identifier of the policy grant.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import DataZone Policy Grant using the domain_identifier,entity_type,entity_identifier,policy_type,grant_id. For example:
$ pulumi import aws:datazone/policyGrant:PolicyGrant example dzd_54nakfrg9k6sri,DOMAIN_UNIT,9v3oj4n26k4yrq,CREATE_DOMAIN_UNIT,3v8lox42tj5zic
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Sep 17, 2026 by Pulumi