Skip to content

Commit

Permalink
Amazon EC2 Container Service Update: This release adds support to inc…
Browse files Browse the repository at this point in the history
…lude task definition metadata information such as registeredAt, deregisteredAt, registeredBy as part of DescribeTaskDefinition API.
  • Loading branch information
AWS committed Jan 19, 2021
1 parent 7b81034 commit 182c66d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "feature",
"category": "Amazon EC2 Container Service",
"contributor": "",
"description": "This release adds support to include task definition metadata information such as registeredAt, deregisteredAt, registeredBy as part of DescribeTaskDefinition API."
}
18 changes: 15 additions & 3 deletions services/ecs/src/main/resources/codegen-resources/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@
},
"environmentFiles":{
"shape":"EnvironmentFiles",
"documentation":"<p>A list of files containing the environment variables to pass to a container. This parameter maps to the <code>--env-file</code> option to <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">docker run</a>.</p> <p>You can specify up to ten environment files. The file must have a <code>.env</code> file extension. Each line in an environment file should contain an environment variable in <code>VARIABLE=VALUE</code> format. Lines beginning with <code>#</code> are treated as comments and are ignored. For more information on the environment variable file syntax, see <a href=\"https://docs.docker.com/compose/env-file/\">Declare default environment variables in file</a>.</p> <p>If there are environment variables specified using the <code>environment</code> parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they are processed from the top down. It is recommended to use unique variable names. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html\">Specifying Environment Variables</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>This field is not valid for containers in tasks using the Fargate launch type.</p>"
"documentation":"<p>A list of files containing the environment variables to pass to a container. This parameter maps to the <code>--env-file</code> option to <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">docker run</a>.</p> <p>You can specify up to ten environment files. The file must have a <code>.env</code> file extension. Each line in an environment file should contain an environment variable in <code>VARIABLE=VALUE</code> format. Lines beginning with <code>#</code> are treated as comments and are ignored. For more information on the environment variable file syntax, see <a href=\"https://docs.docker.com/compose/env-file/\">Declare default environment variables in file</a>.</p> <p>If there are environment variables specified using the <code>environment</code> parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they are processed from the top down. It is recommended to use unique variable names. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html\">Specifying Environment Variables</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
},
"mountPoints":{
"shape":"MountPointList",
Expand Down Expand Up @@ -4916,6 +4916,18 @@
"proxyConfiguration":{
"shape":"ProxyConfiguration",
"documentation":"<p>The configuration details for the App Mesh proxy.</p> <p>Your Amazon ECS container instances require at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the <code>ecs-init</code> package to enable a proxy configuration. If your container instances are launched from the Amazon ECS-optimized AMI version <code>20190301</code> or later, then they contain the required versions of the container agent and <code>ecs-init</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html\">Amazon ECS-optimized Linux AMI</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
},
"registeredAt":{
"shape":"Timestamp",
"documentation":"<p>The Unix timestamp for when the task definition was registered.</p>"
},
"deregisteredAt":{
"shape":"Timestamp",
"documentation":"<p>The Unix timestamp for when the task definition was deregistered.</p>"
},
"registeredBy":{
"shape":"String",
"documentation":"<p>The principal that registered the task definition.</p>"
}
},
"documentation":"<p>The details of a task definition which describes the container and volume definitions of an Amazon Elastic Container Service task. You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.</p>"
Expand Down Expand Up @@ -5251,11 +5263,11 @@
"members":{
"name":{
"shape":"String",
"documentation":"<p>An object representing the parameters to update for the Auto Scaling group capacity provider.</p>"
"documentation":"<p>The name of the capacity provider to update.</p>"
},
"autoScalingGroupProvider":{
"shape":"AutoScalingGroupProviderUpdate",
"documentation":"<p>The name of the capacity provider to update.</p>"
"documentation":"<p>An object representing the parameters to update for the Auto Scaling group capacity provider.</p>"
}
}
},
Expand Down

0 comments on commit 182c66d

Please sign in to comment.