ssm

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(session *session.Session, instanceId, command string, opts ...CommandOpt) error

func WaitForSSMReady

func WaitForSSMReady(session *session.Session, instanceId string) error

Types

type CommandOpt

type CommandOpt func(c *ssm.SendCommandInput)

func WithOutputToCloudwatch added in v0.6.0

func WithOutputToCloudwatch() CommandOpt

func WithOutputToS3

func WithOutputToS3(bucket, dir string) CommandOpt

type RunOutput added in v0.7.0

type RunOutput struct {
	CommandId      string
	StdOut, StdErr []byte
	// contains filtered or unexported fields
}

func RunCommand added in v0.7.0

func RunCommand(session *session.Session, instanceId, command string, opts ...CommandOpt) (*RunOutput, error)

func (*RunOutput) Successful added in v0.7.0

func (r *RunOutput) Successful() bool

Jump to

Keyboard shortcuts

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