delete

EC2.PlacementGroup.delete(**kwargs)

Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information, see Placement groups in the Amazon EC2 User Guide .

See also: AWS API Documentation

Request Syntax

response = placement_group.delete(
    DryRun=True|False,

)
Parameters
DryRun (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 .
Returns
None