Skip to content

CreateMicrovmAuthTokenRequest

Source code in docs_src/capo_lambda_microvms/types/create_microvm_auth_token_request.py
class CreateMicrovmAuthTokenRequest(TypedDict, closed=True):
    microvm_identifier: (
        "capo_lambda_microvms.types.microvm_identifier.MicrovmIdentifier"
    )
    """<p>The ID of the MicroVM to create an authentication token for.</p>"""
    expiration_in_minutes: "capo_lambda_microvms.types.positive_integer.PositiveInteger"
    """<p>The duration in minutes before the authentication token expires. Maximum: 60 minutes.</p>"""
    allowed_ports: (
        "capo_lambda_microvms.types.list_of_port_specification.ListOfPortSpecification"
    )
    """<p>The list of port specifications that the authentication token grants access to on the MicroVM.</p>"""

allowed_ports instance-attribute

allowed_ports: ListOfPortSpecification

The list of port specifications that the authentication token grants access to on the MicroVM.

expiration_in_minutes instance-attribute

expiration_in_minutes: PositiveInteger

The duration in minutes before the authentication token expires. Maximum: 60 minutes.

microvm_identifier instance-attribute

microvm_identifier: MicrovmIdentifier

The ID of the MicroVM to create an authentication token for.