Learn R Programming

paws.compute (version 0.7.0)

ec2_delete_security_group: Deletes a security group

Description

Deletes a security group.

See https://www.paws-r-sdk.com/docs/ec2_delete_security_group/ for full documentation.

Usage

ec2_delete_security_group(GroupId = NULL, GroupName = NULL, DryRun = NULL)

Arguments

GroupId

The ID of the security group.

GroupName

[Default VPC] The name of the security group. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, you must specify the security group ID.

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.