awsclient

package
v0.0.0-...-db078b2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCloudWatchClient

func GetCloudWatchClient(awsSession *session.Session) (bool, *cloudwatch.CloudWatch)

func GetCloudWatchClientWithRoleArn

func GetCloudWatchClientWithRoleArn(awsSession *session.Session, roleArn string) (bool, *cloudwatch.CloudWatch)

func GetEC2Client

func GetEC2Client(awsSession *session.Session) (bool, *ec2.EC2)

func GetElbClient

func GetElbClient(awsSession *session.Session) (bool, *elb.ELB)

func GetElbV2Client

func GetElbV2Client(awsSession *session.Session) (bool, *elbv2.ELBV2)

func GetRDSClient

func GetRDSClient(awsSession *session.Session) (bool, *rds.RDS)

func GetRDSClientWithRoleArn

func GetRDSClientWithRoleArn(awsSession *session.Session, roleArn string) (bool, *rds.RDS)

func GetS3Client

func GetS3Client(awsSession *session.Session) (bool, *s3.S3)

Types

type AssumeRoleCredentialsProvider

type AssumeRoleCredentialsProvider struct {
	AssumeRoleCredentials *sts.Credentials
}

func NewAssumeRoleCredentialsProvider

func NewAssumeRoleCredentialsProvider(credentials *sts.Credentials) *AssumeRoleCredentialsProvider

func (AssumeRoleCredentialsProvider) IsExpired

func (c AssumeRoleCredentialsProvider) IsExpired() bool

func (AssumeRoleCredentialsProvider) Retrieve

Jump to

Keyboard shortcuts

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