Class: Humidifier::AppSync::DataSource

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

Overview

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

#descriptionObject

returns the Description property



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

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



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

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

#dynamo_db_configObject

returns the DynamoDBConfig property



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

def dynamo_db_config
  properties['dynamo_db_config']
end

#dynamo_db_config=(value) ⇒ Object

sets the DynamoDBConfig property (Structure)



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

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

#elasticsearch_configObject

returns the ElasticsearchConfig property



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

def elasticsearch_config
  properties['elasticsearch_config']
end

#elasticsearch_config=(value) ⇒ Object

sets the ElasticsearchConfig property (Structure)



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

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

#http_configObject

returns the HttpConfig property



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

def http_config
  properties['http_config']
end

#http_config=(value) ⇒ Object

sets the HttpConfig property (Structure)



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

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

#lambda_configObject

returns the LambdaConfig property



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

def lambda_config
  properties['lambda_config']
end

#lambda_config=(value) ⇒ Object

sets the LambdaConfig property (Structure)



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

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

#nameObject

returns the Name property



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

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



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

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

#open_search_service_configObject

returns the OpenSearchServiceConfig property



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

def open_search_service_config
  properties['open_search_service_config']
end

#open_search_service_config=(value) ⇒ Object

sets the OpenSearchServiceConfig property (Structure)



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

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

#relational_database_configObject

returns the RelationalDatabaseConfig property



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

def relational_database_config
  properties['relational_database_config']
end

#relational_database_config=(value) ⇒ Object

sets the RelationalDatabaseConfig property (Structure)



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

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

#service_role_arnObject

returns the ServiceRoleArn property



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

def service_role_arn
  properties['service_role_arn']
end

#service_role_arn=(value) ⇒ Object

sets the ServiceRoleArn property (String)



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

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

#typeObject

returns the Type property



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

def type
  properties['type']
end

#type=(value) ⇒ Object

sets the Type property (String)



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

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