AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::DataZone::PolicyGrant

CfnPolicyGrant

Adds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles.

Import

import { CfnPolicyGrant } from 'aws-cdk-lib/aws-datazone';

Or use the module namespace:

import * as datazone from 'aws-cdk-lib/aws-datazone';
// datazone.CfnPolicyGrant

Properties

Configuration passed to the constructor as CfnPolicyGrantProps.

domainIdentifierRequired
string

The ID of the domain where you want to add a policy grant.

entityIdentifierRequired
string

The ID of the entity (resource) to which you want to add a policy grant.

entityTypeRequired
string

The type of entity (resource) to which the grant is added.

policyTypeRequired
string

The type of policy that you want to grant.

detailOptional
IResolvable | PolicyGrantDetailProperty

The details of the policy grant member.

principalOptional
IResolvable | PolicyGrantPrincipalProperty

The principal of the policy grant member.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter