DeleteSecurityGroup
The DeleteSecurityGroup
operation deletes a
security group.
If an attempt is made to delete a security group and any instances exist that are members of that group a fault is returned.
The following table describes the request parameters for
DeleteSecurityGroup
. Parameter names are
case sensitive.
Element Name | Definition | Required? | Type |
---|---|---|---|
groupName
|
Name of the security group to delete. | Yes |
xsd:string
|
The following table describes the default response tags included
in DeleteSecurityGroup
responses.
Element Name | Definition | Type |
---|---|---|
return
|
true if group deleted. |
xsd:boolean
|
<DeleteSecurityGroup xmlns="http://ec2.amazonaws.com/doc/2007-01-03"> <groupName>RangedPortsBySource</groupName> </DeleteSecurityGroup>
<DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2007-01-03"> <return>true</return> </DeleteSecurityGroupResponse>