Class: Humidifier::Amplify::Branch
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Amplify::Branch resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#app_id ⇒ Object
returns the AppId property.
-
#app_id=(value) ⇒ Object
sets the AppId property (String).
-
#basic_auth_config ⇒ Object
returns the BasicAuthConfig property.
-
#basic_auth_config=(value) ⇒ Object
sets the BasicAuthConfig property (Structure).
-
#branch_name ⇒ Object
returns the BranchName property.
-
#branch_name=(value) ⇒ Object
sets the BranchName property (String).
-
#build_spec ⇒ Object
returns the BuildSpec property.
-
#build_spec=(value) ⇒ Object
sets the BuildSpec property (String).
-
#description ⇒ Object
returns the Description property.
-
#description=(value) ⇒ Object
sets the Description property (String).
-
#enable_auto_build ⇒ Object
returns the EnableAutoBuild property.
-
#enable_auto_build=(value) ⇒ Object
sets the EnableAutoBuild property (Boolean).
-
#enable_performance_mode ⇒ Object
returns the EnablePerformanceMode property.
-
#enable_performance_mode=(value) ⇒ Object
sets the EnablePerformanceMode property (Boolean).
-
#enable_pull_request_preview ⇒ Object
returns the EnablePullRequestPreview property.
-
#enable_pull_request_preview=(value) ⇒ Object
sets the EnablePullRequestPreview property (Boolean).
-
#environment_variables ⇒ Object
returns the EnvironmentVariables property.
-
#environment_variables=(value) ⇒ Object
sets the EnvironmentVariables property (List).
-
#pull_request_environment_name ⇒ Object
returns the PullRequestEnvironmentName property.
-
#pull_request_environment_name=(value) ⇒ Object
sets the PullRequestEnvironmentName property (String).
-
#stage ⇒ Object
returns the Stage property.
-
#stage=(value) ⇒ Object
sets the Stage property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
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
#app_id ⇒ Object
returns the AppId property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def app_id properties['app_id'] end |
#app_id=(value) ⇒ Object
sets the AppId property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def app_id=(value) update_property('app_id', value) end |
#basic_auth_config ⇒ Object
returns the BasicAuthConfig property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def basic_auth_config properties['basic_auth_config'] end |
#basic_auth_config=(value) ⇒ Object
sets the BasicAuthConfig property (Structure)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def basic_auth_config=(value) update_property('basic_auth_config', value) end |
#branch_name ⇒ Object
returns the BranchName property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def branch_name properties['branch_name'] end |
#branch_name=(value) ⇒ Object
sets the BranchName property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def branch_name=(value) update_property('branch_name', value) end |
#build_spec ⇒ Object
returns the BuildSpec property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def build_spec properties['build_spec'] end |
#build_spec=(value) ⇒ Object
sets the BuildSpec property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def build_spec=(value) update_property('build_spec', value) end |
#description ⇒ Object
returns the Description property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def description properties['description'] end |
#description=(value) ⇒ Object
sets the Description property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def description=(value) update_property('description', value) end |
#enable_auto_build ⇒ Object
returns the EnableAutoBuild property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def enable_auto_build properties['enable_auto_build'] end |
#enable_auto_build=(value) ⇒ Object
sets the EnableAutoBuild property (Boolean)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def enable_auto_build=(value) update_property('enable_auto_build', value) end |
#enable_performance_mode ⇒ Object
returns the EnablePerformanceMode property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def enable_performance_mode properties['enable_performance_mode'] end |
#enable_performance_mode=(value) ⇒ Object
sets the EnablePerformanceMode property (Boolean)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def enable_performance_mode=(value) update_property('enable_performance_mode', value) end |
#enable_pull_request_preview ⇒ Object
returns the EnablePullRequestPreview property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def enable_pull_request_preview properties['enable_pull_request_preview'] end |
#enable_pull_request_preview=(value) ⇒ Object
sets the EnablePullRequestPreview property (Boolean)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def enable_pull_request_preview=(value) update_property('enable_pull_request_preview', value) end |
#environment_variables ⇒ Object
returns the EnvironmentVariables property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def environment_variables properties['environment_variables'] end |
#environment_variables=(value) ⇒ Object
sets the EnvironmentVariables property (List)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def environment_variables=(value) update_property('environment_variables', value) end |
#pull_request_environment_name ⇒ Object
returns the PullRequestEnvironmentName property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def pull_request_environment_name properties['pull_request_environment_name'] end |
#pull_request_environment_name=(value) ⇒ Object
sets the PullRequestEnvironmentName property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def pull_request_environment_name=(value) update_property('pull_request_environment_name', value) end |
#stage ⇒ Object
returns the Stage property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def stage properties['stage'] end |
#stage=(value) ⇒ Object
sets the Stage property (String)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def stage=(value) update_property('stage', value) end |
#tags ⇒ Object
returns the Tags property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def (value) update_property('tags', value) end |