parameterstore

package
v0.0.0-...-a9ed6da Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 9 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

	// Delimiter used for splitting StringList type SSM parameters.
	StringListDelimiter = ","
)

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 GetParameterResponse

type GetParameterResponse struct {
	Response Parameter `json:"Parameter"`
}

GetParameterResponse represents the response from GetParameter API

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
	Version int64
}

Parameter contains info about the parameter

Jump to

Keyboard shortcuts

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