policy

package
v1.2.49 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// quota code for managed policies per role
	QuotaCode = "L-0DA4ABF3"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyService

type PolicyService interface {
	ValidateAttachOptions(roleName string, policyArns []string) error
	AutoAttachArbitraryPolicy(reporter *reporter.Object, roleName string,
		policyArns []string, accountID, orgID string) error
	ManualAttachArbitraryPolicy(roleName string, policyArns []string, accountID, orgID string) string
	ValidateDetachOptions(roleName string, policyArns []string) error
	AutoDetachArbitraryPolicy(roleName string, policyArns []string, accountID, orgID string) (string, error)
	ManualDetachArbitraryPolicy(roleName string, policyArns []string, accountID, orgID string) (string, string, error)
}

func NewPolicyService

func NewPolicyService(OCMClient *ocm.Client, AWSClient aws.Client) PolicyService

Jump to

Keyboard shortcuts

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