Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func (*Container) GetPolicy ¶
func (p *Container) GetPolicy(roleName string) (*events.APIGatewayCustomAuthorizerPolicy, error)
GetPolicy returns the policy that was cached from Init
func (*Container) GetRolePolicies ¶
func (p *Container) GetRolePolicies(roleName string) (*events.APIGatewayCustomAuthorizerPolicy, error)
GetRolePolicies takes a roleName and looks up all policies applied to it, converting it to an APIGatewayCustomAuthorizerPolicy Note does this take into account ManagedRoles.
type PolicyArrayDocument ¶
type PolicyArrayDocument struct { Version string `json:"Version"` Statement []PolicyStatement `json:"Statement,omitempty"` }
type PolicyArrayStatement ¶
type PolicyDocument ¶
type PolicyDocument struct { Version string `json:"Version"` Statement []PolicyArrayStatement `json:"Statement,omitempty"` }
type PolicyStatement ¶
Click to show internal directories.
Click to hide internal directories.