runway.module.staticsite.options.components module
Runway Static Site Module options component classes.
- class runway.module.staticsite.options.components.StaticSiteOptions[source]
Bases:
runway.module.base.ModuleOptions
Static site options.
- build_output
Directory where build output is placed. Defaults to current working directory.
- build_steps
List of commands to run to build the static site.
- data
Options parsed into a data model.
- extra_files
List of files that should be uploaded to S3 after the build. Used to dynamically create or select file.
- pre_build_steps
Commands to be run prior to the build process.
- source_hashing
Overrides for source hash calculation and tracking.
- __init__(data: runway.module.staticsite.options.models.RunwayStaticSiteModuleOptionsDataModel) None [source]
Instantiate class.
- classmethod parse_obj(obj: object) runway.module.staticsite.options.components.StaticSiteOptions [source]
Parse options definition and return an options object.
- Parameters
obj – Object to parse.
- __new__(**kwargs)