Class: CfnGuardian::Models::InternalPortCheck

Inherits:
PortCheck 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) ⇒ InternalPortCheck

Returns a new instance of InternalPortCheck.



86
87
88
89
90
91
92
93
# File 'lib/cfnguardian/models/check.rb', line 86

def initialize(resource)
  super(resource)
  @group = 'InternalPort'
  @name = 'InternalPortCheck'
  @subnets = resource['Subnets']
  @vpc = resource['VpcId']
  @environment = resource['Environment']
end