Class: CfnGuardian::Models::InternalPortEvent
- 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
-
#initialize(resource, environment) ⇒ InternalPortEvent
constructor
A new instance of InternalPortEvent.
Methods inherited from PortEvent
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 |