TaskDefinitionContainerDefinition class

List of container definitions that are passed to the Docker daemon on a container instance

Constructors

TaskDefinitionContainerDefinition({Input<List<String>?>? command, Input<int?>? cpu, Input<List<TaskDefinitionContainerDependency>?>? dependsOn, Input<bool?>? disableNetworking, Input<List<String>?>? dnsSearchDomains, Input<List<String>?>? dnsServers, Input? dockerLabels, Input<List<String>?>? dockerSecurityOptions, Input<List<String>?>? entryPoint, Input<List<TaskDefinitionKeyValuePair>?>? environment, Input<List<TaskDefinitionEnvironmentFile>?>? environmentFiles, Input<bool?>? essential, Input<List<TaskDefinitionHostEntry>?>? extraHosts, Input<TaskDefinitionFirelensConfiguration?>? firelensConfiguration, Input<TaskDefinitionHealthCheck?>? healthCheck, Input<String?>? hostname, required Input<String> image, Input<bool?>? interactive, Input<List<String>?>? links, Input<TaskDefinitionLinuxParameters?>? linuxParameters, Input<TaskDefinitionLogConfiguration?>? logConfiguration, Input<int?>? memory, Input<int?>? memoryReservation, Input<List<TaskDefinitionMountPoint>?>? mountPoints, required Input<String> name, Input<List<TaskDefinitionPortMapping>?>? portMappings, Input<bool?>? privileged, Input<bool?>? pseudoTerminal, Input<bool?>? readonlyRootFilesystem, Input<TaskDefinitionRepositoryCredentials?>? repositoryCredentials, Input<List<TaskDefinitionResourceRequirement>?>? resourceRequirements, Input<List<TaskDefinitionSecret>?>? secrets, Input<int?>? startTimeout, Input<int?>? stopTimeout, Input<List<TaskDefinitionSystemControl>?>? systemControls, Input<List<TaskDefinitionUlimit>?>? ulimits, Input<String?>? user, Input<List<TaskDefinitionVolumeFrom>?>? volumesFrom, Input<String?>? workingDirectory})
Creates a new TaskDefinitionContainerDefinition. command Optional. cpu Optional. dependsOn Optional. disableNetworking Optional. dnsSearchDomains Optional. dnsServers Optional. dockerLabels Optional. dockerSecurityOptions Optional. entryPoint Optional. environment The environment variables to pass to a container environmentFiles The list of one or more files that contain the environment variables to pass to a container essential Optional. extraHosts Optional. firelensConfiguration Optional. healthCheck Optional. hostname Optional. image The image used to start a container. This string is passed directly to the Docker daemon. interactive Optional. links Optional. linuxParameters Optional. logConfiguration Optional. memory The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. memoryReservation Optional. mountPoints Optional. name The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed portMappings Port mappings allow containers to access ports on the host container instance to send or receive traffic. privileged Optional. pseudoTerminal Optional. readonlyRootFilesystem Optional. repositoryCredentials Optional. resourceRequirements Optional. secrets Optional. startTimeout Optional. stopTimeout Optional. systemControls Optional. ulimits Optional. user Optional. volumesFrom Optional. workingDirectory Optional.
const
TaskDefinitionContainerDefinition.fromMap(Map<String, dynamic> map)
factory

Properties

command → Input<List<String>?>?
final
cpu → Input<int?>?
final
dependsOn → Input<List<TaskDefinitionContainerDependency>?>?
final
disableNetworking → Input<bool?>?
final
dnsSearchDomains → Input<List<String>?>?
final
dnsServers → Input<List<String>?>?
final
dockerLabels → Input?
final
dockerSecurityOptions → Input<List<String>?>?
final
entryPoint → Input<List<String>?>?
final
environment → Input<List<TaskDefinitionKeyValuePair>?>?
The environment variables to pass to a container
final
environmentFiles → Input<List<TaskDefinitionEnvironmentFile>?>?
The list of one or more files that contain the environment variables to pass to a container
final
essential → Input<bool?>?
final
extraHosts → Input<List<TaskDefinitionHostEntry>?>?
final
firelensConfiguration → Input<TaskDefinitionFirelensConfiguration?>?
final
hashCode → int
The hash code for this object.
no setterinherited
healthCheck → Input<TaskDefinitionHealthCheck?>?
final
hostname → Input<String?>?
final
image → Input<String>
The image used to start a container. This string is passed directly to the Docker daemon.
final
interactive → Input<bool?>?
final
final
linuxParameters → Input<TaskDefinitionLinuxParameters?>?
final
logConfiguration → Input<TaskDefinitionLogConfiguration?>?
final
memory → Input<int?>?
The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.
final
memoryReservation → Input<int?>?
final
mountPoints → Input<List<TaskDefinitionMountPoint>?>?
final
name → Input<String>
The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed
final
portMappings → Input<List<TaskDefinitionPortMapping>?>?
Port mappings allow containers to access ports on the host container instance to send or receive traffic.
final
privileged → Input<bool?>?
final
pseudoTerminal → Input<bool?>?
final
readonlyRootFilesystem → Input<bool?>?
final
repositoryCredentials → Input<TaskDefinitionRepositoryCredentials?>?
final
resourceRequirements → Input<List<TaskDefinitionResourceRequirement>?>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secrets → Input<List<TaskDefinitionSecret>?>?
final
startTimeout → Input<int?>?
final
stopTimeout → Input<int?>?
final
systemControls → Input<List<TaskDefinitionSystemControl>?>?
final
ulimits → Input<List<TaskDefinitionUlimit>?>?
final
user → Input<String?>?
final
volumesFrom → Input<List<TaskDefinitionVolumeFrom>?>?
final
workingDirectory → Input<String?>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited