AWS::DataZone::PolicyGrantAdds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles.
import { CfnPolicyGrant } from 'aws-cdk-lib/aws-datazone';Or use the module namespace:
import * as datazone from 'aws-cdk-lib/aws-datazone';
// datazone.CfnPolicyGrantConfiguration passed to the constructor as CfnPolicyGrantProps.
domainIdentifierRequiredstringThe ID of the domain where you want to add a policy grant.
entityIdentifierRequiredstringThe ID of the entity (resource) to which you want to add a policy grant.
entityTypeRequiredstringThe type of entity (resource) to which the grant is added.
policyTypeRequiredstringThe type of policy that you want to grant.
detailOptionalIResolvable | PolicyGrantDetailPropertyThe details of the policy grant member.
principalOptionalIResolvable | PolicyGrantPrincipalPropertyThe principal of the policy grant member.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-datazoneAWS::DataZone::PolicyGrant