class Aws::LicenseManager::Types::CreateTokenRequest
@note When making an API call, you may pass CreateTokenRequest
data as a hash: { license_arn: "Arn", # required role_arns: ["Arn"], expiration_in_days: 1, token_properties: ["String"], client_token: "ClientToken", # required }
@!attribute [rw] license_arn
Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token. @return [String]
@!attribute [rw] role_arns
Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use. @return [Array<String>]
@!attribute [rw] expiration_in_days
Token expiration, in days, counted from token creation. The default is 365 days. @return [Integer]
@!attribute [rw] token_properties
Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token. @return [Array<String>]
@!attribute [rw] client_token
Idempotency token, valid for 10 minutes. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateTokenRequest AWS API Documentation
Constants
- SENSITIVE