Amazon ECS · Example Payload

Amazon Ecs Container Definition Example

AmazonAwsContainersDockerEcsOrchestration

Amazon Ecs Container Definition Example is an example object payload from Amazon ECS, with 38 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

nameimagecpumemorymemoryReservationlinksportMappingsessentialentryPointcommandenvironmentenvironmentFilesmountPointsvolumesFromsecretsdependsOnstartTimeoutstopTimeouthostnameuserworkingDirectorydisableNetworkingprivilegedreadonlyRootFilesystemdnsServersdnsSearchDomainsextraHostsdockerSecurityOptionsinteractivepseudoTerminaldockerLabelsulimitssystemControlsresourceRequirementsfirelensConfigurationrepositoryCredentialsrestartPolicycredentialSpecs

Example Payload

Raw ↑
{
  "name": "Example Title",
  "image": "example_value",
  "cpu": 10,
  "memory": 10,
  "memoryReservation": 10,
  "links": [],
  "portMappings": [],
  "essential": true,
  "entryPoint": [],
  "command": [],
  "environment": [],
  "environmentFiles": [],
  "mountPoints": [],
  "volumesFrom": [],
  "secrets": [],
  "dependsOn": [],
  "startTimeout": 10,
  "stopTimeout": 10,
  "hostname": "example_value",
  "user": "example_value",
  "workingDirectory": "example_value",
  "disableNetworking": true,
  "privileged": true,
  "readonlyRootFilesystem": true,
  "dnsServers": [],
  "dnsSearchDomains": [],
  "extraHosts": [],
  "dockerSecurityOptions": [],
  "interactive": true,
  "pseudoTerminal": true,
  "dockerLabels": "example_value",
  "ulimits": [],
  "systemControls": [],
  "resourceRequirements": [],
  "firelensConfiguration": "example_value",
  "repositoryCredentials": "example_value",
  "restartPolicy": "example_value",
  "credentialSpecs": []
}