/AWS1/CL_EC2=>AUTHORIZESECURITYGROUPEGRESS()
¶
About AuthorizeSecurityGroupEgress¶
Adds the specified outbound (egress) rules to a security group.
An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 address ranges, the IP address ranges specified by a prefix list, or the instances that are associated with a source security group. For more information, see Security group rules.
You must specify exactly one of the following destinations: an IPv4 or IPv6 address range, a prefix list, or a security group. You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP type and code.
Rule changes are propagated to instances associated with the security group as quickly as possible. However, a small delay might occur.
For examples of rules that you can add to security groups for specific access scenarios, see Security group rules for different use cases in the Amazon EC2 User Guide.
For information about security group quotas, see Amazon VPC quotas in the Amazon VPC User Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_GROUPID
TYPE /AWS1/EC2SECURITYGROUPID
/AWS1/EC2SECURITYGROUPID
¶
The ID of the security group.
Optional arguments:¶
IT_TAGSPECIFICATIONS
TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST
TT_TAGSPECIFICATIONLIST
¶
The tags applied to the security group rule.
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
IV_SOURCESECURITYGROUPNAME
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
Not supported. Use IP permissions instead.
IV_SOURCESECGROUPOWNERID
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
Not supported. Use IP permissions instead.
IV_IPPROTOCOL
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
Not supported. Use IP permissions instead.
IV_FROMPORT
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
Not supported. Use IP permissions instead.
IV_TOPORT
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
Not supported. Use IP permissions instead.
IV_CIDRIP
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
Not supported. Use IP permissions instead.
IT_IPPERMISSIONS
TYPE /AWS1/CL_EC2IPPERMISSION=>TT_IPPERMISSIONLIST
TT_IPPERMISSIONLIST
¶
The permissions for the security group rules.