CfnGrantProps

class aws_cdk.aws_licensemanager.CfnGrantProps(*, allowed_operations=None, grant_name=None, home_region=None, license_arn=None, principals=None, status=None)

Bases: object

Properties for defining a CfnGrant.

Parameters:
  • allowed_operations (Optional[Sequence[str]]) – Allowed operations for the grant.

  • grant_name (Optional[str]) – Grant name.

  • home_region (Optional[str]) – Home Region of the grant.

  • license_arn (Optional[str]) – License ARN.

  • principals (Optional[Sequence[str]]) – 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.

  • status (Optional[str]) – Granted license status.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_licensemanager as licensemanager

cfn_grant_props = licensemanager.CfnGrantProps(
    allowed_operations=["allowedOperations"],
    grant_name="grantName",
    home_region="homeRegion",
    license_arn="licenseArn",
    principals=["principals"],
    status="status"
)

Attributes

allowed_operations

Allowed operations for the grant.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-allowedoperations

grant_name

Grant name.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-grantname

home_region

Home Region of the grant.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-homeregion

license_arn

License ARN.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-licensearn

principals

.

  • 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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-principals

Type:

The grant principals. You can specify one of the following as an Amazon Resource Name (ARN)

status

Granted license status.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-status