We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df916f6 commit a0ba9ddCopy full SHA for a0ba9dd
.aws/lib/HackerRankQueueStack.ts
@@ -4,6 +4,7 @@ import {
4
aws_ecs as ecs,
5
aws_ecs_patterns as ecsPatterns,
6
aws_iam as iam,
7
+ aws_logs as logs,
8
aws_route53 as route53,
9
CfnOutput,
10
Stack,
@@ -65,6 +66,10 @@ export class HackerRankQueueStack extends Stack {
65
66
MODE: props.mode,
67
},
68
containerPort: 3000,
69
+ logDriver: ecs.LogDrivers.awsLogs({
70
+ streamPrefix: 'hacker-rank-queue',
71
+ logRetention: logs.RetentionDays.THREE_DAYS,
72
+ }),
73
74
cluster,
75
cpu: 256,
0 commit comments