ModifyFleetRequest
¶
Source code in docs_src/capo_ec2/types/modify_fleet_request.py
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
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 is UnauthorizedOperation.
excess_capacity_termination_policy
instance-attribute
¶
excess_capacity_termination_policy: NotRequired[FleetExcessCapacityTerminationPolicy]
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.
launch_template_configs
instance-attribute
¶
launch_template_configs: NotRequired[FleetLaunchTemplateConfigListRequest]
The launch template and overrides.
target_capacity_specification
instance-attribute
¶
target_capacity_specification: NotRequired[TargetCapacitySpecificationRequest]
The size of the EC2 Fleet.