delete_placement_group
(**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 = client.delete_placement_group(
DryRun=True|False,
GroupName='string'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The name of the placement group.
None
Examples
This example deletes the specified placement group.
response = client.delete_placement_group(
GroupName='my-cluster',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}