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
-
property
-
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
value (str) – Parameter(s) given to this lookup.
<stack_name>::<output_name>
context (
runway.cfngin.context.Context
) – Context instance.provider (
runway.cfngin.providers.base.BaseProvider
) – Provider instance.
- Returns
Output from the specified stack.
- Return type
-
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]
-
classmethod