Documentation ¶
Index ¶
- func GetCloudWatchClient(awsSession *session.Session) (bool, *cloudwatch.CloudWatch)
- func GetCloudWatchClientWithRoleArn(awsSession *session.Session, roleArn string) (bool, *cloudwatch.CloudWatch)
- func GetEC2Client(awsSession *session.Session) (bool, *ec2.EC2)
- func GetElbClient(awsSession *session.Session) (bool, *elb.ELB)
- func GetElbV2Client(awsSession *session.Session) (bool, *elbv2.ELBV2)
- func GetRDSClient(awsSession *session.Session) (bool, *rds.RDS)
- func GetRDSClientWithRoleArn(awsSession *session.Session, roleArn string) (bool, *rds.RDS)
- func GetS3Client(awsSession *session.Session) (bool, *s3.S3)
- type AssumeRoleCredentialsProvider
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 GetRDSClientWithRoleArn ¶
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 ¶
func (c AssumeRoleCredentialsProvider) Retrieve() (credentials.Value, error)
Click to show internal directories.
Click to hide internal directories.