Class: Humidifier::Inspector::AssessmentTemplate

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

Overview

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

#assessment_target_arnObject

returns the AssessmentTargetArn property



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

def assessment_target_arn
  properties['assessment_target_arn']
end

#assessment_target_arn=(value) ⇒ Object

sets the AssessmentTargetArn property (String)



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

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

#assessment_template_nameObject

returns the AssessmentTemplateName property



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

def assessment_template_name
  properties['assessment_template_name']
end

#assessment_template_name=(value) ⇒ Object

sets the AssessmentTemplateName property (String)



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

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

#duration_in_secondsObject

returns the DurationInSeconds property



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

def duration_in_seconds
  properties['duration_in_seconds']
end

#duration_in_seconds=(value) ⇒ Object

sets the DurationInSeconds property (Integer)



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

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

#rules_package_arnsObject

returns the RulesPackageArns property



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

def rules_package_arns
  properties['rules_package_arns']
end

#rules_package_arns=(value) ⇒ Object

sets the RulesPackageArns property (List)



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

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

#user_attributes_for_findingsObject

returns the UserAttributesForFindings property



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

def user_attributes_for_findings
  properties['user_attributes_for_findings']
end

#user_attributes_for_findings=(value) ⇒ Object

sets the UserAttributesForFindings property (List)



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

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