tolunaiam

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

This package should include functions for verifying IAM AWS service resources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyAttachedPoliciesForRole

func VerifyAttachedPoliciesForRole(t *testing.T, region string, role_name string, policy_list []string) bool

Checks a role has the correct attached policy and returns bool [true|false]

func VerifyIAMRoleExists added in v0.4.5

func VerifyIAMRoleExists(t *testing.T, region string, role_name string) bool

Checks a role was created and returns bool [true|false]

func VerifyRolePolicies

func VerifyRolePolicies(t *testing.T, region string, expectedPolicy string, role_name string, policy_name string) bool

Checks a role has the correct policy document and returns bool [true|false]

Types

This section is empty.

Jump to

Keyboard shortcuts

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