Class: CfnGuardian::Models::SqlCheck

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) ⇒ SqlCheck

Returns a new instance of SqlCheck.



147
148
149
150
151
152
153
154
155
156
157
158
# File 'lib/cfnguardian/models/check.rb', line 147

def initialize(resource)
  super(resource)
  @group = 'Sql'
  @name = 'SqlCheck'
  @package = 'aws-lambda-sql-check'
  @handler = 'main'
  @version = '83bd6399c0376c98df90dd5f29e49d629c556cee'
  @runtime = 'go1.x'
  @subnets = resource['Subnets']
  @vpc = resource['VpcId']
  @environment = resource['Environment']
end