runway.hooks.staticsite.build_staticsite module¶
CFNgin hook for building static website.
-
runway.hooks.staticsite.build_staticsite.
zip_and_upload
(app_dir: str, bucket: str, key: str, session: Optional[boto3.session.Session] = None) → None[source]¶ Zip built static site and upload to S3.
-
class
runway.hooks.staticsite.build_staticsite.
OptionsArgTypeDef
(**kwargs)[source]¶ Bases:
dict
Options argument type definition.
-
runway.hooks.staticsite.build_staticsite.
build
(context: CfnginContext, provider: Provider, *, artifact_bucket_rxref_lookup: str, options: Optional[OptionsArgTypeDef] = None, **_: Any) → Dict[str, Any][source]¶ Build static site.