AWS SDK for .NET Documentation
AuthorizeSecurityGroupEgressRequest Class
AmazonAmazon.EC2.ModelAuthorizeSecurityGroupEgressRequest Did this page help you?   Yes   No    Tell us about it...
Adds one or more egress rules to a VPC security group.
Declaration Syntax
C#
public class AuthorizeSecurityGroupEgressRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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
ID of the VPC security group to modify.

IpPermissions
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) Obsolete.
Sets the ID of the VPC security group to modify.

WithIpPermissions(array<IpPermissionSpecification>[]()[][]) Obsolete.
Sets the IP permissions associated with the security group.

Remarks

This call permits instances in a security group to send traffic to one or more destination CIDR IP address ranges, or to one or more destination security groups in the same VPC.

This action applies only to security groups in a VPC; it's not supported for standard (EC2) security groups.

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.

Inheritance Hierarchy
Object
EC2Request
 AuthorizeSecurityGroupEgressRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)