runway.cfngin.actions.info module

CFNgin info action.

class runway.cfngin.actions.info.Action(context: CfnginContext, provider_builder: Optional[ProviderBuilder] = None, cancel: Optional[threading.Event] = None)[source]

Bases: runway.cfngin.actions.base.BaseAction

Get information on CloudFormation stacks.

Displays the outputs for the set of CloudFormation stacks.

Instantiate class.

Parameters
  • context – The context for the current run.

  • provider_builder – An object that will build a provider that will be interacted with in order to perform the necessary actions.

  • cancel – Cancel handler.

run(*_args: Any, **_kwargs: Any)None[source]

Get information on CloudFormation stacks.

build_provider()Provider

Build a CFNgin provider.

ensure_cfn_bucket()None

CloudFormation bucket where templates will be stored.

execute(**kwargs: typing.Any)None

Run the action with pre and post steps.

post_run(*, dump: Union[bool, str] = False, outline: bool = False, **_BaseAction__kwargs: typing.Any)None

Perform steps after running the action.

pre_run(*, dump: Union[bool, str] = False, outline: bool = False, **_BaseAction__kwargs: typing.Any)None

Perform steps before running the action.

property provider

Return a generic provider using the default region.

Used for running things like hooks.

s3_stack_push(blueprint: Blueprint, force: bool = False)str

Push the rendered blueprint’s template to S3.

Verifies that the template doesn’t already exist in S3 before pushing.

Returns

URL to the template in S3.

stack_template_url(blueprint: Blueprint)str

S3 URL for CloudFormation template object.