libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

Description

 
Synopsis

Documentation

data TaskDefinitionPlacementConstraint Source #

An object representing a constraint on task placement in the task definition. For more information, see Task placement constraints in the Amazon Elastic Container Service Developer Guide.

Task placement constraints are not supported for tasks run on Fargate.

See: newTaskDefinitionPlacementConstraint smart constructor.

Constructors

TaskDefinitionPlacementConstraint' 

Fields

Instances

Instances details
Eq TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

Read TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

Show TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

Generic TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

Associated Types

type Rep TaskDefinitionPlacementConstraint :: Type -> Type #

NFData TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

Hashable TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

ToJSON TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

FromJSON TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

type Rep TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Amazonka.ECS.Types.TaskDefinitionPlacementConstraint

type Rep TaskDefinitionPlacementConstraint = D1 ('MetaData "TaskDefinitionPlacementConstraint" "Amazonka.ECS.Types.TaskDefinitionPlacementConstraint" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "TaskDefinitionPlacementConstraint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TaskDefinitionPlacementConstraintType))))

newTaskDefinitionPlacementConstraint :: TaskDefinitionPlacementConstraint Source #

Create a value of TaskDefinitionPlacementConstraint 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:expression:TaskDefinitionPlacementConstraint', taskDefinitionPlacementConstraint_expression - A cluster query language expression to apply to the constraint. For more information, see Cluster query language in the Amazon Elastic Container Service Developer Guide.

$sel:type':TaskDefinitionPlacementConstraint', taskDefinitionPlacementConstraint_type - The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.

taskDefinitionPlacementConstraint_expression :: Lens' TaskDefinitionPlacementConstraint (Maybe Text) Source #

A cluster query language expression to apply to the constraint. For more information, see Cluster query language in the Amazon Elastic Container Service Developer Guide.

taskDefinitionPlacementConstraint_type :: Lens' TaskDefinitionPlacementConstraint (Maybe TaskDefinitionPlacementConstraintType) Source #

The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.