Struct rusoto_ecs::TaskDefinitionPlacementConstraint
[−]
[src]
pub struct TaskDefinitionPlacementConstraint { pub expression: Option<String>, pub type_: Option<String>, }
An object representing a constraint on task placement in the task definition. For more information, see Task Placement Constraints in the Amazon EC2 Container Service Developer Guide.
Fields
expression: Option<String>
A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
type_: Option<String>
The type of constraint. The DistinctInstance
constraint ensures that each task in a particular group is running on a different container instance. The MemberOf
constraint restricts selection to be from a group of valid candidates.
Trait Implementations
impl Default for TaskDefinitionPlacementConstraint
[src]
fn default() -> TaskDefinitionPlacementConstraint
[src]
Returns the "default value" for a type. Read more
impl Debug for TaskDefinitionPlacementConstraint
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TaskDefinitionPlacementConstraint
[src]
fn clone(&self) -> TaskDefinitionPlacementConstraint
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more