Skip to content

Commit

Permalink
chore: update ALB to recommended TLS policy
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanson committed Feb 6, 2025
1 parent 69f6d19 commit 9e6a791
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/cognito/lib/cognito-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export class CognitoStack extends cdk.Stack {
open: true,
certificates: [cert],
protocol: cdk.aws_elasticloadbalancingv2.ApplicationProtocol.HTTPS,
sslPolicy: cdk.aws_elasticloadbalancingv2.SslPolicy.RECOMMENDED_TLS, // This enforces TLS 1.2 and higher
defaultAction:
new cdk.aws_elasticloadbalancingv2_actions.AuthenticateCognitoAction({
userPool: cup,
Expand Down

0 comments on commit 9e6a791

Please sign in to comment.