Class: MintPress::Aws::EC2::NetworkAclEntry
- Inherits:
-
Object
- Object
- MintPress::Aws::EC2::NetworkAclEntry
- Includes:
- MintLogger, AwsCommon, Mixins::Properties
- Defined in:
- src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb
Properties (Read/Write)
-
#cidr_block ⇒ [String]
'The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).'
Property Attributes- source ⇒ "replace_network_acl_entry"
- orig_name ⇒ 'cidr_block'
- create_network_acl_entry_prop ⇒ 'cidr_block'
- read_only ⇒ false
- replace_network_acl_entry_prop ⇒ 'cidr_block'
24 25
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 24 property :cidr_block, description: 'The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).', source: "replace_network_acl_entry", orig_name: 'cidr_block', type: [String], create_network_acl_entry_prop: 'cidr_block', read_only: false, replace_network_acl_entry_prop: 'cidr_block'
-
#egress ⇒ [TrueClass,FalseClass]
'Indicates whether to replace the egress rule. Default: If no value is specified, we replace the ingress rule.'
Property Attributes- source ⇒ "replace_network_acl_entry"
- orig_name ⇒ 'egress'
- create_network_acl_entry_prop ⇒ 'egress'
- read_only ⇒ false
- delete_network_acl_entry_prop ⇒ 'egress'
- replace_network_acl_entry_prop ⇒ 'egress'
26 27 28
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 26 property :egress, description: 'Indicates whether to replace the egress rule. Default: If no value is specified, we replace the ingress rule.', source: "replace_network_acl_entry", orig_name: 'egress', type: [TrueClass,FalseClass], create_network_acl_entry_prop: 'egress', read_only: false, delete_network_acl_entry_prop: 'egress', replace_network_acl_entry_prop: 'egress'
-
#icmp_type_code ⇒ [MintPress::Aws::EC2::IcmpTypeCode] (Default Value: MintPress::Aws::EC2::IcmpTypeCode.new)
'ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.'
Property Attributes- source ⇒ "replace_network_acl_entry"
- orig_name ⇒ 'icmp_type_code'
- default ⇒ MintPress::Aws::EC2::IcmpTypeCode.new
- create_network_acl_entry_prop ⇒ 'icmp_type_code'
- read_only ⇒ false
- replace_network_acl_entry_prop ⇒ 'icmp_type_code'
29 30 31
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 29 property :icmp_type_code, description: 'ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.', source: "replace_network_acl_entry", orig_name: 'icmp_type_code', type: [MintPress::Aws::EC2::IcmpTypeCode], default: MintPress::Aws::EC2::IcmpTypeCode.new, create_network_acl_entry_prop: 'icmp_type_code', read_only: false, replace_network_acl_entry_prop: 'icmp_type_code'
-
#ipv_6_cidr_block ⇒ [String]
'The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).'
Property Attributes- source ⇒ "replace_network_acl_entry"
- orig_name ⇒ 'ipv_6_cidr_block'
- create_network_acl_entry_prop ⇒ 'ipv_6_cidr_block'
- read_only ⇒ false
- replace_network_acl_entry_prop ⇒ 'ipv_6_cidr_block'
32 33
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 32 property :ipv_6_cidr_block, description: 'The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).', source: "replace_network_acl_entry", orig_name: 'ipv_6_cidr_block', type: [String], create_network_acl_entry_prop: 'ipv_6_cidr_block', read_only: false, replace_network_acl_entry_prop: 'ipv_6_cidr_block'
-
#port_range ⇒ [MintPress::Aws::EC2::PortRange] (Default Value: MintPress::Aws::EC2::PortRange.new)
'TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).'
Property Attributes- source ⇒ "replace_network_acl_entry"
- orig_name ⇒ 'port_range'
- default ⇒ MintPress::Aws::EC2::PortRange.new
- create_network_acl_entry_prop ⇒ 'port_range'
- read_only ⇒ false
- replace_network_acl_entry_prop ⇒ 'port_range'
34 35
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 34 property :port_range, description: 'TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).', source: "replace_network_acl_entry", orig_name: 'port_range', type: [MintPress::Aws::EC2::PortRange], default: MintPress::Aws::EC2::PortRange.new, create_network_acl_entry_prop: 'port_range', read_only: false, replace_network_acl_entry_prop: 'port_range'
-
#protocol ⇒ [String]
'The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.'
Property Attributes- source ⇒ "replace_network_acl_entry"
- orig_name ⇒ 'protocol'
- create_network_acl_entry_prop ⇒ 'protocol'
- read_only ⇒ false
- replace_network_acl_entry_prop ⇒ 'protocol'
36 37 38 39 40 41 42 43
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 36 property :protocol, description: 'The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.', source: "replace_network_acl_entry", orig_name: 'protocol', type: [String], create_network_acl_entry_prop: 'protocol', read_only: false, replace_network_acl_entry_prop: 'protocol'
-
#rule_action ⇒ [String]
'Indicates whether to allow or deny the traffic that matches the rule.'
Property Attributes- source ⇒ "replace_network_acl_entry"
- orig_name ⇒ 'rule_action'
- create_network_acl_entry_prop ⇒ 'rule_action'
- read_only ⇒ false
- replace_network_acl_entry_prop ⇒ 'rule_action'
44
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 44 property :rule_action, description: 'Indicates whether to allow or deny the traffic that matches the rule.', source: "replace_network_acl_entry", orig_name: 'rule_action', type: [String], create_network_acl_entry_prop: 'rule_action', read_only: false, replace_network_acl_entry_prop: 'rule_action'
-
#rule_number ⇒ [Integer]
'The rule number of the entry to replace.'
Property Attributes- source ⇒ "replace_network_acl_entry"
- orig_name ⇒ 'rule_number'
- create_network_acl_entry_prop ⇒ 'rule_number'
- read_only ⇒ false
- delete_network_acl_entry_prop ⇒ 'rule_number'
- replace_network_acl_entry_prop ⇒ 'rule_number'
45
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 45 property :rule_number, description: 'The rule number of the entry to replace.', source: "replace_network_acl_entry", orig_name: 'rule_number', type: [Integer], create_network_acl_entry_prop: 'rule_number', read_only: false, delete_network_acl_entry_prop: 'rule_number', replace_network_acl_entry_prop: 'rule_number'
-
#dry_run ⇒ [TrueClass,FalseClass]
'Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.'
Property Attributes- create_network_acl_entry_prop ⇒ 'dry_run'
- read_only ⇒ false
- source ⇒ "replace_network_acl_entry"
- delete_network_acl_entry_prop ⇒ 'dry_run'
- replace_network_acl_entry_prop ⇒ 'dry_run'
46 47 48 49
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 46 property :dry_run, create_network_acl_entry_prop: 'dry_run', type: [TrueClass,FalseClass], read_only: false, source: "replace_network_acl_entry", description: 'Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.', delete_network_acl_entry_prop: 'dry_run', replace_network_acl_entry_prop: 'dry_run'
-
#network_acl ⇒ [MintPress::Aws::EC2::NetworkAcl]
'The ID of the ACL.'
Property Attributes- create_network_acl_entry_prop ⇒ 'network_acl_id'
- read_only ⇒ false
- source ⇒ "replace_network_acl_entry"
- delete_network_acl_entry_prop ⇒ 'network_acl_id'
- replace_network_acl_entry_prop ⇒ 'network_acl_id'
- from ⇒ String
50
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 50 property :network_acl, create_network_acl_entry_prop: 'network_acl_id', type: [MintPress::Aws::EC2::NetworkAcl], read_only: false, source: "replace_network_acl_entry", description: 'The ID of the ACL.', delete_network_acl_entry_prop: 'network_acl_id', replace_network_acl_entry_prop: 'network_acl_id', from: String
-
#region ⇒ String
Region _specifically for this object_. If you're not doing different objects in different regions, you should not set this, but rather set the region on your AwsPlatformProvider instead
Property Attributes54
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 54 property :region, type: String
-
#platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
The platform details, including credentials - normally this will come via AwsPlatformProvider (see the Infrastructure Providers section of the documentation)
Property Attributes- default ⇒ MintPress::InfrastructureAws::AwsPlatform.new
57
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_acl_entry.rb', line 57 property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary
Attributes included from Mixins::Properties
#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root
Instance Method Summary collapse
- #create ⇒ Object
- #delete ⇒ Object
- #delete_cascade ⇒ Object
-
#initialize(opts = {}) ⇒ NetworkAclEntry
constructor
A new instance of NetworkAclEntry.
- #replace ⇒ Object
Methods included from AwsCommon
#alive?, all, #attach_generic, #attached?, #available?, #build_create_hash, #by_id, #by_name, #create_generic, #delete_cascade_generic, #delete_generic, #detach_generic, #exists?, #fill_in_details, #find_by_details, #find_global_object, #get_aws_region, #get_state, #handle_singleton_object, #harvest, #perform_operation, #prop_to_hash, #register_aws_object, #resource_api, #running?, #start_generic, #started?, #stop_generic, #terminate_generic
Methods included from Mixins::Properties
#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send