Modifies the specified EC2 Fleet.
See https://www.paws-r-sdk.com/docs/ec2_modify_fleet/ for full documentation.
Usage
ec2_modify_fleet(
DryRun = NULL,
ExcessCapacityTerminationPolicy = NULL,
LaunchTemplateConfigs = NULL,
FleetId,
TargetCapacitySpecification = NULL,
Context = NULL
)Arguments
- DryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- ExcessCapacityTerminationPolicy
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain.- LaunchTemplateConfigs
The launch template and overrides.
- FleetId
[required] The ID of the EC2 Fleet.
- TargetCapacitySpecification
The size of the EC2 Fleet.
- Context
Reserved.