Class: Humidifier::IoT::Certificate

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

Overview

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

#ca_certificate_pemObject

returns the CACertificatePem property



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

def ca_certificate_pem
  properties['ca_certificate_pem']
end

#ca_certificate_pem=(value) ⇒ Object

sets the CACertificatePem property (String)



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

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

#certificate_modeObject

returns the CertificateMode property



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

def certificate_mode
  properties['certificate_mode']
end

#certificate_mode=(value) ⇒ Object

sets the CertificateMode property (String)



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

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

#certificate_pemObject

returns the CertificatePem property



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

def certificate_pem
  properties['certificate_pem']
end

#certificate_pem=(value) ⇒ Object

sets the CertificatePem property (String)



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

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

#certificate_signing_requestObject

returns the CertificateSigningRequest property



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

def certificate_signing_request
  properties['certificate_signing_request']
end

#certificate_signing_request=(value) ⇒ Object

sets the CertificateSigningRequest property (String)



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

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

#statusObject

returns the Status property



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

def status
  properties['status']
end

#status=(value) ⇒ Object

sets the Status property (String)



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

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