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.
Usage¶
Arguments¶
-
GroupId[required] A security group ID.
-
VpcId[required] A VPC ID.
-
DryRunChecks 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 isUnauthorizedOperation.
Value¶
A list with the following syntax:
list(
State = "associating"|"associated"|"association-failed"|"disassociating"|"disassociated"|"disassociation-failed"
)