Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRegion = "us-east-1"
Functions ¶
func NewCloudtrailCmd ¶
NewCloudtrailCmd represents the newCmdWriteEvents command
Types ¶
type LookupEventsOptions ¶
type LookupEventsOptions struct {
// contains filtered or unexported fields
}
LookupEventsOptions struct for holding options for event lookup
type RawEventDetails ¶
type RawEventDetails struct {
EventVersion string `json:"eventVersion"`
UserIdentity struct {
AccountId string `json:"accountId"`
SessionContext struct {
SessionIssuer struct {
Type string `json:"type"`
UserName string `json:"userName"`
Arn string `json:"arn"`
} `json:"sessionIssuer"`
} `json:"sessionContext"`
} `json:"userIdentity"`
EventRegion string `json:"awsRegion"`
EventId string `json:"eventID"`
}
RawEventDetails struct represents the structure of an AWS raw event
Click to show internal directories.
Click to hide internal directories.