Class: Humidifier::SageMaker::Model

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

Overview

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

#containersObject

returns the Containers property



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

def containers
  properties['containers']
end

#containers=(value) ⇒ Object

sets the Containers property (List)



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

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

#enable_network_isolationObject

returns the EnableNetworkIsolation property



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

def enable_network_isolation
  properties['enable_network_isolation']
end

#enable_network_isolation=(value) ⇒ Object

sets the EnableNetworkIsolation property (Boolean)



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

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

#execution_role_arnObject

returns the ExecutionRoleArn property



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

def execution_role_arn
  properties['execution_role_arn']
end

#execution_role_arn=(value) ⇒ Object

sets the ExecutionRoleArn property (String)



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

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

#inference_execution_configObject

returns the InferenceExecutionConfig property



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

def inference_execution_config
  properties['inference_execution_config']
end

#inference_execution_config=(value) ⇒ Object

sets the InferenceExecutionConfig property (Structure)



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

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

#model_nameObject

returns the ModelName property



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

def model_name
  properties['model_name']
end

#model_name=(value) ⇒ Object

sets the ModelName property (String)



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

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

#primary_containerObject

returns the PrimaryContainer property



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

def primary_container
  properties['primary_container']
end

#primary_container=(value) ⇒ Object

sets the PrimaryContainer property (Structure)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#vpc_configObject

returns the VpcConfig property



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

def vpc_config
  properties['vpc_config']
end

#vpc_config=(value) ⇒ Object

sets the VpcConfig property (Structure)



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

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