ec2_disassociate_security_group_vpc: Disassociates a security group from a VPC

View source: R/ec2_operations.R

ec2_disassociate_security_group_vpcR Documentation

Disassociates a security group from a VPC

Description

Disassociates a security group from a VPC. You cannot disassociate the security group if any Elastic network interfaces in the associated VPC are still associated with the security group. Note that the disassociation is asynchronous and you can check the status of the request with describe_security_group_vpc_associations.

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

Usage

ec2_disassociate_security_group_vpc(GroupId, VpcId, DryRun = NULL)

Arguments

GroupId

[required] A security group ID.

VpcId

[required] A VPC 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.


paws.compute documentation built on April 4, 2025, 5:47 a.m.