iam

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsWildcardAllowed

func IsWildcardAllowed(actions ...string) (bool, string)

Types

type Group added in v0.3.19

type Group struct {
	types.Metadata
	Name     types.StringValue
	Users    []User
	Policies []Policy
}

func (*Group) GetMetadata added in v0.3.24

func (g *Group) GetMetadata() *types.Metadata

func (*Group) GetRawValue added in v0.3.24

func (g *Group) GetRawValue() interface{}

type IAM

type IAM struct {
	types.Metadata
	PasswordPolicy PasswordPolicy
	Policies       []Policy
	Groups         []Group
	Users          []User
	Roles          []Role
}

func (*IAM) GetMetadata added in v0.3.24

func (i *IAM) GetMetadata() *types.Metadata

func (*IAM) GetRawValue added in v0.3.24

func (i *IAM) GetRawValue() interface{}

type PasswordPolicy

type PasswordPolicy struct {
	types.Metadata
	ReusePreventionCount types.IntValue
	RequireLowercase     types.BoolValue
	RequireUppercase     types.BoolValue
	RequireNumbers       types.BoolValue
	RequireSymbols       types.BoolValue
	MaxAgeDays           types.IntValue
	MinimumLength        types.IntValue
}

func (*PasswordPolicy) GetMetadata

func (p *PasswordPolicy) GetMetadata() *types.Metadata

func (*PasswordPolicy) GetRawValue

func (p *PasswordPolicy) GetRawValue() interface{}

type Policy

type Policy struct {
	types.Metadata
	Name     types.StringValue
	Document types.StringValue
}

func (*Policy) GetMetadata added in v0.3.24

func (p *Policy) GetMetadata() *types.Metadata

func (*Policy) GetRawValue added in v0.3.24

func (p *Policy) GetRawValue() interface{}

type Role added in v0.3.19

type Role struct {
	types.Metadata
	Name     types.StringValue
	Policies []Policy
}

func (*Role) GetMetadata added in v0.3.24

func (r *Role) GetMetadata() *types.Metadata

func (*Role) GetRawValue added in v0.3.24

func (r *Role) GetRawValue() interface{}

type User added in v0.3.19

type User struct {
	types.Metadata
	Name     types.StringValue
	Groups   []Group
	Policies []Policy
}

func (*User) GetMetadata added in v0.3.24

func (u *User) GetMetadata() *types.Metadata

func (*User) GetRawValue added in v0.3.24

func (u *User) GetRawValue() interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL