TaskDefinitionContainerDefinition class
List of container definitions that are passed to the Docker daemon on a container instance
Constructors
-
TaskDefinitionContainerDefinition({Input<
List< ? command, Input<String> ?>int?> ? cpu, Input<List< ? dependsOn, Input<TaskDefinitionContainerDependency> ?>bool?> ? disableNetworking, Input<List< ? dnsSearchDomains, Input<String> ?>List< ? dnsServers, Input? dockerLabels, Input<String> ?>List< ? dockerSecurityOptions, Input<String> ?>List< ? entryPoint, Input<String> ?>List< ? environment, Input<TaskDefinitionKeyValuePair> ?>List< ? environmentFiles, Input<TaskDefinitionEnvironmentFile> ?>bool?> ? essential, Input<List< ? extraHosts, Input<TaskDefinitionHostEntry> ?>TaskDefinitionFirelensConfiguration?> ? firelensConfiguration, Input<TaskDefinitionHealthCheck?> ? healthCheck, Input<String?> ? hostname, required Input<String> image, Input<bool?> ? interactive, Input<List< ? links, Input<String> ?>TaskDefinitionLinuxParameters?> ? linuxParameters, Input<TaskDefinitionLogConfiguration?> ? logConfiguration, Input<int?> ? memory, Input<int?> ? memoryReservation, Input<List< ? mountPoints, required Input<TaskDefinitionMountPoint> ?>String> name, Input<List< ? portMappings, Input<TaskDefinitionPortMapping> ?>bool?> ? privileged, Input<bool?> ? pseudoTerminal, Input<bool?> ? readonlyRootFilesystem, Input<TaskDefinitionRepositoryCredentials?> ? repositoryCredentials, Input<List< ? resourceRequirements, Input<TaskDefinitionResourceRequirement> ?>List< ? secrets, Input<TaskDefinitionSecret> ?>int?> ? startTimeout, Input<int?> ? stopTimeout, Input<List< ? systemControls, Input<TaskDefinitionSystemControl> ?>List< ? ulimits, Input<TaskDefinitionUlimit> ?>String?> ? user, Input<List< ? volumesFrom, Input<TaskDefinitionVolumeFrom> ?>String?> ? workingDirectory}) -
Creates a new TaskDefinitionContainerDefinition.
commandOptional.cpuOptional.dependsOnOptional.disableNetworkingOptional.dnsSearchDomainsOptional.dnsServersOptional.dockerLabelsOptional.dockerSecurityOptionsOptional.entryPointOptional.environmentThe environment variables to pass to a containerenvironmentFilesThe list of one or more files that contain the environment variables to pass to a containeressentialOptional.extraHostsOptional.firelensConfigurationOptional.healthCheckOptional.hostnameOptional.imageThe image used to start a container. This string is passed directly to the Docker daemon.interactiveOptional.linksOptional.linuxParametersOptional.logConfigurationOptional.memoryThe amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.memoryReservationOptional.mountPointsOptional.nameThe name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowedportMappingsPort mappings allow containers to access ports on the host container instance to send or receive traffic.privilegedOptional.pseudoTerminalOptional.readonlyRootFilesystemOptional.repositoryCredentialsOptional.resourceRequirementsOptional.secretsOptional.startTimeoutOptional.stopTimeoutOptional.systemControlsOptional.ulimitsOptional.userOptional.volumesFromOptional.workingDirectoryOptional.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
-
links
→ Input<
List< ?String> ?> -
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