Adds one or more ingress rules to a security group. This action applies to both EC2 security groups and VPC security groups.
- request (AuthorizeSecurityGroupIngressRequest)
- Authorize Security Group Ingress request
Authorize Security Group Ingress Response from the service
AWSSDK (Module: AWSSDK) Version: 184.108.40.206 (220.127.116.11)
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, -1 can be used as a wildcard in the type and code fields. 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. When authorizing a user/group pair permission, GroupName, SourceSecurityGroupName and SourceSecurityGroupOwnerId must be specified. When authorizing a CIDR IP permission, GroupName, IpProtocol, FromPort, ToPort and CidrIp must be specified