ssm

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ssm implements common SSM utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchOutputs

func FetchOutputs(cfg FetchConfig) (ivs []*ssm.CommandInvocation, err error)

FetchOutputs downloads SSM doc run outputs. It only returns the invocation whose status is "Success". e.g. aws ssm list-command-invocations --details --filter key=DocumentName,value=ResourceCounterSSMDocDevStack

Types

type FetchConfig

type FetchConfig struct {
	Logger        *zap.Logger
	SSMAPI        ssmiface.SSMAPI
	CommandID     string
	DocumentName  string
	InvokedAfter  time.Time
	BatchLimit    int64
	BatchInterval time.Duration
}

FetchConfig is the SSM fetch configuration.

Jump to

Keyboard shortcuts

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