Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ActionAll = []string{s3_api.ActionAll} PrincipalAll = []string{s3_api.PrincipalAll} ResourceAll = []string{s3_api.ResourceAll} )
Functions ¶
This section is empty.
Types ¶
type IBAPolicy ¶
type IBAPolicy struct { Version string `json:"Version,omitempty"` Statement []Statement `json:"Statement,omitempty"` }
func (*IBAPolicy) StatementLen ¶
func (*IBAPolicy) VersionString ¶
type RBAPolicy ¶
type RBAPolicy struct { Version string `json:"Version,omitempty"` Id string `json:"Id,omitempty"` Statement []Statement `json:"Statement,omitempty"` }
func (*RBAPolicy) StatementLen ¶
func (*RBAPolicy) VersionString ¶
type Statement ¶
type Statement struct { Sid string `json:"Sid,omitempty"` Effect string `json:"Effect,omitempty"` Principal map[string]any `json:"Principal,omitempty"` NotPrincipal map[string]any `json:"NotPrincipal,omitempty"` Action []string `json:"Action,omitempty"` NotAction []string `json:"NotAction,omitempty"` Resource []string `json:"Resource,omitempty"` NotResource []string `json:"NotResource,omitempty"` }
func (*Statement) IBAPPrincipalValid ¶
Click to show internal directories.
Click to hide internal directories.