Interface CfnService.PlacementStrategyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnService.PlacementStrategyProperty.Jsii$Proxy
Enclosing class:
CfnService

@Stability(Stable) public static interface CfnService.PlacementStrategyProperty extends software.amazon.jsii.JsiiSerializable
The task placement strategy for a task or service.

For more information, see Task placement strategies in the Amazon Elastic Container Service Developer Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecs.*;
 PlacementStrategyProperty placementStrategyProperty = PlacementStrategyProperty.builder()
         .type("type")
         // the properties below are optional
         .field("field")
         .build();
 

See Also: