Skip to content

Cors

rboto-lambda==0.4.0 · Service index · Types

Public import: from rboto_lambda.types import Cors.

Used in: input. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

Cors = TypedDict(
    "Cors",
    {
        "allow_credentials": NotRequired['bool'],
        "allow_headers": NotRequired['Sequence[str]'],
        "allow_methods": NotRequired['Sequence[str]'],
        "allow_origins": NotRequired['Sequence[str]'],
        "expose_headers": NotRequired['Sequence[str]'],
        "max_age": NotRequired['int'],
    },
)

—