aws

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEC2Client added in v1.2.5

func GetEC2Client(stage string) (*ec2.EC2, error)

func GetEC2ClientForAccount added in v1.3.0

func GetEC2ClientForAccount(account string) (*ec2.EC2, error)

func GetIAMClient

func GetIAMClient(stage string) (*iam.IAM, error)

func GetS3Client

func GetS3Client(stage string) (*s3.S3, error)

func GetSecretsmanagerClient added in v1.3.13

func GetSecretsmanagerClient(stage string) (*secretsmanager.SecretsManager, error)

func RegisterRoutes

func RegisterRoutes(r *gin.RouterGroup)

Types

type PolicyDocument

type PolicyDocument struct {
	Version   string
	Statement []StatementEntry
}

PolicyDocument IAM Policy Document

type StatementEntry

type StatementEntry struct {
	Effect   string
	Action   []string
	Resource []string
}

StatementEntry IAM Statement Entry

Jump to

Keyboard shortcuts

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