CreateGrantRequest
¶
Source code in docs_src/capo_license_manager/types/create_grant_request.py
allowed_operations
instance-attribute
¶
allowed_operations: AllowedOperationList
Allowed operations for the grant.
client_token
instance-attribute
¶
client_token: ClientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
grant_type
instance-attribute
¶
grant_type: NotRequired[GrantType]
The type of grant to create. For more information about each type, see the preceding description of this operation. Valid values:
-
BuyerGrant- The default grant type if you don't specify a value. Conveys the entitlement to use the license. -
DelegateGrant- Gives the grantee read-only visibility into the licenses and grants that you have distributed to buyers, with no entitlement to use them.
options
instance-attribute
¶
options: NotRequired[Options]
The options for the grant: the status to set after creation, and how activating the grant affects other active grants for the same product.
principals
instance-attribute
¶
principals: PrincipalArnList
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
-
An Amazon Web Services 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.
tags
instance-attribute
¶
tags: NotRequired[TagList]
Tags to add to the grant. For more information about tagging support in License Manager, see the TagResource operation.