class AWS::EC2::SecurityGroup

def authorize_egress *sources

Returns:
  • (nil) -

Options Hash: (**options)
  • :ports (Range, Integer) -- An optional
  • :protocol (Symbol) -- The protocol name or number

Parameters:
  • options (Hash) --
  • sources (Mixed) -- One or more CIDR IP addresses,

Overloads:
  • authorize_egress(*sources, options = {})

Other tags:
    Note: - Calling this method on a non-VPC security group raises an error.
def authorize_egress *sources
  client.authorize_security_group_egress(
    :group_id => id,
    :ip_permissions => [egress_opts(sources)])
  nil
end