interface PolicyGrantPrincipalProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_datazone.CfnPolicyGrant.PolicyGrantPrincipalProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdatazone#CfnPolicyGrant_PolicyGrantPrincipalProperty |
![]() | software.amazon.awscdk.services.datazone.CfnPolicyGrant.PolicyGrantPrincipalProperty |
![]() | aws_cdk.aws_datazone.CfnPolicyGrant.PolicyGrantPrincipalProperty |
![]() | 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.