amazonka-ecs-2.0: Amazon EC2 Container Service 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.ECS.Types.SystemControl

Description

 
Synopsis

Documentation

data SystemControl Source #

A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls in the Create a container section of the Docker Remote API and the --sysctl option to docker run.

We don't recommend that you specify network-related systemControls parameters for multiple containers in a single task. This task also uses either the awsvpc or host network mode. It does it for the following reasons.

  • For tasks that use the awsvpc network mode, if you set systemControls for any container, it applies to all containers in the task. If you set different systemControls for multiple containers in a single task, the container that's started last determines which systemControls take effect.
  • For tasks that use the host network mode, the systemControls parameter applies to the container instance's kernel parameter and that of all containers of any tasks running on that container instance.

See: newSystemControl smart constructor.

Constructors

SystemControl' 

Fields

  • namespace :: Maybe Text

    The namespaced kernel parameter to set a value for.

  • value :: Maybe Text

    The value for the namespaced kernel parameter that's specified in namespace.

Instances

Instances details
FromJSON SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

ToJSON SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

Generic SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

Associated Types

type Rep SystemControl :: Type -> Type #

Read SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

Show SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

NFData SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

Methods

rnf :: SystemControl -> () #

Eq SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

Hashable SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

type Rep SystemControl Source # 
Instance details

Defined in Amazonka.ECS.Types.SystemControl

type Rep SystemControl = D1 ('MetaData "SystemControl" "Amazonka.ECS.Types.SystemControl" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "SystemControl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSystemControl :: SystemControl Source #

Create a value of SystemControl 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:namespace:SystemControl', systemControl_namespace - The namespaced kernel parameter to set a value for.

$sel:value:SystemControl', systemControl_value - The value for the namespaced kernel parameter that's specified in namespace.

systemControl_namespace :: Lens' SystemControl (Maybe Text) Source #

The namespaced kernel parameter to set a value for.

systemControl_value :: Lens' SystemControl (Maybe Text) Source #

The value for the namespaced kernel parameter that's specified in namespace.