EventTargetEcsTargetPlacementConstraint constructor
const
EventTargetEcsTargetPlacementConstraint({})
Creates a new EventTargetEcsTargetPlacementConstraint.
expression Cluster Query Language expression to apply to the constraint. Does not need to be specified for the distinctInstance type. For more information, see Cluster Query Language in the Amazon EC2 Container Service Developer Guide.
type Type of constraint. The only valid values at this time are memberOf and distinctInstance.
Implementation
const EventTargetEcsTargetPlacementConstraint({
this.expression,
required this.type,
});