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.

  • 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

Return type

Optional[List[str]]

grant_name

Grant name.

Link

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

Return type

Optional[str]

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

Return type

Optional[str]

license_arn

License ARN.

Link

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

Return type

Optional[str]

principals

The grant principals.

Link

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

Return type

Optional[List[str]]

status

Granted license status.

Link

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

Return type

Optional[str]