Class: CfnGuardian::Models::InternalPortCheck
- 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) ⇒ InternalPortCheck
constructor
A new instance of InternalPortCheck.
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 |