@pulumi/awsx
Version:
[](https://github.com/pulumi/pulumi-awsx/actions) [](https://slack.pulumi.com) [. For lambda authorizers, the value of the
* objects is an empty array.
*/
security?: Record<string, string[]>[];
}
export interface SecurityDefinition {
type: "apiKey";
name: string;
in: "header" | "query";
"x-amazon-apigateway-authtype"?: string;
"x-amazon-apigateway-authorizer"?: SwaggerLambdaAuthorizer | SwaggerCognitoAuthorizer;
}
export interface SwaggerLambdaAuthorizer {
type: "token" | "request";
authorizerUri: pulumi.Input<string>;
authorizerCredentials: pulumi.Input<string>;
identitySource?: string;
identityValidationExpression?: string;
authorizerResultTtlInSeconds?: number;
}
export interface SwaggerCognitoAuthorizer {
type: "cognito_user_pools";
identitySource: string;
providerARNs: pulumi.Input<string>[];
authorizerResultTtlInSeconds?: number;
}
export interface SwaggerParameter {
name: string;
in: string;
required: boolean;
type?: string;
}
export interface SwaggerResponse {
description: string;
schema?: SwaggerSchema;
headers?: {
[header: string]: SwaggerHeader;
};
}
export interface SwaggerSchema {
type: string;
}
export interface SwaggerHeader {
type: "string" | "number" | "integer" | "boolean" | "array";
items?: SwaggerItems;
}
export interface SwaggerItems {
type: "string" | "number" | "integer" | "boolean" | "array";
items?: SwaggerItems;
}
export interface SwaggerAPIGatewayIntegrationResponse {
statusCode: string;
responseParameters?: {
[key: string]: string;
};
}
export interface ApigatewayIntegration {
requestParameters?: any;
passthroughBehavior?: pulumi.Input<IntegrationPassthroughBehavior>;
httpMethod: pulumi.Input<Method>;
type: pulumi.Input<IntegrationType>;
responses?: {
[pattern: string]: SwaggerAPIGatewayIntegrationResponse;
};
uri: pulumi.Input<string>;
connectionType?: pulumi.Input<IntegrationConnectionType | undefined>;
connectionId?: pulumi.Input<string | undefined>;
credentials?: pulumi.Output<string>;
}
export interface ApigatewayAuth {
type: string;
}
export type Method = "ANY" | "GET" | "PUT" | "POST" | "DELETE" | "PATCH" | "OPTIONS" | "HEAD";
export type IntegrationConnectionType = "INTERNET" | "VPC_LINK";
export type IntegrationType = "aws" | "aws_proxy" | "http" | "http_proxy" | "mock";
export type IntegrationPassthroughBehavior = "when_no_match" | "when_no_templates" | "never";
export type RequestValidator = "ALL" | "PARAMS_ONLY" | "BODY_ONLY";
export type APIKeySource = "HEADER" | "AUTHORIZER";
//# sourceMappingURL=swagger_json.d.ts.map