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

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.

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]

[src]

Returns the "default value" for a type. Read more

impl Debug for TaskDefinitionPlacementConstraint
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for TaskDefinitionPlacementConstraint
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations