ssm

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	SvcClient             ssmiface.SSMAPI
	Region                string
	InstanceID            string
	LocalPort, RemotePort int
	Ec2Conn               *ec2.EC2
}

func (Session) Start

func (s Session) Start(ctx context.Context, ui packersdk.Ui, sessionChan chan struct{}) error

Start an interactive Systems Manager session with a remote instance via the AWS session-manager-plugin. To terminate the session you must cancel the context. If you do not wish to terminate the session manually: calling StopSession on a instance of this driver will terminate the active session created from calling StartSession. To stop the session you must cancel the context.

Jump to

Keyboard shortcuts

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