runway.cfngin.lookups.handlers.output module

AWS CloudFormation Output lookup.

class runway.cfngin.lookups.handlers.output.Output(stack_name, output_name)

Bases: tuple

Create new instance of Output(stack_name, output_name)

property output_name

Alias for field number 1

property stack_name

Alias for field number 0

class runway.cfngin.lookups.handlers.output.OutputLookup[source]

Bases: runway.lookups.handlers.base.LookupHandler

AWS CloudFormation Output lookup.

classmethod handle(value, context=None, provider=None, **kwargs)[source]

Fetch an output from the designated stack.

Parameters
Returns

Output from the specified stack.

Return type

str

classmethod dependencies(lookup_data)[source]

Calculate any dependencies required to perform this lookup.

Note that lookup_data may not be (completely) resolved at this time.

Parameters

lookup_data (VariableValue) – Parameter(s) given to this lookup.

Returns

Stack names this lookup depends on.

Return type

Set[str]

runway.cfngin.lookups.handlers.output.deconstruct(value)[source]

Deconstruct the value.