Documentation ¶
Index ¶
- Constants
- type IAMRuleService
- func (s *IAMRuleService) ReconcileIAMGroupRule(rule iamRule) (*types.ValidationRuleResult, error)
- func (s *IAMRuleService) ReconcileIAMPolicyRule(rule iamRule) (*types.ValidationRuleResult, error)
- func (s *IAMRuleService) ReconcileIAMRoleRule(rule iamRule) (*types.ValidationRuleResult, error)
- func (s *IAMRuleService) ReconcileIAMUserRule(rule iamRule) (*types.ValidationRuleResult, error)
Constants ¶
View Source
const AccountIDFromARNRegex = "arn:[a-z]*:[a-z]*::([?<AccountID>\\d{12}$]*):[0-9A-Za-z]*\\/[0-9A-Za-z]*"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAMRuleService ¶
type IAMRuleService struct {
// contains filtered or unexported fields
}
func NewIAMRuleService ¶
func NewIAMRuleService(log logr.Logger, iamSvc iamApi) *IAMRuleService
func (*IAMRuleService) ReconcileIAMGroupRule ¶
func (s *IAMRuleService) ReconcileIAMGroupRule(rule iamRule) (*types.ValidationRuleResult, error)
ReconcileIAMGroupRule reconciles an IAM group validation rule from an AWSValidator config
func (*IAMRuleService) ReconcileIAMPolicyRule ¶
func (s *IAMRuleService) ReconcileIAMPolicyRule(rule iamRule) (*types.ValidationRuleResult, error)
ReconcileIAMPolicyRule reconciles an IAM policy validation rule from an AWSValidator config
func (*IAMRuleService) ReconcileIAMRoleRule ¶
func (s *IAMRuleService) ReconcileIAMRoleRule(rule iamRule) (*types.ValidationRuleResult, error)
ReconcileIAMRoleRule reconciles an IAM role validation rule from an AWSValidator config
func (*IAMRuleService) ReconcileIAMUserRule ¶
func (s *IAMRuleService) ReconcileIAMUserRule(rule iamRule) (*types.ValidationRuleResult, error)
ReconcileIAMUserRule reconciles an IAM user validation rule from an AWSValidator config
Click to show internal directories.
Click to hide internal directories.