Class: Humidifier::EC2::TrafficMirrorFilterRule
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::EC2::TrafficMirrorFilterRule resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#description ⇒ Object
returns the Description property.
-
#description=(value) ⇒ Object
sets the Description property (String).
-
#destination_cidr_block ⇒ Object
returns the DestinationCidrBlock property.
-
#destination_cidr_block=(value) ⇒ Object
sets the DestinationCidrBlock property (String).
-
#destination_port_range ⇒ Object
returns the DestinationPortRange property.
-
#destination_port_range=(value) ⇒ Object
sets the DestinationPortRange property (Structure).
-
#protocol ⇒ Object
returns the Protocol property.
-
#protocol=(value) ⇒ Object
sets the Protocol property (Integer).
-
#rule_action ⇒ Object
returns the RuleAction property.
-
#rule_action=(value) ⇒ Object
sets the RuleAction property (String).
-
#rule_number ⇒ Object
returns the RuleNumber property.
-
#rule_number=(value) ⇒ Object
sets the RuleNumber property (Integer).
-
#source_cidr_block ⇒ Object
returns the SourceCidrBlock property.
-
#source_cidr_block=(value) ⇒ Object
sets the SourceCidrBlock property (String).
-
#source_port_range ⇒ Object
returns the SourcePortRange property.
-
#source_port_range=(value) ⇒ Object
sets the SourcePortRange property (Structure).
-
#traffic_direction ⇒ Object
returns the TrafficDirection property.
-
#traffic_direction=(value) ⇒ Object
sets the TrafficDirection property (String).
-
#traffic_mirror_filter_id ⇒ Object
returns the TrafficMirrorFilterId property.
-
#traffic_mirror_filter_id=(value) ⇒ Object
sets the TrafficMirrorFilterId property (String).
Methods inherited from Resource
#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property
Constructor Details
This class inherits a constructor from Humidifier::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Humidifier::Resource
Instance Method Details
#description ⇒ Object
returns the Description property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def description properties['description'] end |
#description=(value) ⇒ Object
sets the Description property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def description=(value) update_property('description', value) end |
#destination_cidr_block ⇒ Object
returns the DestinationCidrBlock property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def destination_cidr_block properties['destination_cidr_block'] end |
#destination_cidr_block=(value) ⇒ Object
sets the DestinationCidrBlock property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def destination_cidr_block=(value) update_property('destination_cidr_block', value) end |
#destination_port_range ⇒ Object
returns the DestinationPortRange property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def destination_port_range properties['destination_port_range'] end |
#destination_port_range=(value) ⇒ Object
sets the DestinationPortRange property (Structure)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def destination_port_range=(value) update_property('destination_port_range', value) end |
#protocol ⇒ Object
returns the Protocol property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def protocol properties['protocol'] end |
#protocol=(value) ⇒ Object
sets the Protocol property (Integer)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def protocol=(value) update_property('protocol', value) end |
#rule_action ⇒ Object
returns the RuleAction property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def rule_action properties['rule_action'] end |
#rule_action=(value) ⇒ Object
sets the RuleAction property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def rule_action=(value) update_property('rule_action', value) end |
#rule_number ⇒ Object
returns the RuleNumber property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def rule_number properties['rule_number'] end |
#rule_number=(value) ⇒ Object
sets the RuleNumber property (Integer)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def rule_number=(value) update_property('rule_number', value) end |
#source_cidr_block ⇒ Object
returns the SourceCidrBlock property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def source_cidr_block properties['source_cidr_block'] end |
#source_cidr_block=(value) ⇒ Object
sets the SourceCidrBlock property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def source_cidr_block=(value) update_property('source_cidr_block', value) end |
#source_port_range ⇒ Object
returns the SourcePortRange property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def source_port_range properties['source_port_range'] end |
#source_port_range=(value) ⇒ Object
sets the SourcePortRange property (Structure)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def source_port_range=(value) update_property('source_port_range', value) end |
#traffic_direction ⇒ Object
returns the TrafficDirection property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def traffic_direction properties['traffic_direction'] end |
#traffic_direction=(value) ⇒ Object
sets the TrafficDirection property (String)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def traffic_direction=(value) update_property('traffic_direction', value) end |
#traffic_mirror_filter_id ⇒ Object
returns the TrafficMirrorFilterId property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def traffic_mirror_filter_id properties['traffic_mirror_filter_id'] end |
#traffic_mirror_filter_id=(value) ⇒ Object
sets the TrafficMirrorFilterId property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def traffic_mirror_filter_id=(value) update_property('traffic_mirror_filter_id', value) end |