Skip to content

Commit

Permalink
feat(ta-1105): add bundling options to authenticated api (#89)
Browse files Browse the repository at this point in the history
* feat(ta-1105): add bundling options to authenticated api

* feat(ta-1105): add bundling options to authenticated api
  • Loading branch information
mike-dean-talis authored Jul 18, 2024
1 parent 5379116 commit d5f3b65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/authenticated-api/authenticated-api-function-props.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as cdk from "aws-cdk-lib";
import { aws_ec2 as ec2 } from "aws-cdk-lib";
import { BundlingOptions } from "aws-cdk-lib/aws-lambda-nodejs";

export interface AuthenticatedApiFunctionProps {
name: string;
Expand All @@ -11,4 +12,5 @@ export interface AuthenticatedApiFunctionProps {
vpcSubnets?: ec2.SubnetSelection;
securityGroups?: Array<ec2.ISecurityGroup>;
memorySize?: number;
bundling?: BundlingOptions;
}
1 change: 1 addition & 0 deletions lib/authenticated-api/authenticated-api-function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class AuthenticatedApiFunction extends lambdaNode.NodejsFunction {
securityGroups: props.securityGroups,
vpc: props.vpc,
vpcSubnets: props.vpcSubnets,
bundling: props.bundling,
});
}
}

0 comments on commit d5f3b65

Please sign in to comment.