Class: CfnGuardian::Models::InternalSFTPEvent

Inherits:
SFTPEvent 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 SFTPEvent

#payload, #ssm_parameters

Constructor Details

#initialize(resource, environment) ⇒ InternalSFTPEvent

Returns a new instance of InternalSFTPEvent.



319
320
321
322
323
324
325
# File 'lib/cfnguardian/models/event.rb', line 319

def initialize(resource,environment)
  super(resource)
  @group = 'InternalSFTP'
  @name = 'InternalSFTPEvent'
  @target = "InternalSFTPCheckFunction#{environment}"
  @environment = environment
end