@@ -52,7 +52,7 @@ Globals:
52
52
- x86_64
53
53
Environment :
54
54
Variables :
55
- DYNAMODB_TABLE : !Ref WebTable
55
+ DYNAMODB_TABLE : !Ref PropertiesTable
56
56
EVENT_BUS : !Ref UnicornWebEventBus
57
57
SERVICE_NAMESPACE : " {{resolve:ssm:/uni-prop/UnicornWebNamespace}}"
58
58
POWERTOOLS_LOGGER_CASE : PascalCase
@@ -94,7 +94,7 @@ Resources:
94
94
Handler : search_service.property_search_function.lambda_handler
95
95
Policies :
96
96
- DynamoDBReadPolicy :
97
- TableName : !Ref WebTable
97
+ TableName : !Ref PropertiesTable
98
98
99
99
# Log group for the SearchFunction
100
100
SearchFunctionLogGroup :
@@ -115,7 +115,7 @@ Resources:
115
115
- EventBridgePutEventsPolicy :
116
116
EventBusName : !Ref UnicornWebEventBus
117
117
- DynamoDBReadPolicy :
118
- TableName : !Ref WebTable
118
+ TableName : !Ref PropertiesTable
119
119
Events :
120
120
IngestQueue :
121
121
Type : SQS
@@ -140,10 +140,10 @@ Resources:
140
140
Type : AWS::Serverless::Function
141
141
Properties :
142
142
CodeUri : src/
143
- Handler : publication_manager_service.publication_approved_event_handler .lambda_handler
143
+ Handler : publication_manager_service.publication_evaluation_event_handler .lambda_handler
144
144
Policies :
145
145
- DynamoDBCrudPolicy :
146
- TableName : !Ref WebTable
146
+ TableName : !Ref PropertiesTable
147
147
EventInvokeConfig :
148
148
DestinationConfig :
149
149
OnFailure :
@@ -295,7 +295,7 @@ Resources:
295
295
296
296
# #### DYNAMODB
297
297
# Persists Property details in DynamoDB
298
- WebTable :
298
+ PropertiesTable :
299
299
Type : AWS::DynamoDB::Table
300
300
UpdateReplacePolicy : Delete
301
301
DeletionPolicy : Delete
@@ -473,9 +473,9 @@ Outputs:
473
473
Value : !GetAtt UnicornWebIngestQueue.QueueUrl
474
474
475
475
# ### DYNAMODB OUTPUTS
476
- UnicornWebTableName :
476
+ PropertiesTableName :
477
477
Description : Name of the DynamoDB Table for Unicorn Web
478
- Value : !Ref WebTable
478
+ Value : !Ref PropertiesTable
479
479
480
480
# ### LAMBDA FUNCTIONS OUTPUTS
481
481
SearchFunctionArn :
0 commit comments