runway.cfngin.cfngin module¶
CFNgin entrypoint.
-
class
runway.cfngin.cfngin.
CFNgin
(ctx, parameters=None, sys_path=None)[source]¶ Bases:
object
Control CFNgin.
-
concurrency
¶ Max number of CFNgin stacks that can be deployed concurrently. If the value is
0
, will be constrained based on the underlying graph.- Type
-
parameters
¶ Combination of the parameters provided when initalizing the class and any environment files that are found.
- Type
-
recreate_failed
¶ Destroy and re-create stacks that are stuck in a failed state from an initial deployment when updating.
- Type
Instantiate class.
- Parameters
ctx (runway.context.Context) – Runway context object.
parameters (Optional[Dict[str. Any]]) – Parameters from Runway.
sys_path (Optional[str]) – Working directory.
-
EXCLUDE_REGEX
= 'runway(\\..*)?\\.(yml|yaml)'
-
EXCLUDE_LIST
= ['bitbucket-pipelines.yml', 'buildspec.yml', 'docker-compose.yml']
-
env_file
¶ Decorator for creating cached properties.
A property that is only computed once per instance and then replaces itself with an ordinary attribute. Deleting the attribute resets the property. Source: https://github.com/bottlepy/bottle/commit/fa7733e075da0d790d809aa3d2f53071897e6f76
-
load
(config_path)[source]¶ Load a CFNgin config into a context object.
- Parameters
config_path (str) – Valid path to a CFNgin config file.
- Returns
-