aws

package
v0.0.0-...-9cdaeea Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

Types

type IamService

type IamService interface {
	IamRoleService
	IamPolicyService
}

IamService interfaces with an upstream AWS account to create iam resources

type PolicyDocument

type PolicyDocument struct {
	Version   string
	Statement []StatementEntry
}

PolicyDocument is our definition of our policies to be uploaded to AWS Identity and Access Management (IAM).

type StatementEntry

type StatementEntry struct {
	Effect    string                 `json:",omitempty"`
	Action    interface{}            `json:",omitempty"`
	Resource  interface{}            `json:",omitempty"`
	Principal map[string]interface{} `json:",omitempty"`
	Condition map[string]interface{} `json:",omitempty"`
}

StatementEntry dictates what this policy allows or doesn't allow.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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