diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.lambda.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.lambda.ts index ec54d8ecfc28e..47b0eaa5853c0 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.lambda.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.lambda.ts @@ -62,4 +62,10 @@ new CfnOutput(stack, 'URL', { }); new CfnOutput(stack, 'URLWithDefaultAuthorizer', { value: httpApiWithDefaultAuthorizer.url!, -}); \ No newline at end of file +}); +new CfnOutput(stack, 'AuthorizerId', { + value: authorizer.authorizerId +}); +new CfnOutput(stack, 'AuthorizationType', { + value: authorizer.authorizationType +}); diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.user-pool.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.user-pool.ts index 8e193d3215326..f612021080dcc 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.user-pool.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.user-pool.ts @@ -3,7 +3,7 @@ import { HttpApi, HttpMethod, HttpRoute, HttpRouteKey } from 'aws-cdk-lib/aws-ap import { HttpLambdaIntegration } from 'aws-cdk-lib/aws-apigatewayv2-integrations'; import * as cognito from 'aws-cdk-lib/aws-cognito'; import * as lambda from 'aws-cdk-lib/aws-lambda'; -import { App, Stack } from 'aws-cdk-lib'; +import { App, Stack, CfnOutput } from 'aws-cdk-lib'; import { HttpUserPoolAuthorizer } from 'aws-cdk-lib/aws-apigatewayv2-authorizers'; /* @@ -45,4 +45,11 @@ new HttpRoute(stack, 'Route', { httpApi: httpApiWithDefaultAuthorizer, routeKey: HttpRouteKey.with('/v1/mything/{proxy+}', HttpMethod.ANY), integration: new HttpLambdaIntegration('RootIntegration', handler), -}); \ No newline at end of file +}); + +new CfnOutput(stack, 'AuthorizerId', { + value: authorizer.authorizerId +}); +new CfnOutput(stack, 'AuthorizationType', { + value: authorizer.authorizationType +});