UNPKG

@altostra/core

Version:

Core library for shared types and logic

23 lines (22 loc) 1.03 kB
import type { NonEmptyString } from "../../../common/CustomTypes/NonEmptyString"; import type { NaturalNumberOrZero } from "../../../common/CustomTypes/Numerics"; import type { Arn } from "../../CustomTypes/Arn"; import type { AwsResourceCommon } from "../common"; import type { CloudFormationValue } from "../IntrinsicFunctions"; export declare type ApiAuthorizerType = 'AWS::ApiGatewayV2::Authorizer'; export interface ApiAuthorizer extends AwsResourceCommon { Type: ApiAuthorizerType; Properties: ApiAuthorizerProperties; } export interface ApiAuthorizerProperties { ApiId: CloudFormationValue<NonEmptyString>; AuthorizerType: 'JWT' | 'REQUEST'; AuthorizerCredentialsArn?: CloudFormationValue<Arn> | null; AuthorizerPayloadFormatVersion?: '1.0' | '2.0'; AuthorizerResultTtlInSeconds?: NaturalNumberOrZero; AuthorizerUri?: CloudFormationValue<Arn>; EnableSimpleResponses?: boolean; IdentitySource?: string[]; JwtConfiguration?: object; Name: CloudFormationValue<NonEmptyString>; }