The AuthorizeSecurityGroupIngress operation adds permissions to a security group.
Permissions are specified by the IP
protocol (TCP, UDP or ICMP), the source of the request (by IP range or an Amazon EC2 user-group pair), the source and destination port
ranges (for TCP and UDP), and the ICMP codes and types (for ICMP). When authorizing ICMP,
Permission changes are propagated to instances within the security group as quickly as possible. However, depending on the number of instances, a small delay might occur.
Inheritance Hierarchy
Amazon.Runtime.AmazonWebServiceRequest
Amazon.EC2.Model.AuthorizeSecurityGroupIngressRequest
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class AuthorizeSecurityGroupIngressRequest : AmazonWebServiceRequest IRequestEvents
The AuthorizeSecurityGroupIngressRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
AuthorizeSecurityGroupIngressRequest() |
Properties
Name | Description | |
---|---|---|
![]() |
GroupId | ID of the standard (EC2) or VPC security group to modify. The group must belong to your account. Required for VPC security groups; can be used instead of GroupName for standard (EC2) security groups. |
![]() |
GroupName | Name of the standard (EC2) security group to modify. The group must belong to your account. Can be used instead of GroupID for standard (EC2) security groups. |
![]() |
IpPermissions | List of IP permissions to authorize on the specified security group. Specifying permissions through IP permissions is the preferred way of authorizing permissions since it offers more flexibility and control. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8