DaemonTaskDefinitionContainerDefinition constructor

const DaemonTaskDefinitionContainerDefinition({
  1. Input<List<String>?>? commands,
  2. Input<int?>? cpu,
  3. Input<List<DaemonTaskDefinitionContainerDefinitionDependsOn>?>? dependsOns,
  4. Input<List<String>?>? entryPoints,
  5. Input<List<DaemonTaskDefinitionContainerDefinitionEnvironmentFile>?>? environmentFiles,
  6. Input<List<DaemonTaskDefinitionContainerDefinitionEnvironment>?>? environments,
  7. Input<bool?>? essential,
  8. Input<DaemonTaskDefinitionContainerDefinitionFirelensConfiguration?>? firelensConfiguration,
  9. Input<DaemonTaskDefinitionContainerDefinitionHealthCheck?>? healthCheck,
  10. required Input<String> image,
  11. Input<bool?>? interactive,
  12. Input<DaemonTaskDefinitionContainerDefinitionLinuxParameters?>? linuxParameters,
  13. Input<DaemonTaskDefinitionContainerDefinitionLogConfiguration?>? logConfiguration,
  14. Input<int?>? memory,
  15. Input<int?>? memoryReservation,
  16. Input<List<DaemonTaskDefinitionContainerDefinitionMountPoint>?>? mountPoints,
  17. Input<String?>? name,
  18. Input<bool?>? privileged,
  19. Input<bool?>? pseudoTerminal,
  20. Input<bool?>? readonlyRootFilesystem,
  21. Input<DaemonTaskDefinitionContainerDefinitionRepositoryCredentials?>? repositoryCredentials,
  22. Input<DaemonTaskDefinitionContainerDefinitionRestartPolicy?>? restartPolicy,
  23. Input<List<DaemonTaskDefinitionContainerDefinitionSecret>?>? secrets,
  24. Input<int?>? startTimeout,
  25. Input<int?>? stopTimeout,
  26. Input<List<DaemonTaskDefinitionContainerDefinitionSystemControl>?>? systemControls,
  27. Input<List<DaemonTaskDefinitionContainerDefinitionUlimit>?>? ulimits,
  28. Input<String?>? user,
  29. Input<String?>? workingDirectory,
})

Creates a new DaemonTaskDefinitionContainerDefinition. commands Command that is passed to the container. cpu Number of CPU units reserved for the container. dependsOns Dependencies defined for container startup and shutdown. Detailed below. entryPoints Entry point that is passed to the container. environmentFiles List of files containing the environment variables to pass to a container. Detailed below. environments Environment variables to pass to a container. Detailed below. essential 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. firelensConfiguration FireLens configuration for the container. Detailed below. healthCheck Container health check command and associated configuration parameters for the container. Detailed below. image Image used to start a container. interactive When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated. linuxParameters Linux-specific modifications that are applied to the container. Detailed below. logConfiguration Log configuration specification for the container. Detailed below. memory Amount (in MiB) of memory to present to the container. memoryReservation Soft limit (in MiB) of memory to reserve for the container. mountPoints Mount points for data volumes in your container. Detailed below. name Name of a container. privileged When this parameter is true, the container is given elevated privileges on the host container instance. pseudoTerminal When this parameter is true, a TTY is allocated. readonlyRootFilesystem When this parameter is true, the container is given read-only access to its root file system. repositoryCredentials Private repository authentication credentials to use. Detailed below. restartPolicy Restart policy for a container. Detailed below. secrets Secrets to pass to the container. Detailed below. startTimeout Time duration (in seconds) to wait before giving up on resolving dependencies for a container. stopTimeout Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own. systemControls List of namespaced kernel parameters to set in the container. Detailed below. ulimits List of ulimits to set in the container. Detailed below. user User to use inside the container. workingDirectory Working directory to run commands inside the container.

Implementation

const DaemonTaskDefinitionContainerDefinition({
  this.commands,
  this.cpu,
  this.dependsOns,
  this.entryPoints,
  this.environmentFiles,
  this.environments,
  this.essential,
  this.firelensConfiguration,
  this.healthCheck,
  required this.image,
  this.interactive,
  this.linuxParameters,
  this.logConfiguration,
  this.memory,
  this.memoryReservation,
  this.mountPoints,
  this.name,
  this.privileged,
  this.pseudoTerminal,
  this.readonlyRootFilesystem,
  this.repositoryCredentials,
  this.restartPolicy,
  this.secrets,
  this.startTimeout,
  this.stopTimeout,
  this.systemControls,
  this.ulimits,
  this.user,
  this.workingDirectory,
});