Class: Humidifier::ApiGateway::Method

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

Overview

A dynamically-defined class that represents an AWS::ApiGateway::Method 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

#api_key_requiredObject

returns the ApiKeyRequired property



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

def api_key_required
  properties['api_key_required']
end

#api_key_required=(value) ⇒ Object

sets the ApiKeyRequired property (Boolean)



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

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

#authorization_scopesObject

returns the AuthorizationScopes property



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

def authorization_scopes
  properties['authorization_scopes']
end

#authorization_scopes=(value) ⇒ Object

sets the AuthorizationScopes property (List)



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

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

#authorization_typeObject

returns the AuthorizationType property



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

def authorization_type
  properties['authorization_type']
end

#authorization_type=(value) ⇒ Object

sets the AuthorizationType property (String)



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

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

#authorizer_idObject

returns the AuthorizerId property



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

def authorizer_id
  properties['authorizer_id']
end

#authorizer_id=(value) ⇒ Object

sets the AuthorizerId property (String)



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

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

#http_methodObject

returns the HttpMethod property



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

def http_method
  properties['http_method']
end

#http_method=(value) ⇒ Object

sets the HttpMethod property (String)



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

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

#integrationObject

returns the Integration property



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

def integration
  properties['integration']
end

#integration=(value) ⇒ Object

sets the Integration property (Structure)



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

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

#method_responsesObject

returns the MethodResponses property



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

def method_responses
  properties['method_responses']
end

#method_responses=(value) ⇒ Object

sets the MethodResponses property (List)



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

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

#operation_nameObject

returns the OperationName property



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

def operation_name
  properties['operation_name']
end

#operation_name=(value) ⇒ Object

sets the OperationName property (String)



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

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

#request_modelsObject

returns the RequestModels property



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

def request_models
  properties['request_models']
end

#request_models=(value) ⇒ Object

sets the RequestModels property (Map)



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

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

#request_parametersObject

returns the RequestParameters property



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

def request_parameters
  properties['request_parameters']
end

#request_parameters=(value) ⇒ Object

sets the RequestParameters property (Map)



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

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

#request_validator_idObject

returns the RequestValidatorId property



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

def request_validator_id
  properties['request_validator_id']
end

#request_validator_id=(value) ⇒ Object

sets the RequestValidatorId property (String)



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

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

#resource_idObject

returns the ResourceId property



120
121
122
# File 'lib/humidifier/magic.rb', line 120

def resource_id
  properties['resource_id']
end

#resource_id=(value) ⇒ Object

sets the ResourceId property (String)



125
126
127
# File 'lib/humidifier/magic.rb', line 125

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

#rest_api_idObject

returns the RestApiId property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def rest_api_id
  properties['rest_api_id']
end

#rest_api_id=(value) ⇒ Object

sets the RestApiId property (String)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

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