amazonka-pipes-2.0: Amazon EventBridge Pipes SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Pipes.Types.EcsContainerOverride

Description

 
Synopsis

Documentation

data EcsContainerOverride Source #

The overrides that are sent to a container. An empty container override can be passed in. An example of an empty container override is {"containerOverrides": [ ] }. If a non-empty container override is specified, the name parameter must be included.

See: newEcsContainerOverride smart constructor.

Constructors

EcsContainerOverride' 

Fields

  • command :: Maybe [Text]

    The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

  • cpu :: Maybe Int

    The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

  • environment :: Maybe [EcsEnvironmentVariable]

    The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

  • environmentFiles :: Maybe [EcsEnvironmentFile]

    A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

  • memory :: Maybe Int

    The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

  • memoryReservation :: Maybe Int

    The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

  • name :: Maybe Text

    The name of the container that receives the override. This parameter is required if any override is specified.

  • resourceRequirements :: Maybe [EcsResourceRequirement]

    The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU.

Instances

Instances details
FromJSON EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

ToJSON EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

Generic EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

Associated Types

type Rep EcsContainerOverride :: Type -> Type #

Read EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

Show EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

NFData EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

Methods

rnf :: EcsContainerOverride -> () #

Eq EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

Hashable EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

type Rep EcsContainerOverride Source # 
Instance details

Defined in Amazonka.Pipes.Types.EcsContainerOverride

newEcsContainerOverride :: EcsContainerOverride Source #

Create a value of EcsContainerOverride with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:command:EcsContainerOverride', ecsContainerOverride_command - The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

$sel:cpu:EcsContainerOverride', ecsContainerOverride_cpu - The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

$sel:environment:EcsContainerOverride', ecsContainerOverride_environment - The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

$sel:environmentFiles:EcsContainerOverride', ecsContainerOverride_environmentFiles - A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

$sel:memory:EcsContainerOverride', ecsContainerOverride_memory - The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

$sel:memoryReservation:EcsContainerOverride', ecsContainerOverride_memoryReservation - The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

EcsContainerOverride, ecsContainerOverride_name - The name of the container that receives the override. This parameter is required if any override is specified.

$sel:resourceRequirements:EcsContainerOverride', ecsContainerOverride_resourceRequirements - The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU.

ecsContainerOverride_command :: Lens' EcsContainerOverride (Maybe [Text]) Source #

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

ecsContainerOverride_cpu :: Lens' EcsContainerOverride (Maybe Int) Source #

The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

ecsContainerOverride_environment :: Lens' EcsContainerOverride (Maybe [EcsEnvironmentVariable]) Source #

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

ecsContainerOverride_environmentFiles :: Lens' EcsContainerOverride (Maybe [EcsEnvironmentFile]) Source #

A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

ecsContainerOverride_memory :: Lens' EcsContainerOverride (Maybe Int) Source #

The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

ecsContainerOverride_memoryReservation :: Lens' EcsContainerOverride (Maybe Int) Source #

The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

ecsContainerOverride_name :: Lens' EcsContainerOverride (Maybe Text) Source #

The name of the container that receives the override. This parameter is required if any override is specified.

ecsContainerOverride_resourceRequirements :: Lens' EcsContainerOverride (Maybe [EcsResourceRequirement]) Source #

The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU.