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_operationsArray<String>

Allowed operations for the grant.

Returns:

  • (Array<String>)


411
412
413
414
415
416
417
418
419
420
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 411

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

#client_tokenString

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

Returns:

  • (String)


411
412
413
414
415
416
417
418
419
420
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 411

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

#grant_nameString

Grant name.

Returns:

  • (String)


411
412
413
414
415
416
417
418
419
420
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 411

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

#home_regionString

Home Region of the grant.

Returns:

  • (String)


411
412
413
414
415
416
417
418
419
420
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 411

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

#license_arnString

Amazon Resource Name (ARN) of the license.

Returns:

  • (String)


411
412
413
414
415
416
417
418
419
420
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 411

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

#principalsArray<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>)


411
412
413
414
415
416
417
418
419
420
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 411

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