Skip to content

Commit

Permalink
fix(schema): Add DynamoDBWritePolicy to sam policy template
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinkney-aws authored and rubenfonseca committed Apr 22, 2022
1 parent a71f702 commit 6f08c13
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions generate/sam-2016-10-31.json
Original file line number Diff line number Diff line change
Expand Up @@ -1427,6 +1427,11 @@
"Type": "TableStreamSAMPT",
"UpdateType": "Immutable"
},
"DynamoDBWritePolicy": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
"Type": "TableSAMPT",
"UpdateType": "Immutable"
},
"SESSendBouncePolicy": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
"Type": "IdentitySAMPT",
Expand Down
3 changes: 3 additions & 0 deletions schema/sam.go
Original file line number Diff line number Diff line change
Expand Up @@ -125286,6 +125286,9 @@ var SamSchema = `{
"DynamoDBStreamReadPolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.TableStreamSAMPT"
},
"DynamoDBWritePolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT"
},
"EC2DescribePolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT"
},
Expand Down
3 changes: 3 additions & 0 deletions schema/sam.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125281,6 +125281,9 @@
"DynamoDBStreamReadPolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.TableStreamSAMPT"
},
"DynamoDBWritePolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT"
},
"EC2DescribePolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT"
},
Expand Down

0 comments on commit 6f08c13

Please sign in to comment.