Class: CfnGuardian::Models::NrpeCheck
- 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
-
#initialize(resource) ⇒ NrpeCheck
constructor
A new instance of NrpeCheck.
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 |