ssm

package
Version: v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 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.

Source Files

Jump to

Keyboard shortcuts

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