Class: CfnGuardian::Models::InternalHttpEvent

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

Instance Attribute Summary

Attributes inherited from HttpEvent

#body_regex, #endpoint, #headers, #method, #payload, #status_code, #timeout

Attributes inherited from BaseEvent

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

Instance Method Summary collapse

Constructor Details

#initialize(resource, environment) ⇒ InternalHttpEvent

Returns a new instance of InternalHttpEvent.



109
110
111
112
113
114
115
# File 'lib/cfnguardian/models/event.rb', line 109

def initialize(resource,environment)
  super(resource)
  @group = 'InternalHttp'
  @name = 'InternalHttpEvent'
  @target = "InternalHttpCheckFunction#{environment}"
  @environment = environment
end