Class: Ansible::Ruby::Modules::Ec2_vpc_nacl
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_vpc_nacl
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb
Overview
Read the AWS documentation for Network ACLS U(docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_ACLs.html)
Instance Method Summary collapse
-
#egress ⇒ Object?
A list of rules for outgoing traffic.
-
#ingress ⇒ Object?
List of rules for incoming traffic.
-
#nacl_id ⇒ String?
NACL id identifying a network ACL.,One and only one of the I(name) or I(nacl_id) is required.
-
#name ⇒ String?
Tagged name identifying a network ACL.,One and only one of the I(name) or I(nacl_id) is required.
-
#state ⇒ :present, ...
Creates or modifies an existing NACL,Deletes a NACL and reassociates subnets to the default NACL.
-
#subnets ⇒ Array<String>, ...
The list of subnets that should be associated with the network ACL.,Must be specified as a list,Each subnet can be specified as subnet ID, or its tagged name.
-
#tags ⇒ Hash?
Dictionary of tags to look for and apply when creating a network ACL.
-
#vpc_id ⇒ String?
VPC id of the requesting VPC.,Required when state present.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#egress ⇒ Object?
Returns A list of rules for outgoing traffic. Each rule must be specified as a list. Each rule may contain the rule number (integer 1-32766), protocol (one of [‘tcp’, ‘udp’, ‘icmp’, ‘-1’, ‘all’]), the rule action (‘allow’ or ‘deny’) the CIDR of the IPv4 network range to allow or deny, the ICMP type (-1 means all types), the ICMP code (-1 means all codes), the last port in the range for TCP or UDP protocols, and the first port in the range for TCP or UDP protocols. See examples.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb', line 28 attribute :egress |
#ingress ⇒ Object?
Returns List of rules for incoming traffic. Each rule must be specified as a list. Each rule may contain the rule number (integer 1-32766), protocol (one of [‘tcp’, ‘udp’, ‘icmp’, ‘-1’, ‘all’]), the rule action (‘allow’ or ‘deny’) the CIDR of the IPv4 network range to allow or deny, the ICMP type (-1 means all types), the ICMP code (-1 means all codes), the last port in the range for TCP or UDP protocols, and the first port in the range for TCP or UDP protocols. See examples.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb', line 31 attribute :ingress |
#nacl_id ⇒ String?
Returns NACL id identifying a network ACL.,One and only one of the I(name) or I(nacl_id) is required.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb', line 16 attribute :nacl_id |
#name ⇒ String?
Returns Tagged name identifying a network ACL.,One and only one of the I(name) or I(nacl_id) is required.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Creates or modifies an existing NACL,Deletes a NACL and reassociates subnets to the default NACL.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb', line 38 attribute :state |
#subnets ⇒ Array<String>, ...
Returns The list of subnets that should be associated with the network ACL.,Must be specified as a list,Each subnet can be specified as subnet ID, or its tagged name.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb', line 24 attribute :subnets |
#tags ⇒ Hash?
Returns Dictionary of tags to look for and apply when creating a network ACL.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb', line 34 attribute :tags |
#vpc_id ⇒ String?
Returns VPC id of the requesting VPC.,Required when state present.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_nacl.rb', line 20 attribute :vpc_id |