Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AwsEcsServicePlacementConstraintsDetails = AwsEcsServicePlacementConstraintsDetails' {}
- newAwsEcsServicePlacementConstraintsDetails :: AwsEcsServicePlacementConstraintsDetails
- awsEcsServicePlacementConstraintsDetails_expression :: Lens' AwsEcsServicePlacementConstraintsDetails (Maybe Text)
- awsEcsServicePlacementConstraintsDetails_type :: Lens' AwsEcsServicePlacementConstraintsDetails (Maybe Text)
Documentation
data AwsEcsServicePlacementConstraintsDetails Source #
A placement constraint for the tasks in the service.
See: newAwsEcsServicePlacementConstraintsDetails
smart constructor.
AwsEcsServicePlacementConstraintsDetails' | |
|
Instances
newAwsEcsServicePlacementConstraintsDetails :: AwsEcsServicePlacementConstraintsDetails Source #
Create a value of AwsEcsServicePlacementConstraintsDetails
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:AwsEcsServicePlacementConstraintsDetails'
, awsEcsServicePlacementConstraintsDetails_expression
- A cluster query language expression to apply to the constraint. You
cannot specify an expression if the constraint type is
distinctInstance
.
$sel:type':AwsEcsServicePlacementConstraintsDetails'
, awsEcsServicePlacementConstraintsDetails_type
- The type of constraint. Use distinctInstance
to run each task in a
particular group on a different container instance. Use memberOf
to
restrict the selection to a group of valid candidates.
Valid values: distinctInstance
| memberOf
awsEcsServicePlacementConstraintsDetails_expression :: Lens' AwsEcsServicePlacementConstraintsDetails (Maybe Text) Source #
A cluster query language expression to apply to the constraint. You
cannot specify an expression if the constraint type is
distinctInstance
.
awsEcsServicePlacementConstraintsDetails_type :: Lens' AwsEcsServicePlacementConstraintsDetails (Maybe Text) Source #
The type of constraint. Use distinctInstance
to run each task in a
particular group on a different container instance. Use memberOf
to
restrict the selection to a group of valid candidates.
Valid values: distinctInstance
| memberOf