Class: Humidifier::ApiGatewayV2::Route

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

Overview

A dynamically-defined class that represents an AWS::ApiGatewayV2::Route 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_idObject

returns the ApiId property



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

def api_id
  properties['api_id']
end

#api_id=(value) ⇒ Object

sets the ApiId property (String)



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

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

#api_key_requiredObject

returns the ApiKeyRequired property



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

def api_key_required
  properties['api_key_required']
end

#api_key_required=(value) ⇒ Object

sets the ApiKeyRequired property (Boolean)



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

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

#authorization_scopesObject

returns the AuthorizationScopes property



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

def authorization_scopes
  properties['authorization_scopes']
end

#authorization_scopes=(value) ⇒ Object

sets the AuthorizationScopes property (List)



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

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

#authorization_typeObject

returns the AuthorizationType property



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

def authorization_type
  properties['authorization_type']
end

#authorization_type=(value) ⇒ Object

sets the AuthorizationType property (String)



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

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

#authorizer_idObject

returns the AuthorizerId property



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

def authorizer_id
  properties['authorizer_id']
end

#authorizer_id=(value) ⇒ Object

sets the AuthorizerId property (String)



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

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

#model_selection_expressionObject

returns the ModelSelectionExpression property



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

def model_selection_expression
  properties['model_selection_expression']
end

#model_selection_expression=(value) ⇒ Object

sets the ModelSelectionExpression property (String)



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

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

#operation_nameObject

returns the OperationName property



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

def operation_name
  properties['operation_name']
end

#operation_name=(value) ⇒ Object

sets the OperationName property (String)



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

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

#request_modelsObject

returns the RequestModels property



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

def request_models
  properties['request_models']
end

#request_models=(value) ⇒ Object

sets the RequestModels property (Json)



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

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

#request_parametersObject

returns the RequestParameters property



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

def request_parameters
  properties['request_parameters']
end

#request_parameters=(value) ⇒ Object

sets the RequestParameters property (Json)



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

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

#route_keyObject

returns the RouteKey property



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

def route_key
  properties['route_key']
end

#route_key=(value) ⇒ Object

sets the RouteKey property (String)



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

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

#route_response_selection_expressionObject

returns the RouteResponseSelectionExpression property



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

def route_response_selection_expression
  properties['route_response_selection_expression']
end

#route_response_selection_expression=(value) ⇒ Object

sets the RouteResponseSelectionExpression property (String)



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

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

#targetObject

returns the Target property



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

def target
  properties['target']
end

#target=(value) ⇒ Object

sets the Target property (String)



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

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