Skip to content

Commit

Permalink
Container Restart Policy ACS model (aws#4175)
Browse files Browse the repository at this point in the history
  • Loading branch information
timj-hh authored and jiuchoe committed May 24, 2024
1 parent 4bcc4b2 commit 79fc384
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 78 deletions.

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

14 changes: 2 additions & 12 deletions ecs-agent/acs/model/api/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@
"environmentFiles":{"shape":"EnvironmentFiles"},
"essential":{"shape":"Boolean"},
"restartPolicy":{"shape":"RestartPolicy"},
"restartMaxAttempts":{"shape":"Integer"},
"image":{"shape":"String"},
"links":{"shape":"StringList"},
"memory":{"shape":"Integer"},
Expand All @@ -311,11 +310,10 @@
"startTimeout":{"shape":"Integer"},
"stopTimeout":{"shape":"Integer"},
"firelensConfiguration":{"shape":"FirelensConfiguration"},
"containerArn":{"shape":"String"},
"containerRestartPolicy":{"shape":"ContainerRestartPolicy"}
"containerArn":{"shape":"String"}
}
},
"ContainerRestartPolicy":{
"RestartPolicy":{
"type":"structure",
"members":{
"enabled":{"shape":"Boolean"},
Expand Down Expand Up @@ -796,14 +794,6 @@
"asmAuthData":{"shape":"ASMAuthData"}
}
},
"RestartPolicy":{
"type":"string",
"enum":[
"NEVER",
"UNLESS_TASK_STOPPED",
"ON_FAILURE"
]
},
"RoleType":{
"type":"string",
"enum":[
Expand Down
62 changes: 29 additions & 33 deletions ecs-agent/acs/model/ecsacs/api.go

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

0 comments on commit 79fc384

Please sign in to comment.