Class: Humidifier::Synthetics::Canary

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

Overview

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

#artifact_configObject

returns the ArtifactConfig property



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

def artifact_config
  properties['artifact_config']
end

#artifact_config=(value) ⇒ Object

sets the ArtifactConfig property (Structure)



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

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

#artifact_s3_locationObject

returns the ArtifactS3Location property



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

def artifact_s3_location
  properties['artifact_s3_location']
end

#artifact_s3_location=(value) ⇒ Object

sets the ArtifactS3Location property (String)



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

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

#codeObject

returns the Code property



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

def code
  properties['code']
end

#code=(value) ⇒ Object

sets the Code property (Structure)



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

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

#delete_lambda_resources_on_canary_deletionObject

returns the DeleteLambdaResourcesOnCanaryDeletion property



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

def delete_lambda_resources_on_canary_deletion
  properties['delete_lambda_resources_on_canary_deletion']
end

#delete_lambda_resources_on_canary_deletion=(value) ⇒ Object

sets the DeleteLambdaResourcesOnCanaryDeletion property (Boolean)



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

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

#execution_role_arnObject

returns the ExecutionRoleArn property



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

def execution_role_arn
  properties['execution_role_arn']
end

#execution_role_arn=(value) ⇒ Object

sets the ExecutionRoleArn property (String)



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

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

#failure_retention_periodObject

returns the FailureRetentionPeriod property



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

def failure_retention_period
  properties['failure_retention_period']
end

#failure_retention_period=(value) ⇒ Object

sets the FailureRetentionPeriod property (Integer)



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

def failure_retention_period=(value)
  update_property('failure_retention_period', 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

#run_configObject

returns the RunConfig property



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

def run_config
  properties['run_config']
end

#run_config=(value) ⇒ Object

sets the RunConfig property (Structure)



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

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

#runtime_versionObject

returns the RuntimeVersion property



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

def runtime_version
  properties['runtime_version']
end

#runtime_version=(value) ⇒ Object

sets the RuntimeVersion property (String)



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

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

#scheduleObject

returns the Schedule property



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

def schedule
  properties['schedule']
end

#schedule=(value) ⇒ Object

sets the Schedule property (Structure)



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

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

#start_canary_after_creationObject

returns the StartCanaryAfterCreation property



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

def start_canary_after_creation
  properties['start_canary_after_creation']
end

#start_canary_after_creation=(value) ⇒ Object

sets the StartCanaryAfterCreation property (Boolean)



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

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

#success_retention_periodObject

returns the SuccessRetentionPeriod property



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

def success_retention_period
  properties['success_retention_period']
end

#success_retention_period=(value) ⇒ Object

sets the SuccessRetentionPeriod property (Integer)



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

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

#tagsObject

returns the Tags property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

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

#visual_referenceObject

returns the VisualReference property



140
141
142
# File 'lib/humidifier/magic.rb', line 140

def visual_reference
  properties['visual_reference']
end

#visual_reference=(value) ⇒ Object

sets the VisualReference property (Structure)



145
146
147
# File 'lib/humidifier/magic.rb', line 145

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

#vpc_configObject

returns the VPCConfig property



150
151
152
# File 'lib/humidifier/magic.rb', line 150

def vpc_config
  properties['vpc_config']
end

#vpc_config=(value) ⇒ Object

sets the VPCConfig property (Structure)



155
156
157
# File 'lib/humidifier/magic.rb', line 155

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