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 Elastic Compute Cloud User Guide.
ec2_delete_placement_group(DryRun, GroupName)
An empty list.
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
.
[required] The name of the placement group.
svc$delete_placement_group(
DryRun = TRUE|FALSE,
GroupName = "string"
)
if (FALSE) {
# This example deletes the specified placement group.
#
svc$delete_placement_group(
GroupName = "my-cluster"
)
}
Run the code above in your browser using DataLab