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.



936
937
938
939
940
941
942
943
944
# File 'lib/aws-sdk-licensemanager/types.rb', line 936

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.



936
937
938
939
940
941
942
943
944
# File 'lib/aws-sdk-licensemanager/types.rb', line 936

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.



936
937
938
939
940
941
942
943
944
# File 'lib/aws-sdk-licensemanager/types.rb', line 936

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.



936
937
938
939
940
941
942
943
944
# File 'lib/aws-sdk-licensemanager/types.rb', line 936

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.



936
937
938
939
940
941
942
943
944
# File 'lib/aws-sdk-licensemanager/types.rb', line 936

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