You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::DeleteFleetsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DeleteFleetsRequest
- Defined in:
- (unknown)
Overview
When passing DeleteFleetsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
dry_run: false,
fleet_ids: ["FleetId"], # required
terminate_instances: false, # required
}
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#fleet_ids ⇒ Array<String>
The IDs of the EC2 Fleets.
-
#terminate_instances ⇒ Boolean
Indicates whether to terminate the instances when the EC2 Fleet is deleted.
Instance Attribute Details
#dry_run ⇒ 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
.
#fleet_ids ⇒ Array<String>
The IDs of the EC2 Fleets.
#terminate_instances ⇒ Boolean
Indicates whether to terminate the instances when the EC2 Fleet is deleted. The default is to terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted,
specify NoTerminateInstances
. Supported only for fleets of type
maintain
and request
.
For instant
fleets, you cannot specify NoTerminateInstances
. A
deleted instant
fleet with running instances is not supported.