Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { Session *session.Session RoleName string ExternalID string // contains filtered or unexported fields }
Session is a wrapper around the aws session service
type SessionOption ¶
type SessionOption func(*Session)
func WithCredentials ¶
func WithCredentials(key, secret, token string) SessionOption
func WithExternalID ¶
func WithExternalID(extId string) SessionOption
func WithExternalRoleName ¶
func WithExternalRoleName(role string) SessionOption
func WithRegion ¶
func WithRegion(region string) SessionOption
Click to show internal directories.
Click to hide internal directories.