interface PolicyGrantPrincipalProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DataZone.CfnPolicyGrant.PolicyGrantPrincipalProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdatazone#CfnPolicyGrant_PolicyGrantPrincipalProperty |
Java | software.amazon.awscdk.services.datazone.CfnPolicyGrant.PolicyGrantPrincipalProperty |
Python | aws_cdk.aws_datazone.CfnPolicyGrant.PolicyGrantPrincipalProperty |
TypeScript | aws-cdk-lib » aws_datazone » CfnPolicyGrant » PolicyGrantPrincipalProperty |
The policy grant principal.
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;
const policyGrantPrincipalProperty: datazone.CfnPolicyGrant.PolicyGrantPrincipalProperty = {
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 | IResolvable | Domain | The domain unit of the policy grant principal. |
| group? | IResolvable | Group | The group of the policy grant principal. |
| project? | IResolvable | Project | The project of the policy grant principal. |
| user? | IResolvable | User | The user of the policy grant principal. |
domainUnit?
Type:
IResolvable | Domain
(optional)
The domain unit of the policy grant principal.
group?
Type:
IResolvable | Group
(optional)
The group of the policy grant principal.
project?
Type:
IResolvable | Project
(optional)
The project of the policy grant principal.
user?
Type:
IResolvable | User
(optional)
The user of the policy grant principal.

.NET
Go
Java
Python
TypeScript