DaemonTaskDefinitionContainerDefinition class
Constructors
-
DaemonTaskDefinitionContainerDefinition({Input<
List< ? commands, Input<String> ?>int?> ? cpu, Input<List< ? dependsOns, Input<DaemonTaskDefinitionContainerDefinitionDependsOn> ?>List< ? entryPoints, Input<String> ?>List< ? environmentFiles, Input<DaemonTaskDefinitionContainerDefinitionEnvironmentFile> ?>List< ? environments, Input<DaemonTaskDefinitionContainerDefinitionEnvironment> ?>bool?> ? essential, Input<DaemonTaskDefinitionContainerDefinitionFirelensConfiguration?> ? firelensConfiguration, Input<DaemonTaskDefinitionContainerDefinitionHealthCheck?> ? healthCheck, required Input<String> image, Input<bool?> ? interactive, Input<DaemonTaskDefinitionContainerDefinitionLinuxParameters?> ? linuxParameters, Input<DaemonTaskDefinitionContainerDefinitionLogConfiguration?> ? logConfiguration, Input<int?> ? memory, Input<int?> ? memoryReservation, Input<List< ? mountPoints, Input<DaemonTaskDefinitionContainerDefinitionMountPoint> ?>String?> ? name, Input<bool?> ? privileged, Input<bool?> ? pseudoTerminal, Input<bool?> ? readonlyRootFilesystem, Input<DaemonTaskDefinitionContainerDefinitionRepositoryCredentials?> ? repositoryCredentials, Input<DaemonTaskDefinitionContainerDefinitionRestartPolicy?> ? restartPolicy, Input<List< ? secrets, Input<DaemonTaskDefinitionContainerDefinitionSecret> ?>int?> ? startTimeout, Input<int?> ? stopTimeout, Input<List< ? systemControls, Input<DaemonTaskDefinitionContainerDefinitionSystemControl> ?>List< ? ulimits, Input<DaemonTaskDefinitionContainerDefinitionUlimit> ?>String?> ? user, Input<String?> ? workingDirectory}) -
Creates a new DaemonTaskDefinitionContainerDefinition.
commandsCommand that is passed to the container.cpuNumber of CPU units reserved for the container.dependsOnsDependencies defined for container startup and shutdown. Detailed below.entryPointsEntry point that is passed to the container.environmentFilesList of files containing the environment variables to pass to a container. Detailed below.environmentsEnvironment variables to pass to a container. Detailed below.essentialIf 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.firelensConfigurationFireLens configuration for the container. Detailed below.healthCheckContainer health check command and associated configuration parameters for the container. Detailed below.imageImage used to start a container.interactiveWhen this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.linuxParametersLinux-specific modifications that are applied to the container. Detailed below.logConfigurationLog configuration specification for the container. Detailed below.memoryAmount (in MiB) of memory to present to the container.memoryReservationSoft limit (in MiB) of memory to reserve for the container.mountPointsMount points for data volumes in your container. Detailed below.nameName of a container.privilegedWhen this parameter is true, the container is given elevated privileges on the host container instance.pseudoTerminalWhen this parameter is true, a TTY is allocated.readonlyRootFilesystemWhen this parameter is true, the container is given read-only access to its root file system.repositoryCredentialsPrivate repository authentication credentials to use. Detailed below.restartPolicyRestart policy for a container. Detailed below.secretsSecrets to pass to the container. Detailed below.startTimeoutTime duration (in seconds) to wait before giving up on resolving dependencies for a container.stopTimeoutTime duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.systemControlsList of namespaced kernel parameters to set in the container. Detailed below.ulimitsList of ulimits to set in the container. Detailed below.userUser to use inside the container.workingDirectoryWorking directory to run commands inside the container.const -
DaemonTaskDefinitionContainerDefinition.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
commands
→ Input<
List< ?String> ?> -
Command that is passed to the container.
final
-
cpu
→ Input<
int?> ? -
Number of CPU units reserved for the container.
final
-
dependsOns
→ Input<
List< ?DaemonTaskDefinitionContainerDefinitionDependsOn> ?> -
Dependencies defined for container startup and shutdown. Detailed below.
final
-
entryPoints
→ Input<
List< ?String> ?> -
Entry point that is passed to the container.
final
-
environmentFiles
→ Input<
List< ?DaemonTaskDefinitionContainerDefinitionEnvironmentFile> ?> -
List of files containing the environment variables to pass to a container. Detailed below.
final
-
environments
→ Input<
List< ?DaemonTaskDefinitionContainerDefinitionEnvironment> ?> -
Environment variables to pass to a container. Detailed below.
final
-
essential
→ Input<
bool?> ? -
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.
final
-
firelensConfiguration
→ Input<
DaemonTaskDefinitionContainerDefinitionFirelensConfiguration?> ? -
FireLens configuration for the container. Detailed below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
healthCheck
→ Input<
DaemonTaskDefinitionContainerDefinitionHealthCheck?> ? -
Container health check command and associated configuration parameters for the container. Detailed below.
final
-
image
→ Input<
String> -
Image used to start a container.
final
-
interactive
→ Input<
bool?> ? -
When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.
final
-
linuxParameters
→ Input<
DaemonTaskDefinitionContainerDefinitionLinuxParameters?> ? -
Linux-specific modifications that are applied to the container. Detailed below.
final
-
logConfiguration
→ Input<
DaemonTaskDefinitionContainerDefinitionLogConfiguration?> ? -
Log configuration specification for the container. Detailed below.
final
-
memory
→ Input<
int?> ? -
Amount (in MiB) of memory to present to the container.
final
-
memoryReservation
→ Input<
int?> ? -
Soft limit (in MiB) of memory to reserve for the container.
final
-
mountPoints
→ Input<
List< ?DaemonTaskDefinitionContainerDefinitionMountPoint> ?> -
Mount points for data volumes in your container. Detailed below.
final
-
name
→ Input<
String?> ? -
Name of a container.
final
-
privileged
→ Input<
bool?> ? -
When this parameter is true, the container is given elevated privileges on the host container instance.
final
-
pseudoTerminal
→ Input<
bool?> ? -
When this parameter is true, a TTY is allocated.
final
-
readonlyRootFilesystem
→ Input<
bool?> ? -
When this parameter is true, the container is given read-only access to its root file system.
final
-
repositoryCredentials
→ Input<
DaemonTaskDefinitionContainerDefinitionRepositoryCredentials?> ? -
Private repository authentication credentials to use. Detailed below.
final
-
restartPolicy
→ Input<
DaemonTaskDefinitionContainerDefinitionRestartPolicy?> ? -
Restart policy for a container. Detailed below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secrets
→ Input<
List< ?DaemonTaskDefinitionContainerDefinitionSecret> ?> -
Secrets to pass to the container. Detailed below.
final
-
startTimeout
→ Input<
int?> ? -
Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
final
-
stopTimeout
→ Input<
int?> ? -
Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
final
-
systemControls
→ Input<
List< ?DaemonTaskDefinitionContainerDefinitionSystemControl> ?> -
List of namespaced kernel parameters to set in the container. Detailed below.
final
-
ulimits
→ Input<
List< ?DaemonTaskDefinitionContainerDefinitionUlimit> ?> -
List of ulimits to set in the container. Detailed below.
final
-
user
→ Input<
String?> ? -
User to use inside the container.
final
-
workingDirectory
→ Input<
String?> ? -
Working directory to run commands inside the container.
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