We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480acdb commit 271a160Copy full SHA for 271a160
order-manager/template.yaml
@@ -36,13 +36,9 @@ Resources:
36
# Properties:
37
# QueueName: OrderQueue
38
39
- DynamoDBTable:
+ DynamoDBOrdersTable:
40
Type: AWS::Serverless::SimpleTable
41
Properties:
42
- PointInTimeRecoverySpecification: PointInTimeRecoverySpecification
43
- PrimaryKey: PrimaryKeyObject
44
- ProvisionedThroughput: ProvisionedThroughput
45
- SSESpecification: SSESpecification
46
TableName: OrdersTable
47
Tags:
48
AppGroup: OrdersLambda
@@ -58,6 +54,9 @@ Resources:
58
54
MemorySize: 128
59
55
Timeout: 10
60
56
Policies:
57
+ - DynamoDBCrudPolicy:
+ TableName:
+ !Ref DynamoDBOrdersTable
61
- AWSLambdaVPCAccessExecutionRole
62
- AmazonDynamoDBFullAccess
63
- AWSLambdaSQSQueueExecutionRole
0 commit comments