POST /#Action=AuthorizeSecurityGroupEgress
[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.
An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances that are associated with the specified source security groups. When specifying an outbound rule for your security group in a VPC, the IpPermissions
must include a destination for the traffic.
You specify a protocol for each rule (for example, TCP). 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 for the type or code to mean all types or all codes.
Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.
For information about VPC security group quotas, see Amazon VPC quotas.
Servers
- https://ec2.{region}.amazonaws.com
- https://ec2.amazonaws.com
- https://ec2.{region}.amazonaws.com.cn
Request headers
Name | Type | Required | Description |
---|---|---|---|
X-Amz-Content-Sha256 |
String | No | |
X-Amz-Credential |
String | No | |
Content-Type |
String | Yes |
The media type of the request body.
Default value: "text/xml" |
X-Amz-Date |
String | No | |
X-Amz-Algorithm |
String | No | |
X-Amz-SignedHeaders |
String | No | |
X-Amz-Security-Token |
String | No | |
X-Amz-Signature |
String | No |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
Version |
String | Yes |
Possible values:
|
Action |
String | Yes |
Possible values:
|
Request body fields
Name | Type | Required | Description |
---|---|---|---|
TagSpecifications[] |
Array | No |
The tags applied to the security group rule. |
IpProtocol |
String | No |
Not supported. Use a set of IP permissions to specify the protocol name or number. |
IpPermissions[] |
Array | No |
The sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions. |
SourceSecurityGroupOwnerId |
String | No |
Not supported. Use a set of IP permissions to specify a destination security group. |
FromPort |
Integer | No |
Not supported. Use a set of IP permissions to specify the port. |
ToPort |
Integer | No |
Not supported. Use a set of IP permissions to specify the port. |
GroupId |
String | Yes |
The ID of the security group. |
CidrIp |
String | No |
Not supported. Use a set of IP permissions to specify the CIDR. |
DryRun |
Boolean | No |
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 |
SourceSecurityGroupName |
String | No |
Not supported. Use a set of IP permissions to specify a destination security group. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.