aws

package module
v0.0.0-...-3145515 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

README

aws-console-plugin

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend(_ *logical.BackendConfig) *backend

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Types

type PolicyDocument

type PolicyDocument struct {
	Version    string           `json:"Version"`
	Statements StatementEntries `json:"Statement"`
}

PolicyDocument represents an IAM policy document

type StatementEntries

type StatementEntries []interface{}

StatementEntries is a slice of statements that make up a PolicyDocument

func (*StatementEntries) UnmarshalJSON

func (se *StatementEntries) UnmarshalJSON(b []byte) error

UnmarshalJSON is defined here for StatementEntries because the Statement portion of an IAM Policy can either be a list or a single element, so if it's a single element this wraps it in a []interface{} so that it's easy to combine with other policy statements: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_statement.html

type UsernameMetadata

type UsernameMetadata struct {
	Type        string
	DisplayName string
	PolicyName  string
}

Directories

Path Synopsis
cmd
aws

Jump to

Keyboard shortcuts

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