Skip to content

Commit

Permalink
fix(schema): Add Version property into IAMPolicyDocument and fix Stat…
Browse files Browse the repository at this point in the history
…ement type
  • Loading branch information
jpinkney-aws authored and rubenfonseca committed Apr 25, 2022
1 parent 69080a7 commit 846268a
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 12 deletions.

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

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

18 changes: 16 additions & 2 deletions generate/sam-2016-10-31.json
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,14 @@
"Properties": {
"Statement": {
"Documentation": "http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html",
"PrimitiveType": "Json",
"Required": true,
"Type": "List",
"ItemType": "Json",
"UpdateType": "Immutable"
},
"Version": {
"Documentation": "http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Immutable"
}
Expand Down Expand Up @@ -2433,7 +2440,14 @@
"Properties": {
"Statement": {
"Documentation": "http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html",
"PrimitiveType": "Json",
"Required": true,
"Type": "List",
"ItemType": "Json",
"UpdateType": "Immutable"
},
"Version": {
"Documentation": "http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Immutable"
}
Expand Down
22 changes: 18 additions & 4 deletions schema/sam.go
Original file line number Diff line number Diff line change
Expand Up @@ -125044,11 +125044,18 @@ var SamSchema = `{
"additionalProperties": false,
"properties": {
"Statement": {
"type": "object"
"items": {
"type": "object"
},
"type": "array"
},
"Version": {
"type": "string"
}
},
"required": [
"Statement"
"Statement",
"Version"
],
"type": "object"
},
Expand Down Expand Up @@ -126289,11 +126296,18 @@ var SamSchema = `{
"additionalProperties": false,
"properties": {
"Statement": {
"type": "object"
"items": {
"type": "object"
},
"type": "array"
},
"Version": {
"type": "string"
}
},
"required": [
"Statement"
"Statement",
"Version"
],
"type": "object"
},
Expand Down
22 changes: 18 additions & 4 deletions schema/sam.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125039,11 +125039,18 @@
"additionalProperties": false,
"properties": {
"Statement": {
"type": "object"
"items": {
"type": "object"
},
"type": "array"
},
"Version": {
"type": "string"
}
},
"required": [
"Statement"
"Statement",
"Version"
],
"type": "object"
},
Expand Down Expand Up @@ -126284,11 +126291,18 @@
"additionalProperties": false,
"properties": {
"Statement": {
"type": "object"
"items": {
"type": "object"
},
"type": "array"
},
"Version": {
"type": "string"
}
},
"required": [
"Statement"
"Statement",
"Version"
],
"type": "object"
},
Expand Down

0 comments on commit 846268a

Please sign in to comment.