File tree Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ Metadata:
15
15
- WS2001 # Rule disabled because check does not support !ToJsonString transform
16
16
- ES1001 # Rule disabled because our Lambda functions don't need DestinationConfig.OnFailure
17
17
- W3002 # Rule disabled as nested templates are being packaged
18
- - E0002
19
18
- E3030 # Rule disabled due to using cfn-lint-serverless rules v0.3
20
19
- E3002 # Rule disabled due to using cfn-lint-serverless rules v0.3
21
20
@@ -48,8 +47,8 @@ Globals:
48
47
OpenApiVersion : 3.0.1
49
48
Function :
50
49
Runtime : python3.12
51
- MemorySize : 128
52
- Timeout : 3
50
+ MemorySize : 512
51
+ Timeout : 15
53
52
Tracing : Active
54
53
Architectures :
55
54
- x86_64
Original file line number Diff line number Diff line change 1
1
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: MIT-0
3
- AWSTemplateFormatVersion : 2010-09-09
3
+ AWSTemplateFormatVersion : " 2010-09-09"
4
4
Transform :
5
5
- AWS::Serverless-2016-10-31
6
6
Description : >
@@ -12,6 +12,7 @@ Metadata:
12
12
ignore_checks :
13
13
- ES4000 # Rule disabled because the CatchAll Rule doesn't need a DLQ
14
14
- ES6000 # Rule disabled because SQS DLQs don't need a RedrivePolicy
15
+ - E0001 # Rule disabled because cfn-lint cannot parse SAM Policy templates without arguments (ComprehendBasicAccessPolicy, RekognitionDetectOnlyPolicy)
15
16
- WS2001 # Rule disabled because check does not support !ToJsonString transform
16
17
- ES1001 # Rule disabled because our Lambda functions don't need DestinationConfig.OnFailure
17
18
- W3002 # Rule disabled as nested templates are being packaged
@@ -44,14 +45,15 @@ Conditions:
44
45
Globals :
45
46
Function :
46
47
Runtime : python3.12
47
- MemorySize : 128
48
- Timeout : 15
48
+ MemorySize : 512
49
+ Timeout : 10
49
50
Tracing : Active
50
51
Architectures :
51
52
- x86_64
52
53
Environment :
53
54
Variables :
54
55
CONTRACT_STATUS_TABLE : !Ref ContractStatusTable
56
+ EVENT_BUS : !Ref UnicornPropertiesEventBus
55
57
SERVICE_NAMESPACE : " {{resolve:ssm:/uni-prop/UnicornPropertiesNamespace}}"
56
58
POWERTOOLS_LOGGER_CASE : PascalCase
57
59
POWERTOOLS_SERVICE_NAME : " {{resolve:ssm:/uni-prop/UnicornPropertiesNamespace}}"
Original file line number Diff line number Diff line change 1
1
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: MIT-0
3
- AWSTemplateFormatVersion : 2010-09-09
3
+ AWSTemplateFormatVersion : " 2010-09-09"
4
4
Transform :
5
5
- AWS::Serverless-2016-10-31
6
6
Description : >
@@ -14,6 +14,7 @@ Metadata:
14
14
- ES6000 # Rule disabled because SQS DLQs don't need a RedrivePolicy
15
15
- WS2001 # Rule disabled because check does not support !ToJsonString transform
16
16
- ES1001 # Rule disabled because our Lambda functions don't need DestinationConfig.OnFailure
17
+ - W3002 # Rule disabled as nested templates are being packaged
17
18
- W3002 # Rule disabled as nested templates are being packaged
18
19
- E3030 # Rule disabled due to using cfn-lint-serverless rules v0.3
19
20
@@ -46,8 +47,8 @@ Globals:
46
47
OpenApiVersion : 3.0.1
47
48
Function :
48
49
Runtime : python3.12
49
- MemorySize : 128
50
- Timeout : 15
50
+ MemorySize : 512
51
+ Timeout : 10
51
52
Tracing : Active
52
53
Architectures :
53
54
- x86_64
@@ -143,7 +144,7 @@ Resources:
143
144
CodeUri : src/
144
145
Handler : approvals_service.publication_approved_event_handler.lambda_handler
145
146
Policies :
146
- - DynamoDBWritePolicy :
147
+ - DynamoDBCrudPolicy :
147
148
TableName : !Ref WebTable
148
149
EventInvokeConfig :
149
150
DestinationConfig :
@@ -183,10 +184,7 @@ Resources:
183
184
- MetricsEnabled : true
184
185
ResourcePath : /*
185
186
HttpMethod : " *"
186
- LoggingLevel : !If
187
- - IsProd
188
- - ERROR
189
- - INFO
187
+ LoggingLevel : !If [IsProd, ERROR, INFO]
190
188
ThrottlingBurstLimit : 10
191
189
ThrottlingRateLimit : 100
192
190
AccessLogSetting :
You can’t perform that action at this time.
0 commit comments