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 }
func NewPolicyService ¶
func NewPolicyService(OCMClient *ocm.Client, AWSClient aws.Client) PolicyService
Click to show internal directories.
Click to hide internal directories.