Class: Aws::ECS::Types::DaemonContainerDefinition

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

A container definition for a daemon task. Daemon container definitions describe the containers that run as part of a daemon task on container instances managed by capacity providers.

Constant Summary collapse

SENSITIVE =
[:repository_credentials, :environment]

Instance Attribute Summary collapse

Instance Attribute Details

#command ⇒ Array<String>

The command that's passed to the container.

Returns:

  • (Array<String>)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#cpu ⇒ Integer

The number of cpu units reserved for the container.

Returns:

  • (Integer)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#depends_on ⇒ Array<Types::ContainerDependency>

The dependencies defined for container startup and shutdown. A container can contain multiple dependencies on other containers in a task definition.

Returns:



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#entry_point ⇒ Array<String>

The entry point that's passed to the container.

Returns:

  • (Array<String>)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#environment ⇒ Array<Types::KeyValuePair>

The environment variables to pass to a container.

Returns:



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#environment_files ⇒ Array<Types::EnvironmentFile>

A list of files containing the environment variables to pass to a container.

Returns:



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#essential ⇒ Boolean

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.

Returns:

  • (Boolean)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#firelens_configuration ⇒ Types::FirelensConfiguration

The FireLens configuration for the container. This is used to specify and configure a log router for container logs.



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#health_check ⇒ Types::HealthCheck

The container health check command and associated configuration parameters for the container.

Returns:



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#image ⇒ String

The image used to start the container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest.

Returns:

  • (String)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#interactive ⇒ Boolean

When this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.

Returns:

  • (Boolean)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#linux_parameters ⇒ Types::DaemonLinuxParameters

Linux-specific modifications that are applied to the container configuration, such as Linux kernel capabilities.



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#log_configuration ⇒ Types::LogConfiguration

The log configuration specification for the container.



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#memory ⇒ Integer

The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is killed.

Returns:

  • (Integer)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#memory_reservation ⇒ Integer

The soft limit (in MiB) of memory to reserve for the container.

Returns:

  • (Integer)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#mount_points ⇒ Array<Types::MountPoint>

The mount points for data volumes in your container.

Returns:



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#name ⇒ String

The name of the container. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

Returns:

  • (String)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#privileged ⇒ Boolean

When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).

Returns:

  • (Boolean)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#pseudo_terminal ⇒ Boolean

When this parameter is true, a TTY is allocated.

Returns:

  • (Boolean)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#readonly_root_filesystem ⇒ Boolean

When this parameter is true, the container is given read-only access to its root file system.

Returns:

  • (Boolean)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#repository_credentials ⇒ Types::RepositoryCredentials

The private repository authentication credentials to use.



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#restart_policy ⇒ Types::ContainerRestartPolicy

The restart policy for the container. When you set up a restart policy, Amazon ECS can restart the container without needing to replace the task.



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#secrets ⇒ Array<Types::Secret>

The secrets to pass to the container.

Returns:



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#start_timeout ⇒ Integer

Time duration (in seconds) to wait before giving up on resolving dependencies for a container.

Returns:

  • (Integer)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#stop_timeout ⇒ Integer

Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.

Returns:

  • (Integer)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#system_controls ⇒ Array<Types::SystemControl>

A list of namespaced kernel parameters to set in the container.

Returns:



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#ulimits ⇒ Array<Types::Ulimit>

A list of ulimits to set in the container.

Returns:



4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#user ⇒ String

The user to use inside the container.

Returns:

  • (String)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end

#working_directory ⇒ String

The working directory to run commands inside the container in.

Returns:

  • (String)


4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4514

class DaemonContainerDefinition < Struct.new(
  :name,
  :image,
  :memory,
  :memory_reservation,
  :repository_credentials,
  :health_check,
  :cpu,
  :essential,
  :entry_point,
  :command,
  :working_directory,
  :environment_files,
  :environment,
  :secrets,
  :readonly_root_filesystem,
  :mount_points,
  :log_configuration,
  :firelens_configuration,
  :privileged,
  :user,
  :ulimits,
  :linux_parameters,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :system_controls,
  :interactive,
  :pseudo_terminal,
  :restart_policy)
  SENSITIVE = [:repository_credentials, :environment]
  include Aws::Structure
end