- request (AuthorizeSecurityGroupEgressRequest)
- Authorize Security Group Egress request
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.