@@ -52,7 +52,7 @@ Globals:
5252 - x86_64
5353 Environment :
5454 Variables :
55- DYNAMODB_TABLE : !Ref WebTable
55+ DYNAMODB_TABLE : !Ref PropertiesTable
5656 EVENT_BUS : !Ref UnicornWebEventBus
5757 SERVICE_NAMESPACE : " {{resolve:ssm:/uni-prop/UnicornWebNamespace}}"
5858 POWERTOOLS_SERVICE_NAME : " {{resolve:ssm:/uni-prop/UnicornWebNamespace}}"
@@ -93,7 +93,7 @@ Resources:
9393 Handler : search.PropertySearchFunction::handleRequest
9494 Policies :
9595 - DynamoDBReadPolicy :
96- TableName : !Ref WebTable
96+ TableName : !Ref PropertiesTable
9797
9898 # Log group for the SearchFunction
9999 SearchFunctionLogGroup :
@@ -114,7 +114,7 @@ Resources:
114114 - EventBridgePutEventsPolicy :
115115 EventBusName : !Ref UnicornWebEventBus
116116 - DynamoDBReadPolicy :
117- TableName : !Ref WebTable
117+ TableName : !Ref PropertiesTable
118118 Events :
119119 IngestQueue :
120120 Type : SQS
@@ -139,10 +139,10 @@ Resources:
139139 Type : AWS::Serverless::Function
140140 Properties :
141141 CodeUri : PublicationManagerService
142- Handler : publicationmanager.PublicationApprovedEventHandler ::handleRequest
142+ Handler : publicationmanager.publicationEvaluationEventHandler ::handleRequest
143143 Policies :
144144 - DynamoDBCrudPolicy :
145- TableName : !Ref WebTable
145+ TableName : !Ref PropertiesTable
146146 EventInvokeConfig :
147147 DestinationConfig :
148148 OnFailure :
@@ -294,7 +294,7 @@ Resources:
294294
295295 # #### DYNAMODB
296296 # Persists Property details in DynamoDB
297- WebTable :
297+ PropertiesTable :
298298 Type : AWS::DynamoDB::Table
299299 UpdateReplacePolicy : Delete
300300 DeletionPolicy : Delete
@@ -472,9 +472,9 @@ Outputs:
472472 Value : !GetAtt UnicornWebIngestQueue.QueueUrl
473473
474474 # ### DYNAMODB OUTPUTS
475- UnicornWebTableName :
475+ PropertiesTableName :
476476 Description : Name of the DynamoDB Table for Unicorn Web
477- Value : !Ref WebTable
477+ Value : !Ref PropertiesTable
478478
479479 # ### LAMBDA FUNCTIONS OUTPUTS
480480 SearchFunctionArn :
0 commit comments