Class: Humidifier::EC2::FlowLog

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::EC2::FlowLog resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

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

#deliver_logs_permission_arnObject

returns the DeliverLogsPermissionArn property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def deliver_logs_permission_arn
  properties['deliver_logs_permission_arn']
end

#deliver_logs_permission_arn=(value) ⇒ Object

sets the DeliverLogsPermissionArn property (String)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def deliver_logs_permission_arn=(value)
  update_property('deliver_logs_permission_arn', value)
end

#destination_optionsObject

returns the DestinationOptions property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def destination_options
  properties['destination_options']
end

#destination_options=(value) ⇒ Object

sets the DestinationOptions property (Json)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def destination_options=(value)
  update_property('destination_options', value)
end

#log_destinationObject

returns the LogDestination property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def log_destination
  properties['log_destination']
end

#log_destination=(value) ⇒ Object

sets the LogDestination property (String)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def log_destination=(value)
  update_property('log_destination', value)
end

#log_destination_typeObject

returns the LogDestinationType property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def log_destination_type
  properties['log_destination_type']
end

#log_destination_type=(value) ⇒ Object

sets the LogDestinationType property (String)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def log_destination_type=(value)
  update_property('log_destination_type', value)
end

#log_formatObject

returns the LogFormat property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def log_format
  properties['log_format']
end

#log_format=(value) ⇒ Object

sets the LogFormat property (String)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def log_format=(value)
  update_property('log_format', value)
end

#log_group_nameObject

returns the LogGroupName property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def log_group_name
  properties['log_group_name']
end

#log_group_name=(value) ⇒ Object

sets the LogGroupName property (String)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def log_group_name=(value)
  update_property('log_group_name', value)
end

#max_aggregation_intervalObject

returns the MaxAggregationInterval property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def max_aggregation_interval
  properties['max_aggregation_interval']
end

#max_aggregation_interval=(value) ⇒ Object

sets the MaxAggregationInterval property (Integer)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def max_aggregation_interval=(value)
  update_property('max_aggregation_interval', value)
end

#resource_idObject

returns the ResourceId property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def resource_id
  properties['resource_id']
end

#resource_id=(value) ⇒ Object

sets the ResourceId property (String)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def resource_id=(value)
  update_property('resource_id', value)
end

#resource_typeObject

returns the ResourceType property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def resource_type
  properties['resource_type']
end

#resource_type=(value) ⇒ Object

sets the ResourceType property (String)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def resource_type=(value)
  update_property('resource_type', value)
end

#tagsObject

returns the Tags property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

def tags=(value)
  update_property('tags', value)
end

#traffic_typeObject

returns the TrafficType property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def traffic_type
  properties['traffic_type']
end

#traffic_type=(value) ⇒ Object

sets the TrafficType property (String)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

def traffic_type=(value)
  update_property('traffic_type', value)
end