Skip to content

Commit

Permalink
fix(schema): Add S3WritePolicy 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 0e37816 commit c9f775e
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 @@ -1457,6 +1457,11 @@
"Type": "BucketSAMPT",
"UpdateType": "Immutable"
},
"S3WritePolicy": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
"Type": "BucketSAMPT",
"UpdateType": "Immutable"
},
"S3CrudPolicy": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
"Type": "BucketSAMPT",
Expand Down
3 changes: 3 additions & 0 deletions schema/sam.go
Original file line number Diff line number Diff line change
Expand Up @@ -125346,6 +125346,9 @@ var SamSchema = `{
"S3ReadPolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT"
},
"S3WritePolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT"
},
"SESBulkTemplatedCrudPolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT"
},
Expand Down
3 changes: 3 additions & 0 deletions schema/sam.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125341,6 +125341,9 @@
"S3ReadPolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT"
},
"S3WritePolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT"
},
"SESBulkTemplatedCrudPolicy": {
"$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT"
},
Expand Down

0 comments on commit c9f775e

Please sign in to comment.