interface CfnPolicyGrantProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_datazone.CfnPolicyGrantProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdatazone#CfnPolicyGrantProps |
![]() | software.amazon.awscdk.services.datazone.CfnPolicyGrantProps |
![]() | aws_cdk.aws_datazone.CfnPolicyGrantProps |
![]() | aws-cdk-lib » aws_datazone » CfnPolicyGrantProps |
Properties for defining a CfnPolicyGrant
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
declare const allDomainUnitsGrantFilter: any;
declare const allUsersGrantFilter: any;
declare const createEnvironment: any;
declare const createEnvironmentFromBlueprint: any;
declare const delegateCreateEnvironmentProfile: any;
const cfnPolicyGrantProps: datazone.CfnPolicyGrantProps = {
domainIdentifier: 'domainIdentifier',
entityIdentifier: 'entityIdentifier',
entityType: 'entityType',
policyType: 'policyType',
// the properties below are optional
detail: {
addToProjectMemberPool: {
includeChildDomainUnits: false,
},
createAssetType: {
includeChildDomainUnits: false,
},
createDomainUnit: {
includeChildDomainUnits: false,
},
createEnvironment: createEnvironment,
createEnvironmentFromBlueprint: createEnvironmentFromBlueprint,
createEnvironmentProfile: {
domainUnitId: 'domainUnitId',
},
createFormType: {
includeChildDomainUnits: false,
},
createGlossary: {
includeChildDomainUnits: false,
},
createProject: {
includeChildDomainUnits: false,
},
createProjectFromProjectProfile: {
includeChildDomainUnits: false,
projectProfiles: ['projectProfiles'],
},
delegateCreateEnvironmentProfile: delegateCreateEnvironmentProfile,
overrideDomainUnitOwners: {
includeChildDomainUnits: false,
},
overrideProjectOwners: {
includeChildDomainUnits: false,
},
},
principal: {
domainUnit: {
domainUnitDesignation: 'domainUnitDesignation',
domainUnitGrantFilter: {
allDomainUnitsGrantFilter: allDomainUnitsGrantFilter,
},
domainUnitIdentifier: 'domainUnitIdentifier',
},
group: {
groupIdentifier: 'groupIdentifier',
},
project: {
projectDesignation: 'projectDesignation',
projectGrantFilter: {
domainUnitFilter: {
domainUnit: 'domainUnit',
// the properties below are optional
includeChildDomainUnits: false,
},
},
projectIdentifier: 'projectIdentifier',
},
user: {
allUsersGrantFilter: allUsersGrantFilter,
userIdentifier: 'userIdentifier',
},
},
};
Properties
Name | Type | Description |
---|---|---|
domain | string | The ID of the domain where you want to add a policy grant. |
entity | string | The ID of the entity (resource) to which you want to add a policy grant. |
entity | string | The type of entity (resource) to which the grant is added. |
policy | string | The type of policy that you want to grant. |
detail? | IResolvable | Policy | The details of the policy grant member. |
principal? | IResolvable | Policy | The principal of the policy grant member. |
domainIdentifier
Type:
string
The ID of the domain where you want to add a policy grant.
entityIdentifier
Type:
string
The ID of the entity (resource) to which you want to add a policy grant.
entityType
Type:
string
The type of entity (resource) to which the grant is added.
policyType
Type:
string
The type of policy that you want to grant.
detail?
Type:
IResolvable
|
Policy
(optional)
The details of the policy grant member.
principal?
Type:
IResolvable
|
Policy
(optional)
The principal of the policy grant member.