Class: CfnGuardian::Models::InternalPortEvent

Inherits:
PortEvent show all
Defined in:
lib/cfnguardian/models/event.rb

Instance Attribute Summary

Attributes inherited from BaseEvent

#cron, #enabled, #environment, #group, #hash, #name, #payload, #resource, #ssm_parameters, #target, #type

Instance Method Summary collapse

Methods inherited from PortEvent

#payload

Constructor Details

#initialize(resource, environment) ⇒ InternalPortEvent

Returns a new instance of InternalPortEvent.



154
155
156
157
158
159
160
# File 'lib/cfnguardian/models/event.rb', line 154

def initialize(resource,environment)
  super(resource)
  @group = 'InternalPort'
  @name = 'InternalPortEvent'
  @target = "InternalPortCheckFunction#{environment}"
  @environment = environment
end