#[non_exhaustive]pub struct AwsEcsServicePlacementConstraintsDetails { /* private fields */ }
Expand description
A placement constraint for the tasks in the service.
Implementations§
source§impl AwsEcsServicePlacementConstraintsDetails
impl AwsEcsServicePlacementConstraintsDetails
sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance
.
source§impl AwsEcsServicePlacementConstraintsDetails
impl AwsEcsServicePlacementConstraintsDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsServicePlacementConstraintsDetails
.
Trait Implementations§
source§impl Clone for AwsEcsServicePlacementConstraintsDetails
impl Clone for AwsEcsServicePlacementConstraintsDetails
source§fn clone(&self) -> AwsEcsServicePlacementConstraintsDetails
fn clone(&self) -> AwsEcsServicePlacementConstraintsDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more