class AWS::EC2::SecurityGroup::IpPermission

def authorize

Returns:
  • (IpPermission) - Returns self
def authorize
  update_sg(egress? ? :authorize_egress : :authorize_ingress)
end