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.



140
141
142
143
144
145
146
# File 'lib/cfnguardian/models/event.rb', line 140

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