Sha256: 63349fb90f0b492346b81b15804cbc60283cab22b7306b34063228cb73f21dc0

Contents?: true

Size: 1.3 KB

Versions: 45

Compression:

Stored size: 1.3 KB

Contents

{
  "family": "example",
  "networkMode": "awsvpc",
  "taskRoleArn": "arn:aws:iam::831556125887:role/ecs_role_1",
  "executionRoleArn": "arn:aws:iam::831556125887:role/ecs_role_1",
  "containerDefinitions": [
    {
      "name": "example",
      "image": "public.ecr.aws/docker/library/httpd:latest",
      "portMappings": [
        {
          "containerPort": 80,
          "hostPort": 80,
          "protocol": "tcp"
        }
      ],
      "logConfiguration": {
        "logDriver": "awslogs",
        "options": {
          "awslogs-create-group": "true",
          "awslogs-group": "awslogs-group-1",
          "awslogs-region": "us-east-1",
          "awslogs-stream-prefix": "wco1-"
        }
      },
      "essential": true,
      "entryPoint": [
        "sh",
        "-c"
      ],
      "command": [
        "/bin/sh -c \"echo '<html> <head> <title>Amazon ECS Sample App</title> <style>body {margin-top: 40px; background-color: #333;} </style> </head><body> <div style=color:white;text-align:center> <h1>Amazon ECS Sample App</h1> <h2>Congratulations!</h2> <p>Your application is now running on a container in Amazon ECS.</p> </div></body></html>' >  /usr/local/apache2/htdocs/index.html && httpd-foreground\""
      ]
    }
  ],
  "requiresCompatibilities": [
    "FARGATE"
  ],
  "cpu": "256",
  "memory": "512"
}

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
wco_models-3.1.0.202 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.201 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.199 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.198 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.197 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.196 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.195 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.194 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.193 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.192 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.191 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.190 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.189 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.188 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.187 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.184 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.183 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.182 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.181 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.180 app/views/wco_hosting/ecs_task_definitions/example1.json