Documentation ¶
Index ¶
Constants ¶
View Source
const Ec2StateChangeNotification = "EC2 Instance State-change Notification"
Variables ¶
This section is empty.
Functions ¶
func GenerateQueueName ¶
Types ¶
type Service ¶
type Service struct { EventBridgeClient eventbridgeiface.EventBridgeAPI SQSClient sqsiface.SQSAPI // contains filtered or unexported fields }
func NewService ¶
NewService returns a new service given the ec2 api client.
func (Service) AddInstanceToEventPattern ¶
func (Service) DeleteEC2Events ¶
func (Service) ReconcileEC2Events ¶
func (Service) RemoveInstanceFromEventPattern ¶
RemoveInstanceFromEventPattern attempts a best effort update to the event rule to remove the instance. Any errors encountered won't be blocking.
Directories ¶
Path | Synopsis |
---|---|
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
Click to show internal directories.
Click to hide internal directories.