Class: Aws::LicenseManager::Types::CreateGrantRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LicenseManager::Types::CreateGrantRequest
- Defined in:
- gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allowed_operations ⇒ Array<String>
Allowed operations for the grant.
-
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#grant_name ⇒ String
Grant name.
-
#grant_type ⇒ String
The type of grant to create.
-
#home_region ⇒ String
Home Region of the grant.
-
#license_arn ⇒ String
Amazon Resource Name (ARN) of the license.
-
#options ⇒ Types::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 ⇒ Array<String>
The grant principals.
-
#tags ⇒ Array<Types::Tag>
Tags to add to the grant.
Instance Attribute Details
#allowed_operations ⇒ Array<String>
Allowed operations for the grant.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |
#grant_name ⇒ String
Grant name.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |
#grant_type ⇒ String
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.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |
#home_region ⇒ String
Home Region of the grant.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |
#license_arn ⇒ String
Amazon Resource Name (ARN) of the license.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |
#options ⇒ Types::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.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |
#principals ⇒ Array<String>
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.
^
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Tags to add to the grant. For more information about tagging support in License Manager, see the TagResource operation.
476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 476 class CreateGrantRequest < Struct.new( :client_token, :grant_name, :license_arn, :principals, :home_region, :allowed_operations, :tags, :grant_type, :options) SENSITIVE = [] include Aws::Structure end |