Class: CfnGuardian::Models::NrpeCheck

Inherits:
BaseCheck
  • Object
show all
Defined in:
lib/cfnguardian/models/check.rb

Instance Attribute Summary

Attributes inherited from BaseCheck

#branch, #environment, #group, #handler, #memory, #name, #package, #runtime, #subnets, #timeout, #type, #version, #vpc

Instance Method Summary collapse

Constructor Details

#initialize(resource) ⇒ NrpeCheck

Returns a new instance of NrpeCheck.



97
98
99
100
101
102
103
104
105
106
107
108
# File 'lib/cfnguardian/models/check.rb', line 97

def initialize(resource)
  super(resource)
  @group = 'Nrpe'
  @name = 'NrpeCheck'
  @package = 'aws-lambda-nrpe-check'
  @handler = 'main'
  @version = 'aa51a0ad497a6c012a3639da0eb3446e4c0f9540'
  @runtime = 'go1.x'
  @subnets = resource['Subnets']
  @vpc = resource['VpcId']
  @environment = resource['Environment']
end