AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::LicenseManager::Grant

CfnGrant

Specifies a grant. A grant shares the use of license entitlements with specific AWS accounts . For more information, see [Granted licenses](https://docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html) in the *License Manager User Guide* .

Import

import { CfnGrant } from 'aws-cdk-lib/aws-licensemanager';

Or use the module namespace:

import * as licensemanager from 'aws-cdk-lib/aws-licensemanager';
// licensemanager.CfnGrant

Properties

Configuration passed to the constructor as CfnGrantProps.

allowedOperationsOptional
string[]

Allowed operations for the grant.

grantNameOptional
string

Grant name.

homeRegionOptional
string

Home Region of the grant.

licenseArnOptional
string

License ARN.

principalsOptional
string[]

The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):. - An AWS account, which includes only the account specified. - An organizational unit (OU), which includes all accounts in the OU. - An organization, which will include all accounts across your organization.

statusOptional
string

Granted license status.

tagsOptional
CfnTag[]

A list of tags to attach.

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

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-licensemanager
CFN TypeAWS::LicenseManager::Grant
Properties7

Related Constructs

External Links