This action applies only to security groups in a VPC; it's not supported for standard (EC2) security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide. The action adds one or more egress rules to a VPC security group. Specifically, this permits instances in a security group to send traffic to either one or more destination CIDR IP address ranges, or to one or more destination security groups in the same VPC. Each rule consists of the protocol (e.g., TCP), plus either a CIDR range, or a source group. For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code.You can use -1 as a wildcard for the ICMP type or code. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class AuthorizeSecurityGroupEgressRequest
Public Class AuthorizeSecurityGroupEgressRequest
public ref class AuthorizeSecurityGroupEgressRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AuthorizeSecurityGroupEgressRequest()()()()
Initializes a new instance of the AuthorizeSecurityGroupEgressRequest class
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GroupId
Gets and sets the GroupId property. ID of the VPC security group to modify.
IpPermissions
Gets and sets the IpPermissions property. Set of IP permissions associated with the security group.
IsSetGroupId()()()()
Checks if GroupId property is set
IsSetIpPermissions()()()()
Checks if IpPermissions property is set
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithGroupId(String)
Sets the GroupId property
WithIpPermissions(array<IpPermissionSpecification>[]()[][])
Sets the IpPermissions property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..AuthorizeSecurityGroupEgressRequest

See Also