Skip to content

Commit

Permalink
feat(ta-1105): add bundling options to authenticated api
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dean-talis committed Jul 18, 2024
1 parent 5379116 commit f6d007c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/authenticated-api/authenticated-api-function-props.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as cdk from "aws-cdk-lib";
import { aws_ec2 as ec2 } from "aws-cdk-lib";
import { BundlingOptions, aws_ec2 as ec2 } from "aws-cdk-lib";

export interface AuthenticatedApiFunctionProps {
name: string;
Expand All @@ -11,4 +11,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 f6d007c

Please sign in to comment.