Class: Aws::LicenseManager::Types::CreateGrantRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_operations ⇒ Array<String>

Allowed operations for the grant.

Returns:

  • (Array<String>)


458
459
460
461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 458

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_token ⇒ String

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Returns:

  • (String)


458
459
460
461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 458

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#grant_name ⇒ String

Grant name.

Returns:

  • (String)


458
459
460
461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 458

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#home_region ⇒ String

Home Region of the grant.

Returns:

  • (String)


458
459
460
461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 458

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#license_arn ⇒ String

Amazon Resource Name (ARN) of the license.

Returns:

  • (String)


458
459
460
461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 458

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations,
  :tags)
  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.

^

Returns:

  • (Array<String>)


458
459
460
461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 458

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations,
  :tags)
  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.

Returns:



458
459
460
461
462
463
464
465
466
467
468
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 458

class CreateGrantRequest < Struct.new(
  :client_token,
  :grant_name,
  :license_arn,
  :principals,
  :home_region,
  :allowed_operations,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end