ssm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *ssm.SSM

New creates and returns a new session connection to ssm

Types

type API

type API struct {
	Client ssmiface.SSMAPI
}

API wraps a ssm interface

func (*API) GetParameter

func (a *API) GetParameter(ctx aws.Context, param string) (val string, err error)

GetParameter is a convinience wrapper around ssm's GetParameter which returns the value for a given parameter

func (*API) IsEnabled

func (a *API) IsEnabled() bool

IsEnabled checks if the client is set

func (*API) Setup

func (a *API) Setup()

Setup creates a ssm client

Jump to

Keyboard shortcuts

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