<ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>
<groupName>RangedPortsBySource</groupName>
<groupDescription>A</groupDescription>
<ipPermissions>
<item>
<ipProtocol>tcp</ipProtocol>
<fromPort>6000</fromPort>
<toPort>7000</toPort>
<groups/>
<ipRanges/>
</item>
</ipPermissions>
</item>
</securityGroupInfo>
</DescribeSecurityGroupsResponse>
Related Operations
CreateSecurityGroup
AuthorizeSecurityGroupIngress
RevokeSecurityGroupIngress
DeleteSecurityGroup
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.
Request Parameters
The following table describes the request parameters for DeleteSecurityGroup. Parameter names are
case sensitive.
Element Name Definition Re-
quired?
Type
groupName Name of the security group to delete. Yes xsd:string
Response Tags
The following table describes the default response tags included in DeleteSecurityGroup responses.
Element Name Definition
return true if group deleted.
Sample Request
<DeleteSecurityGroup xmlns="http://ec2.amazonaws.com/doc/2006-06-26">
<groupName>RangedPortsBySource</groupName>
</DeleteSecurityGroup>
Amazon EC2
Developer Guide
69
Sample Response
<DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2006-06-26">
<return>true</return>
</DeleteSecurityGroupResponse>
Related Operations
CreateSecurityGroup
DescribeSecurityGroups
AuthorizeSecurityGroupIngress
RevokeSecurityGroupIngress
AuthorizeSecurityGroupIngress
The AuthorizeSecurityGroupIngress operation adds permissions to a security group.
Permissions are specified in terms of the IP protocol (TCP, UDP or ICMP), the source of the request (by
IP range or an Amazon EC2 user-group pair), source and destination port ranges (for TCP and UDP),
and ICMP codes and types (for ICMP).
Note
Changes are anticipated in this API that may restrict further what is allowable. Please consult
the section called “Anticipated API changes” for more details.
Permission changes are propagated to instances within the security group being modified as quickly as
possible. However, a small delay is likely, depending on the number of instances that are members of
the indicated group.
Request Parameters
The following table describes the request parameters for AuthorizeSecurityGroupIngress.
Parameter names are case sensitive.
Element Name Definition Re-
quired?
Type
userId AWS Access Key ID. Yes xsd:string
groupName Name of the group to modify. Yes xsd:string
ipPermissions Set of permissions to add to the group. Yes ec2:IpPermissionTyp
e[]
Response Tags
The following table describes the default response tags included in
AuthorizeSecurityGroupIngress responses.
Element Name Definition
return true if permissions successfully added.
Amazon EC2
Developer Guide
70
Previous Page Next Page