Skip to content

Delete Placement Group

ec2_delete_placement_group R Documentation

Deletes the specified placement group

Description

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.

Usage

ec2_delete_placement_group(DryRun, GroupName)

Arguments

DryRun

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.

GroupName

[required] The name of the placement group.

Value

An empty list.

Request syntax

svc$delete_placement_group(
  DryRun = TRUE|FALSE,
  GroupName = "string"
)

Examples

## Not run: 
# This example deletes the specified placement group.
# 
svc$delete_placement_group(
  GroupName = "my-cluster"
)

## End(Not run)