policy

package
v1.2.40 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 7 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(roleName string, policyArns []string, accountID, orgID string) (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