parameterstore

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

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"

	// ParamTypeSecureString 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(context context.T, input interface{}) (interface{}, error)

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

func ValidateSSMParameters

func ValidateSSMParameters(
	context context.T,
	documentParameters map[string]*contracts.Parameter,
	parameters map[string]interface{},
	invokedPlugin string) (err 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