class AWS::EC2::NetworkACLCollection
def [] network_acl_id
-
(NetworkACL)
-
Parameters:
-
network_acl_id
(String
) --
def [] network_acl_id NetworkACL.new(network_acl_id, :config => config) end
def _each_item options = {}, &block
def _each_item options = {}, &block response = filtered_request(:describe_network_acls, options, &block) response.network_acl_set.each do |a| network_acl = NetworkACL.new_from(:describe_network_acls, a, a.network_acl_id, :config => config) yield(network_acl) end end
def create options = {}
-
(NetworkACL)
-
Options Hash:
(**options)
-
:vpc
(VPC, String
) -- The vpc or vpc id of where you want
Parameters:
-
options
(Hash
) --
def create options = {} client_opts = {} client_opts[:vpc_id] = vpc_id_option(options) resp = client.create_network_acl(client_opts) NetworkACL.new_from(:create_network_acl, resp.network_acl, resp.network_acl.network_acl_id, :config => config) end