Documentation
¶
Index ¶
Constants ¶
View Source
const (
PolicyAttributeName = "Policy"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SqsPolicy ¶
type SqsPolicy struct {
Version string `json:"Version"`
Statements []SqsPolicyStatement `json:"Statement"`
}
Struct representing the policy of an SQS queue
type SqsPolicyStatement ¶
type SqsPolicyStatement struct {
SID string `json:"Sid"`
Effect string `json:"Effect"`
Principal map[string]string `json:"Principal"`
Action string `json:"Action"`
Resource string `json:"Resource"`
Condition interface{} `json:"Condition,omitempty"`
}
Struct representing the Policy Statement of an SQS queue
Click to show internal directories.
Click to hide internal directories.