Skip to content

Commit

Permalink
Aws::ECS update.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorrowe committed Oct 8, 2015
1 parent 117722c commit 4b19878
Show file tree
Hide file tree
Showing 3 changed files with 327 additions and 105 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Unreleased Changes
------------------

* Feature - Aws::ECS - Task definitions now support more Docker
options hostname, Docker labels, working directory, networking
disabled, privileged execution, read-only root filesystem, DNS
servers, DNS search domains, ulimits, log configuration, extra
hosts (hosts to add to /etc/hosts), and security options (for
MLS systems like SELinux).

* Feature - Aws::IoT - Added support for AWS IoT control and data plane
services.

Expand Down
130 changes: 126 additions & 4 deletions aws-sdk-core/apis/ecs/2014-11-13/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,10 @@
{
"shape":"ClusterNotFoundException",
"exception":true
},
{
"shape":"ServiceNotFoundException",
"exception":true
}
]
},
Expand Down Expand Up @@ -748,6 +752,18 @@
"FAILED"
]
},
"Attribute":{
"type":"structure",
"required":["name"],
"members":{
"name":{"shape":"String"},
"value":{"shape":"String"}
}
},
"Attributes":{
"type":"list",
"member":{"shape":"Attribute"}
},
"Boolean":{"type":"boolean"},
"BoxedBoolean":{
"type":"boolean",
Expand Down Expand Up @@ -824,7 +840,20 @@
"command":{"shape":"StringList"},
"environment":{"shape":"EnvironmentVariables"},
"mountPoints":{"shape":"MountPointList"},
"volumesFrom":{"shape":"VolumeFromList"}
"volumesFrom":{"shape":"VolumeFromList"},
"hostname":{"shape":"String"},
"user":{"shape":"String"},
"workingDirectory":{"shape":"String"},
"disableNetworking":{"shape":"BoxedBoolean"},
"privileged":{"shape":"BoxedBoolean"},
"readonlyRootFilesystem":{"shape":"BoxedBoolean"},
"dnsServers":{"shape":"StringList"},
"dnsSearchDomains":{"shape":"StringList"},
"extraHosts":{"shape":"HostEntryList"},
"dockerSecurityOptions":{"shape":"StringList"},
"dockerLabels":{"shape":"DockerLabelsMap"},
"ulimits":{"shape":"UlimitList"},
"logConfiguration":{"shape":"LogConfiguration"}
}
},
"ContainerDefinitions":{
Expand All @@ -843,7 +872,8 @@
"agentConnected":{"shape":"Boolean"},
"runningTasksCount":{"shape":"Integer"},
"pendingTasksCount":{"shape":"Integer"},
"agentUpdateStatus":{"shape":"AgentUpdateStatus"}
"agentUpdateStatus":{"shape":"AgentUpdateStatus"},
"attributes":{"shape":"Attributes"}
}
},
"ContainerInstances":{
Expand Down Expand Up @@ -1066,6 +1096,14 @@
"telemetryEndpoint":{"shape":"String"}
}
},
"DockerLabelsMap":{
"type":"map",
"key":{
"shape":"String",
"required":true
},
"value":{"shape":"String"}
},
"Double":{"type":"double"},
"EnvironmentVariables":{
"type":"list",
Expand All @@ -1082,6 +1120,21 @@
"type":"list",
"member":{"shape":"Failure"}
},
"HostEntry":{
"type":"structure",
"required":[
"hostname",
"ipAddress"
],
"members":{
"hostname":{"shape":"String"},
"ipAddress":{"shape":"String"}
}
},
"HostEntryList":{
"type":"list",
"member":{"shape":"HostEntry"}
},
"HostVolumeProperties":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -1210,6 +1263,32 @@
"type":"list",
"member":{"shape":"LoadBalancer"}
},
"LogConfiguration":{
"type":"structure",
"required":["logDriver"],
"members":{
"logDriver":{"shape":"LogDriver"},
"options":{"shape":"LogConfigurationOptionsMap"}
}
},
"LogConfigurationOptionsMap":{
"type":"map",
"key":{
"shape":"String",
"required":true
},
"value":{"shape":"String"}
},
"LogDriver":{
"type":"string",
"enum":[
"json-file",
"syslog",
"journald",
"gelf",
"fluentd"
]
},
"Long":{"type":"long"},
"MissingVersionException":{
"type":"structure",
Expand Down Expand Up @@ -1268,7 +1347,8 @@
"instanceIdentityDocumentSignature":{"shape":"String"},
"totalResources":{"shape":"Resources"},
"versionInfo":{"shape":"VersionInfo"},
"containerInstanceArn":{"shape":"String"}
"containerInstanceArn":{"shape":"String"},
"attributes":{"shape":"Attributes"}
}
},
"RegisterContainerInstanceResponse":{
Expand All @@ -1295,6 +1375,10 @@
"taskDefinition":{"shape":"TaskDefinition"}
}
},
"RequiresAttributes":{
"type":"list",
"member":{"shape":"Attribute"}
},
"Resource":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -1483,7 +1567,8 @@
"family":{"shape":"String"},
"revision":{"shape":"Integer"},
"volumes":{"shape":"VolumeList"},
"status":{"shape":"TaskDefinitionStatus"}
"status":{"shape":"TaskDefinitionStatus"},
"requiresAttributes":{"shape":"RequiresAttributes"}
}
},
"TaskDefinitionStatus":{
Expand Down Expand Up @@ -1511,6 +1596,43 @@
"udp"
]
},
"Ulimit":{
"type":"structure",
"required":[
"name",
"softLimit",
"hardLimit"
],
"members":{
"name":{"shape":"UlimitName"},
"softLimit":{"shape":"Integer"},
"hardLimit":{"shape":"Integer"}
}
},
"UlimitList":{
"type":"list",
"member":{"shape":"Ulimit"}
},
"UlimitName":{
"type":"string",
"enum":[
"core",
"cpu",
"data",
"fsize",
"locks",
"memlock",
"msgqueue",
"nice",
"nofile",
"nproc",
"rss",
"rtprio",
"rttime",
"sigpending",
"stack"
]
},
"UpdateContainerAgentRequest":{
"type":"structure",
"required":["containerInstance"],
Expand Down
Loading

0 comments on commit 4b19878

Please sign in to comment.