AWSECSLinuxContainerDefinition
No description
type AWSECSLinuxContainerDefinition {
command: [String!]!
cpu: Int!
dependsOn: [AWSECSContainerContainerDependency!]!
disableNetworking: Boolean!
dnsSearchDomains: [String!]!
dnsServers: [String!]!
dockerLabels: [AWSTag!]!
dockerSecurityOptions: [String!]!
entryPoint: [String!]!
environment: [AWSECSEnvironmentVariable!]!
environmentFiles: [AWSECSEnvironmentFile!]!
essential: Boolean!
extraHosts: [AWSECSContainerHostEntry!]!
firelensConfiguration: AWSECSContainerFirelensConfiguration
healthCheck: AWSECSContainerHealthCheck
hostname: String!
image: String!
interactive: Boolean!
links: [String!]!
parameters: AWSECSLinuxContainerParameters
logConfiguration: AWSECSContainerLogConfiguration
memory: Int!
memoryReservation: Int!
mountPoints: [AWSECSTaskDefinitionMountPoint!]!
name: String!
portMappings: [AWSECSContainerDefinitionPortMapping!]!
privileged: Boolean!
pseudoTerminal: Boolean!
readonlyRootFilesystem: Boolean!
repositoryCredentials: AWSECSContainerDefinitionRepositoryCredentials
resourceRequirements: [AWSECSResourceRequirement!]!
secrets: [AWSECSContainerDefinitionSecret!]!
startTimeout: Int!
stopTimeout: Int!
systemControls: [AWSECSContainerDefinitionSystemControl!]!
ulimits: [AWSECSContainerDefinitionUlimit!]!
user: String!
volumesFrom: [AWSECSContainerDefinitionVolumeFrom!]!
workingDirectory: String!
}
Fields
AWSECSLinuxContainerDefinition.command
● [String!]!
non-null scalar
The command that's passed to the container
AWSECSLinuxContainerDefinition.cpu
● Int!
non-null scalar
The number of cpu units reserved for the container
AWSECSLinuxContainerDefinition.dependsOn
● [AWSECSContainerContainerDependency!]!
non-null object
The dependencies defined for container startup and shutdown
AWSECSLinuxContainerDefinition.disableNetworking
● Boolean!
non-null scalar
When this parameter is true, networking is disabled within the container
AWSECSLinuxContainerDefinition.dnsSearchDomains
● [String!]!
non-null scalar
A list of DNS search domains that are presented to the container
AWSECSLinuxContainerDefinition.dnsServers
● [String!]!
non-null scalar
A list of DNS servers that are presented to the container
AWSECSLinuxContainerDefinition.dockerLabels
● [AWSTag!]!
non-null object
A key/value map of labels to add to the container
AWSECSLinuxContainerDefinition.dockerSecurityOptions
● [String!]!
non-null scalar
A list of strings to provide custom configuration for multiple security systems
AWSECSLinuxContainerDefinition.entryPoint
● [String!]!
non-null scalar
Early versions of the Amazon ECS container agent don't properly handle entryPoint parameters
AWSECSLinuxContainerDefinition.environment
● [AWSECSEnvironmentVariable!]!
non-null object
The environment variables to pass to a container
AWSECSLinuxContainerDefinition.environmentFiles
● [AWSECSEnvironmentFile!]!
non-null object
A list of files containing the environment variables to pass to a container
AWSECSLinuxContainerDefinition.essential
● Boolean!
non-null scalar
If the essential parameter of a container is marked as true , and that container fails or stops for any reason, all other containers that are part of the task are stopped
AWSECSLinuxContainerDefinition.extraHosts
● [AWSECSContainerHostEntry!]!
non-null object
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container
AWSECSLinuxContainerDefinition.firelensConfiguration
● AWSECSContainerFirelensConfiguration
object
The FireLens configuration for the container
AWSECSLinuxContainerDefinition.healthCheck
● AWSECSContainerHealthCheck
object
The container health check command and associated configuration parameters for the container
AWSECSLinuxContainerDefinition.hostname
● String!
non-null scalar
The hostname to use for your container
AWSECSLinuxContainerDefinition.image
● String!
non-null scalar
The image used to start a container
AWSECSLinuxContainerDefinition.interactive
● Boolean!
non-null scalar
When this parameter is true , you can deploy containerized applications that require stdin or a tty to be allocated
AWSECSLinuxContainerDefinition.links
● [String!]!
non-null scalar
The links parameter allows containers to communicate with each other without the need for port mappings
AWSECSLinuxContainerDefinition.parameters
● AWSECSLinuxContainerParameters
object
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities
AWSECSLinuxContainerDefinition.logConfiguration
● AWSECSContainerLogConfiguration
object
The log configuration specification for the container
AWSECSLinuxContainerDefinition.memory
● Int!
non-null scalar
The amount (in MiB) of memory to present to the container
AWSECSLinuxContainerDefinition.memoryReservation
● Int!
non-null scalar
The soft limit (in MiB) of memory to reserve for the container
AWSECSLinuxContainerDefinition.mountPoints
● [AWSECSTaskDefinitionMountPoint!]!
non-null object
The mount points for data volumes in your container
AWSECSLinuxContainerDefinition.name
● String!
non-null scalar
The name of a container
AWSECSLinuxContainerDefinition.portMappings
● [AWSECSContainerDefinitionPortMapping!]!
non-null object
The list of port mappings for the container
AWSECSLinuxContainerDefinition.privileged
● Boolean!
non-null scalar
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user)
AWSECSLinuxContainerDefinition.pseudoTerminal
● Boolean!
non-null scalar
When this parameter is true , a TTY is allocated. This parameter maps to Tty in the Create a container
AWSECSLinuxContainerDefinition.readonlyRootFilesystem
● Boolean!
non-null scalar
When this parameter is true, the container is given read-only access to its root file system
AWSECSLinuxContainerDefinition.repositoryCredentials
● AWSECSContainerDefinitionRepositoryCredentials
object
The private repository authentication credentials to use
AWSECSLinuxContainerDefinition.resourceRequirements
● [AWSECSResourceRequirement!]!
non-null object
The type and amount of a resource to assign to a container. The only supported resource is a GPU
AWSECSLinuxContainerDefinition.secrets
● [AWSECSContainerDefinitionSecret!]!
non-null object
The secrets to pass to the container
AWSECSLinuxContainerDefinition.startTimeout
● Int!
non-null scalar
Time duration (in seconds) to wait before giving up on resolving dependencies for a container
AWSECSLinuxContainerDefinition.stopTimeout
● Int!
non-null scalar
Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own
AWSECSLinuxContainerDefinition.systemControls
● [AWSECSContainerDefinitionSystemControl!]!
non-null object
A list of namespaced kernel parameters to set in the container
AWSECSLinuxContainerDefinition.ulimits
● [AWSECSContainerDefinitionUlimit!]!
non-null object
A list of ulimits to set in the container
AWSECSLinuxContainerDefinition.user
● String!
non-null scalar
The user to use inside the container
AWSECSLinuxContainerDefinition.volumesFrom
● [AWSECSContainerDefinitionVolumeFrom!]!
non-null object
Data volumes to mount from another container
AWSECSLinuxContainerDefinition.workingDirectory
● String!
non-null scalar
The working directory to run commands inside the container in