Class: Akashi::Vpc::SecurityGroup::Gateway

Inherits:
Base show all
Defined in:
lib/akashi/vpc/security_group/gateway.rb

Class Method Summary collapse

Methods inherited from Base

all, create, name, object_class, role

Methods inherited from Ec2::Base

#name, #name=, service_class

Methods inherited from Base

all, base_class, collection, find, find_by, #initialize, object_class, where

Constructor Details

This class inherits a constructor from Akashi::Base

Class Method Details

.ingress_ip_permissionsObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/akashi/vpc/security_group/gateway.rb', line 6

def ingress_ip_permissions
  @ingress_ip_permissions ||= [
    {
      protocol: :tcp,
      port:     9922,
    },
    {
      protocol: :icmp,
      port:     -1,
    },
  ]
end