iam

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 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
}

type IAM

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

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
}

type Policy

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

type Role added in v0.3.19

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

type User added in v0.3.19

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

Jump to

Keyboard shortcuts

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