Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthMethodStatic = "static" AuthMethodIRSA = "irsa" )
Constants for authentication methods.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSSQSListener ¶
type AWSSQSListener struct {
// contains filtered or unexported fields
}
AWSSQSListener handles AWS SQS notifications.
func (*AWSSQSListener) Start ¶
func (h *AWSSQSListener) Start() error
Start begins polling the SQS queue for messages.
func (*AWSSQSListener) Stop ¶
func (h *AWSSQSListener) Stop() error
Stop stops polling the SQS queue.
type RequestParameters ¶
type RequestParameters struct {
SecretId string `json:"secretId"`
}
type SecretMessage ¶
type SecretMessage struct {
Detail SecretMessageDetail `json:"detail"`
}
type SecretMessageDetail ¶
type SecretMessageDetail struct {
EventTime string `json:"eventTime"`
RequestParameters RequestParameters `json:"requestParameters"`
}
Click to show internal directories.
Click to hide internal directories.