Documentation ¶
Overview ¶
Package sessionaws is helpful in establishing connection with aws. One will be able to use all other api's of aws from this SDK only after this package is initialized.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSessionInput ¶
type CreateSessionInput struct { // Region is required to establish session with aws. Without default value session cannot be established. Region string // KeyId is one of the component of AWS credentials and is necessary and not optional. KeyId string // AcessKey is one more component of AWS credentials and is necessary and not optional. AcessKey string }
CreateSessionInput will implement CreateAwsSession and hold values which will be used in establishing connection.
func (*CreateSessionInput) CreateAwsSession ¶
func (con *CreateSessionInput) CreateAwsSession() *session.Session
CreateAwsSession will actually establish connection to aws with the credentials passed to it. Make sure you pass the correct/working credentials.
Click to show internal directories.
Click to hide internal directories.