Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApiGatewayV1Api construct for REST API Gateway only supports Lambda integration type #3796

Open
Bidzina opened this issue Jun 14, 2024 · 0 comments

Comments

@Bidzina
Copy link

Bidzina commented Jun 14, 2024

I need to use HTTP_PROXY integration for REST api gateway method but ApiGatewayV1Api construct only supports LambdaIntegration.

export interface ApiGatewayV1ApiFunctionRouteProps<AuthorizerKeys = never> {
    function?: FunctionDefinition;
    authorizer?: "none" | "iam" | (string extends AuthorizerKeys ? Omit<AuthorizerKeys, "none" | "iam"> : AuthorizerKeys);
    authorizationScopes?: string[];
    cdk?: {
        method?: Omit<apig.MethodOptions, "authorizer" | "authorizationType" | "authorizationScopes">;
        integration?: apig.LambdaIntegrationOptions;
        /**
         * Use an existing Lambda function.
         */
        function?: lambda.IFunction;
    };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant