Documentation
¶
Index ¶
- Constants
- type AssumeRolePolicyDocument
- type IAM
- func (service *IAM) CreateAccessKey(name string) (*iam.AccessKey, error)
- func (service *IAM) CreateRole(name, policy string) (*iam.Role, error)
- func (service *IAM) CreateUser(name string) (*iam.User, error)
- func (service *IAM) DeleteAccessKey(keyID string) error
- func (service *IAM) DeleteRole(name string) error
- func (service *IAM) DeleteUser(name string) error
- func (service *IAM) GetAccessKey(keyID string) (string, error)
- func (service *IAM) GetRole(name string) (*iam.Role, error)
- func (service *IAM) ListUsers() (string, error)
- type IClient
- type Principal
- type Statement
Constants ¶
View Source
const LambdaPolicy = "lambda"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAM ¶
type IAM struct {
// contains filtered or unexported fields
}
func (*IAM) CreateAccessKey ¶
func (*IAM) DeleteAccessKey ¶
func (*IAM) DeleteRole ¶
func (*IAM) DeleteUser ¶
type IClient ¶
type IClient interface { CreateAccessKey(name string) (*iam.AccessKey, error) CreateRole(name, policy string) (*iam.Role, error) CreateUser(name string) (*iam.User, error) DeleteAccessKey(keyID string) error DeleteRole(name string) error DeleteUser(name string) error GetAccessKey(keyID string) (string, error) GetRole(name string) (*iam.Role, error) ListUsers() (string, error) }
Click to show internal directories.
Click to hide internal directories.