session

package
v0.0.0-...-261ac86 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package session provides functions that return AWS sessions to use in the AWS SDK.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() (*session.Session, error)

Default returns a session configured against the "default" AWS profile.

func FromProfile

func FromProfile(name string) (*session.Session, error)

FromProfile returns a session configured against the input profile name.

func FromRole

func FromRole(roleARN string, region string) (*session.Session, error)

FromRole returns a session configured against the input role and region.

Types

This section is empty.

Jump to

Keyboard shortcuts

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