Skip to content

CreateTokenRequest

Source code in docs_src/capo_license_manager/types/create_token_request.py
class CreateTokenRequest(TypedDict, closed=True):
    license_arn: "capo_license_manager.types.arn.Arn"
    """<p>Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.</p>"""
    role_arns: NotRequired["capo_license_manager.types.arn_list.ArnList"]
    """<p>Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.</p>"""
    expiration_in_days: NotRequired["capo_license_manager.types.integer.Integer"]
    """<p>Token expiration, in days, counted from token creation. The default is 365 days.</p>"""
    token_properties: NotRequired[
        "capo_license_manager.types.max_size3_string_list.MaxSize3StringList"
    ]
    """<p>Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.</p>"""
    client_token: "capo_license_manager.types.client_token.ClientToken"
    """<p>Idempotency token, valid for 10 minutes.</p>"""

client_token instance-attribute

client_token: ClientToken

Idempotency token, valid for 10 minutes.

expiration_in_days instance-attribute

expiration_in_days: NotRequired[Integer]

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

license_arn instance-attribute

license_arn: Arn

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

role_arns instance-attribute

role_arns: NotRequired[ArnList]

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

token_properties instance-attribute

token_properties: NotRequired[MaxSize3StringList]

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