AuthorizeSecurityGroupEgress

GET /?Action=AuthorizeSecurityGroupEgress
Description

Adds one or more egress rules to a security group for use with a Virtual Private Cloud (VPC).
It allows instances to send traffic to either one or more destination CIDR IP address ranges or destination security groups for the same VPC.
We recommend using a set of IP permissions to authorize outbound access to a destination security group. We also recommend specifying the protocol in a set of IP permissions.

Note

By default, traffic between two security groups is allowed through both public and private IP addresses. To restrict it to private IP addresses only, contact our Support team: support@outscale.com.

Body parameter

Required: false
Name: AuthorizeSecurityGroupEgressRequest

Name Description Required Schema Default Example

CidrIp

The CIDR IP address range.

false

string

FromPort

The beginning of the port range for the TCP and UDP protocols, or an ICMP type number.

false

integer

GroupId

The ID of the security group.

true

string

IpPermissions.N

One or more IP permissions.

false

IpPermission

IpProtocol

The IP protocol name (tcp, udp, icmp) or protocol number. By default, -1, which means all protocols.

false

string

SourceSecurityGroupName

The name of a destination security group.

false

string

SourceSecurityGroupOwnerId

The account ID of the owner of a destination security group.

false

string

ToPort

The end of port range for the TCP and UDP protocols, or an ICMP type number.

false

integer

Responses
HTTP Code 200
HTTP Code Description Schema

200

AuthorizeSecurityGroupEgressResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

return

If true, the request succeeds. Otherwise, an error is returned.

false

boolean