Sha256: 63349fb90f0b492346b81b15804cbc60283cab22b7306b34063228cb73f21dc0

Contents?: true

Size: 1.3 KB

Versions: 31

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

31 entries across 31 versions & 1 rubygems

Version Path
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
wco_models-3.1.0.178 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.177 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.176 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.175 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.174 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.173 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.172 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.171 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.170 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.169 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.168 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.167 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.166 app/views/wco_hosting/ecs_task_definitions/example1.json
wco_models-3.1.0.165 app/views/wco_hosting/ecs_task_definitions/example1.json