Method: Aws::ECS::Types::UpdateServiceRequest#placement_strategy

Defined in:
lib/aws-sdk-ecs/types.rb

#placement_strategyArray<Types::PlacementStrategy>

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules for each service.

This parameter doesn’t trigger a new service deployment.

Returns:



14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
# File 'lib/aws-sdk-ecs/types.rb', line 14228

class UpdateServiceRequest < Struct.new(
  :cluster,
  :service,
  :desired_count,
  :task_definition,
  :capacity_provider_strategy,
  :deployment_configuration,
  :availability_zone_rebalancing,
  :network_configuration,
  :placement_constraints,
  :placement_strategy,
  :platform_version,
  :force_new_deployment,
  :health_check_grace_period_seconds,
  :deployment_controller,
  :enable_execute_command,
  :enable_ecs_managed_tags,
  :load_balancers,
  :propagate_tags,
  :service_registries,
  :service_connect_configuration,
  :volume_configurations,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end