Back to Amazon EC2 Integrations
Handler · Version 1

AWS EC2 Delete Security Group Amazon EC2

Download GitHub


This handler is built on the AWS API, and is used to delete a security group. If you attempt to delete a security group that is associated with an instance, or is referenced by another security group, the operation fails with InvalidGroup.InUse in EC2-Classic or DependencyViolation in EC2-VPC.For more information see the AWS Amazon Virtual Private Cloud User Guide online.

The Dry Run parameter validates user permissions and inputs. If it is set to true, an error will always be thrown by the handler before completing the handler action. Error response will be 'DryRunOperation' if the account has proper permissions and inputs; 'UnauthorizedOperation' if the account does not have proper permissions.

Name Description Sample
Dry Run Dry run validates user permissions and inputs without completing the EC2 action (true or false). false
Group Name For EC2 Classic and removing the default VPC, The name of the security group. You can specify either the security group name or the security group ID. DevOps
Group ID The ID of the security group. Required for a non-default VPC. sg-903004f8

AWS EC2 Delete Security Group V1 (2017-08-22)

  • Initial version. See README for details.
Download GitHub

On This Page

Looking for a workflow engine? Learn more about the Kinetic Data Enterprise Workflow Platform. Check it out
Return to Top