parameterstore

package
v0.0.0-...-84afe80 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package parameterstore contains modules to resolve ssm parameters present in the document.

Package parameterstore contains modules to resolve ssm parameters present in the document.

Package parameterstore contains modules to resolve ssm parameters present in the document.

Index

Constants

View Source
const (

	// ParamTypeString represents the Param Type is String
	ParamTypeString = "String"

	// ParamTypeString represents the Param Type is SecureString
	ParamTypeSecureString = "SecureString"

	// ParamTypeStringList represents the Param Type is StringList
	ParamTypeStringList = "StringList"

	// ErrorMsg represents the error message to be sent to the customer
	ErrorMsg = "Encountered error while parsing input - internal error"

	// MaxParametersPerCall represents the max number of parameters you can send in one GetParameters call
	MaxParametersPerCall = 10
)

Variables

This section is empty.

Functions

func Resolve

func Resolve(log log.T, input interface{}) (interface{}, error)

Resolve resolves ssm parameters of the format {{ssm:*}}

func ValidateSSMParameters

func ValidateSSMParameters(
	log log.T,
	documentParameters map[string]*contracts.Parameter,
	parameters map[string]interface{}) error

ValidateSSMParameters validates SSM parameters

Types

type GetParametersResponse

type GetParametersResponse struct {
	Parameters        []Parameter
	InvalidParameters []string
}

GetParametersResponse represents GetParameters API response

type Parameter

type Parameter struct {
	Name  string
	Type  string
	Value string
}

Parameter contains info about the parameter

Jump to

Keyboard shortcuts

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