Class: Humidifier::Kendra::Index

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

Overview

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

#capacity_unitsObject

returns the CapacityUnits property

[View source]

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

def capacity_units
  properties['capacity_units']
end

#capacity_units=(value) ⇒ Object

sets the CapacityUnits property (Structure)

[View source]

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

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

#descriptionObject

returns the Description property

[View source]

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

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)

[View source]

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

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

#document_metadata_configurationsObject

returns the DocumentMetadataConfigurations property

[View source]

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

def 
  properties['document_metadata_configurations']
end

#document_metadata_configurations=(value) ⇒ Object

sets the DocumentMetadataConfigurations property (List)

[View source]

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

def (value)
  update_property('document_metadata_configurations', value)
end

#editionObject

returns the Edition property

[View source]

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

def edition
  properties['edition']
end

#edition=(value) ⇒ Object

sets the Edition property (String)

[View source]

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

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

#nameObject

returns the Name property

[View source]

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

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)

[View source]

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

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

#role_arnObject

returns the RoleArn property

[View source]

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

def role_arn
  properties['role_arn']
end

#role_arn=(value) ⇒ Object

sets the RoleArn property (String)

[View source]

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

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

#server_side_encryption_configurationObject

returns the ServerSideEncryptionConfiguration property

[View source]

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

def server_side_encryption_configuration
  properties['server_side_encryption_configuration']
end

#server_side_encryption_configuration=(value) ⇒ Object

sets the ServerSideEncryptionConfiguration property (Structure)

[View source]

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

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

#tagsObject

returns the Tags property

[View source]

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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)

[View source]

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

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

#user_context_policyObject

returns the UserContextPolicy property

[View source]

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

def user_context_policy
  properties['user_context_policy']
end

#user_context_policy=(value) ⇒ Object

sets the UserContextPolicy property (String)

[View source]

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

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

#user_token_configurationsObject

returns the UserTokenConfigurations property

[View source]

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

def user_token_configurations
  properties['user_token_configurations']
end

#user_token_configurations=(value) ⇒ Object

sets the UserTokenConfigurations property (List)

[View source]

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

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