aws

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssumeRoleAndRun

type AssumeRoleAndRun struct {
	Region          string
	RoleARN         string
	SessionName     string
	UsernameSession bool
	SerialNumber    string
	DurationSeconds int32
}

func (*AssumeRoleAndRun) AssumeRole

func (a *AssumeRoleAndRun) AssumeRole(ctx context.Context) (*Session, error)

type Session

type Session struct {
	AssumedRoleUserARN string
	AssumedRoleID      string
	AccessKeyID        string
	SecretAccessKey    string
	SessionToken       string
	Expiration         time.Time
}

Jump to

Keyboard shortcuts

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