Kujtim Hoxha
02/09/2022, 8:21 PMKujtim Hoxha
02/10/2022, 9:54 PMJay
Frank
new sst.Api(this, "Api", {
accessLog: {
logGroupName: "xxxxxxxx",
retention: "ONE_WEEK",
},
});
Let me know.Kujtim Hoxha
02/18/2022, 4:09 PMFrank
const logGroup = new logs.LogGroup(this, "LogGroup", {
logGroupName: "/custom/log/group",
});
new Api(this, "Api", {
accessLog: {
destinationArn: logGroup.logGroupArn,
},
routes: {
...
},
})