Create a session handler for retrieving an AWS ECS session. This handler should return an ahfdeploy.Session (probably, maybe session.Session etc.) wrapper for the AWS ECS session.
For now, something like:
import "github.com/aws/aws-sdk-go/aws/session"
type Session struct {
session *session.Session
}
Functional description
Create a session handler for retrieving an AWS ECS session. This handler should return an
ahfdeploy.Session
(probably, maybesession.Session
etc.) wrapper for the AWS ECS session.For now, something like:
should suffice as a wrapper type.
See: https://docs.aws.amazon.com/sdk-for-go/api/aws/session/ for documentation.
Tests on this issue
ahfdeploy.NewSession(...)
orsession.New(...)
, depending on package structure