Skip to content

Commit 9e07417

Browse files
committed
chore: renamed pipe and updated comment
1 parent e24c827 commit 9e07417

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Unicorn.Contracts/template.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,11 @@ Resources:
349349
}
350350
351351
#### EVENT BRIDGE PIPES
352-
# Pipe changed on DynamoDB Table to UnicornContractsEventBus
353-
DdbStreamToEventPipe:
352+
# Pipe to transform a changed Contracts table record to ContractStatusChanged and publish it via the UnicornContractsEventBus
353+
ContractsTableStreamToEventPipe:
354354
Type: AWS::Pipes::Pipe
355355
Properties:
356-
RoleArn: !GetAtt DdbStreamToEventPipeRole.Arn
356+
RoleArn: !GetAtt ContractsTableStreamToEventPipeRole.Arn
357357
Source: !GetAtt ContractsTable.StreamArn
358358
SourceParameters:
359359
DynamoDBStreamParameters:
@@ -380,7 +380,7 @@ Resources:
380380
ContractLastModifiedOn: "<$.dynamodb.NewImage.ContractLastModifiedOn.S>"
381381

382382
# IAM Role for Event Bridge Pipe
383-
DdbStreamToEventPipeRole:
383+
ContractsTableStreamToEventPipeRole:
384384
Type: AWS::IAM::Role
385385
Properties:
386386
AssumeRolePolicyDocument:

0 commit comments

Comments
 (0)