EventTargetEcsTargetOrderedPlacementStrategy class

Constructors

EventTargetEcsTargetOrderedPlacementStrategy({Input<String?>? field, required Input<String> type})
Creates a new EventTargetEcsTargetOrderedPlacementStrategy. field The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used. For more information, see Amazon ECS task placement strategies. type Type of placement strategy. The only valid values at this time are binpack, random and spread.
const
EventTargetEcsTargetOrderedPlacementStrategy.fromMap(Map<String, dynamic> map)
factory

Properties

field → Input<String?>?
The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used. For more information, see Amazon ECS task placement strategies.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String>
Type of placement strategy. The only valid values at this time are binpack, random and spread.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited