Documentation ¶
Overview ¶
Package iam implements various IAM components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyDocument ¶
type PolicyDocument struct { Version string Statement []StatementEntry }
PolicyDocument is the IAM policy document.
type PrincipalEntry ¶
type PrincipalEntry struct {
Service []string `json:"Service,omitempty"`
}
PrincipalEntry represents the policy document Principal.
type StatementEntry ¶
type StatementEntry struct { Effect string `json:"Effect,omitempty"` Action []string `json:"Action,omitempty"` Resource string `json:"Resource,omitempty"` Principal *PrincipalEntry `json:"Principal,omitempty"` }
StatementEntry is the entry in IAM policy document "Statement" field.
Click to show internal directories.
Click to hide internal directories.