dynamodbpolicy

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AwsPolicyStoreTableName = "ResourcePolicies"

Functions

Types

type DynamodbClient

type DynamodbClient interface {
	Scan(ctx context.Context, params *ddb.ScanInput, optFns ...func(*ddb.Options)) (*ddb.ScanOutput, error)
	UpdateItem(ctx context.Context, params *ddb.UpdateItemInput, optFns ...func(*ddb.Options)) (*ddb.UpdateItemOutput, error)
}

func NewDynamodbClient

func NewDynamodbClient(key []byte, opt awscommon.AWSClientOptions) (DynamodbClient, error)

type PolicyStoreSvc

type PolicyStoreSvc interface {
	GetResourceRoles() ([]rar.ResourceActionRoles, error)
	UpdateResourceRole(rar rar.ResourceActionRoles) error
}

func NewPolicyStoreSvc

func NewPolicyStoreSvc(client DynamodbClient) PolicyStoreSvc

Jump to

Keyboard shortcuts

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