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.
- grant_name
Grant name.
- home_region
Home Region of the grant.
- license_arn
License ARN.
- 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:
- Type:
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN)
- status
Granted license status.