TerminateInstancesRequest
¶
Source code in docs_src/capo_ec2/types/terminate_instances_request.py
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
Checks whether you have the required permissions for the operation, 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.
force
instance-attribute
¶
force: NotRequired[Boolean]
Forces the instances to terminate. The instance will first attempt a graceful shutdown, which includes flushing file system caches and metadata. If the graceful shutdown fails to complete within the timeout period, the instance shuts down forcibly without flushing the file system caches and metadata.
instance_ids
instance-attribute
¶
instance_ids: NotRequired[InstanceIdStringList]
The IDs of the instances.
Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches.