Class: Aws::LicenseManager::Types::CreateTokenRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

Idempotency token, valid for 10 minutes.

Returns:

  • (String)


917
918
919
920
921
922
923
924
925
# File 'lib/aws-sdk-licensemanager/types.rb', line 917

class CreateTokenRequest < Struct.new(
  :license_arn,
  :role_arns,
  :expiration_in_days,
  :token_properties,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#expiration_in_daysInteger

Token expiration, in days, counted from token creation. The default is 365 days.

Returns:

  • (Integer)


917
918
919
920
921
922
923
924
925
# File 'lib/aws-sdk-licensemanager/types.rb', line 917

class CreateTokenRequest < Struct.new(
  :license_arn,
  :role_arns,
  :expiration_in_days,
  :token_properties,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#license_arnString

Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.

Returns:

  • (String)


917
918
919
920
921
922
923
924
925
# File 'lib/aws-sdk-licensemanager/types.rb', line 917

class CreateTokenRequest < Struct.new(
  :license_arn,
  :role_arns,
  :expiration_in_days,
  :token_properties,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnsArray<String>

Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.

Returns:

  • (Array<String>)


917
918
919
920
921
922
923
924
925
# File 'lib/aws-sdk-licensemanager/types.rb', line 917

class CreateTokenRequest < Struct.new(
  :license_arn,
  :role_arns,
  :expiration_in_days,
  :token_properties,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#token_propertiesArray<String>

Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.

Returns:

  • (Array<String>)


917
918
919
920
921
922
923
924
925
# File 'lib/aws-sdk-licensemanager/types.rb', line 917

class CreateTokenRequest < Struct.new(
  :license_arn,
  :role_arns,
  :expiration_in_days,
  :token_properties,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end