Examples of using Task definition in English and their translations into French
{-}
-
Colloquial
-
Official
Added support for task definition overrides when running a task. .
If you use the AWS Management Console to register a task definition with Windows containers,
When you register a task definition, you must specify a list of container definitions that are passed to the Docker daemon on a container instance.
If you want to use an Amazon ECR image in an Amazon ECS task definition, see Using Amazon ECR Images with Amazon ECS.
The following is an example task definition using the Fargate launch type that sets up a web server.
You can generate this task definition template using the following AWS CLI command.
In the task definition volumes section, define a bind mount with the name database_scratch.
In the task definition volumes section, define a data volume with the name webroot
An awsvpcConfiguration is required because the example task definition uses the awsvpc network mode.
When registering a task definition in the Amazon ECS console,
For Task definition, leave all of the default options
If an Amazon ECS task definition does not already exist,
If you use the console to create your task definition, choose your IAM role in the Task Role field.
After you have created a task definition for your application within Amazon ECS,
This will enable a check to ensure that all of the parameters used in the task definition meet the requirements of the launch type.
select the box to the left of the task definition to revise and choose Create new revision.
see Task Definition Parameters.
On the Task Definition Name page, select the box to the left of each task definition revision you want to deregister.
Windows containers and container instances cannot support all the task definition parameters that are available for Linux containers
see Task Definition Parameters.