List of usage examples for com.amazonaws.services.ecs.model TaskDefinition getContainerDefinitions
public java.util.List<ContainerDefinition> getContainerDefinitions()
A list of container definitions in JSON format that describe the different containers that make up your task.
From source file:com.netflix.spinnaker.clouddriver.ecs.provider.agent.TaskDefinitionCachingAgent.java
License:Apache License
public static Map<String, Object> convertTaskDefinitionToAttributes(TaskDefinition taskDefinition) { Map<String, Object> attributes = new HashMap<>(); attributes.put("taskDefinitionArn", taskDefinition.getTaskDefinitionArn()); attributes.put("containerDefinitions", taskDefinition.getContainerDefinitions()); attributes.put("taskRoleArn", taskDefinition.getTaskRoleArn()); return attributes; }