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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#dry_runBoolean

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.

Returns:

  • (Boolean)

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

#fleet_idsArray<String>

The IDs of the EC2 Fleets.

Returns:

  • (Array<String>)

    The IDs of the EC2 Fleets.

#terminate_instancesBoolean

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.

Returns:

  • (Boolean)

    Indicates whether to terminate the instances when the EC2 Fleet is deleted.