paws.compute (version 0.1.0)

ec2_delete_placement_group: 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 Elastic Compute Cloud 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.

Request syntax

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

Examples

Run this code
# NOT RUN {
# This example deletes the specified placement group.
# 
# }
# NOT RUN {
svc$delete_placement_group(
  GroupName = "my-cluster"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace