Versions in this module Expand all Collapse all v0 v0.1.1 Apr 19, 2024 v0.1.0 Apr 19, 2024 Changes in this version + func Split(policy *awspolicy.Policy, limit int) []*awspolicy.Policy + type Policy struct + ID string + Statements []Statement + Version string + func GetAWSPolicy(ctx context.Context, svc *iam.IAM, policyArn string) (*Policy, error) + func Merge(name string, version string, policies []*Policy) *Policy + func (policyJSON *Policy) UnmarshalJSON(policy []byte) error + type Statement struct + Action []string + Condition map[string]any + Effect string + NotAction []string + NotPrincipal map[string][]string + NotResource []string + Principal map[string][]string + Resource []string + StatementID string + func (statementJSON *Statement) Parse(statement map[string]interface{})