ScheduleTargetEcsParametersPlacementConstraint constructor

const ScheduleTargetEcsParametersPlacementConstraint({
  1. Input<String?>? expression,
  2. required Input<String> type,
})

Creates a new ScheduleTargetEcsParametersPlacementConstraint. expression A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance. For more information, see Cluster query language in the Amazon ECS Developer Guide. type The type of constraint. One of: distinctInstance, memberOf.

Implementation

const ScheduleTargetEcsParametersPlacementConstraint({
  this.expression,
  required this.type,
});