Compare commits
2 Commits
master
...
fix-cloudf
Author | SHA1 | Date | |
---|---|---|---|
![]() |
17ba626dba | ||
![]() |
fe83660b61 |
@ -17,7 +17,8 @@ Note: this rule doesn't check if the value provided to "RetentionInDays" is vali
|
|||||||
Runtime: nodejs12.x
|
Runtime: nodejs12.x
|
||||||
Description: Example of Lambda Function
|
Description: Example of Lambda Function
|
||||||
|
|
||||||
MyFunctionLogGroup: Type: AWS::Logs::LogGroup
|
MyFunctionLogGroup:
|
||||||
|
Type: AWS::Logs::LogGroup
|
||||||
Properties:
|
Properties:
|
||||||
LogGroupName: !Join ['/', ['/aws/lambda', !Ref MyLambdaFunction]]
|
LogGroupName: !Join ['/', ['/aws/lambda', !Ref MyLambdaFunction]]
|
||||||
# Noncompliant: "RetentionInDays" property is not set: logs are kept for ever
|
# Noncompliant: "RetentionInDays" property is not set: logs are kept for ever
|
||||||
@ -32,7 +33,8 @@ Note: this rule doesn't check if the value provided to "RetentionInDays" is vali
|
|||||||
Runtime: nodejs12.x
|
Runtime: nodejs12.x
|
||||||
Description: Example of Lambda Function
|
Description: Example of Lambda Function
|
||||||
|
|
||||||
MyFunctionLogGroup: Type: AWS::Logs::LogGroup
|
MyFunctionLogGroup:
|
||||||
|
Type: AWS::Logs::LogGroup
|
||||||
Properties:
|
Properties:
|
||||||
LogGroupName: !Join ['/', ['/aws/lambda', !Ref MyLambdaFunction]]
|
LogGroupName: !Join ['/', ['/aws/lambda', !Ref MyLambdaFunction]]
|
||||||
RetentionInDays: 30
|
RetentionInDays: 30
|
||||||
|
Loading…
x
Reference in New Issue
Block a user