UNPKG

@aws/cloudfront-hosting-toolkit

Version:

CloudFront Hosting Toolkit offers the convenience of a managed frontend hosting service while retaining full control over the hosting and deployment infrastructure to make it your own.

15 lines (14 loc) 692 B
import { Construct } from "constructs"; import { HostingConfiguration } from "../bin/cli/shared/types"; export declare class DeployType extends Construct { readonly deployIdentifier: string; /** * Constructs a deployment stack based on the provided configuration. * Handles Git repository and S3 bucket deployment scenarios, setting up * deployment identifiers and CloudFormation outputs accordingly. * In case of incorrect configuration, logs an error and exits the process. * * @param stackConfig - Configuration object containing deployment details. */ constructor(scope: Construct, id: string, hostingConfiguration: HostingConfiguration); }