runway.lookups.handlers.ssm module

Retrieve a value from SSM Parameter Store.

class runway.lookups.handlers.ssm.SsmLookup[source]

Bases: LookupHandler[CfnginContext | RunwayContext]

SSM Parameter Store Lookup.

TYPE_NAME: ClassVar[str] = 'ssm'

Name that the Lookup is registered as.

classmethod handle(value: str, context: CfnginContext | RunwayContext, **_kwargs: Any) Any[source]

Retrieve a value from SSM Parameter Store.

Parameters:
  • value – The value passed to the Lookup.

  • context – The current context object.

Raises:

ParameterNotFound – Parameter not found in SSM and a default value was not provided.