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.

24 lines (23 loc) 1.26 kB
import { Construct } from "constructs"; import { HostingConfiguration } from "../bin/cli/shared/types"; /** * Custom CDK Construct for setting up a repository connection. * * This construct creates a connection to a hosting repository using the provided configuration. * * @param scope - The Construct scope in which this construct is defined. * @param id - The identifier for this construct within the scope. * @param params - Parameters for configuring the repository connection. * - `repoUrl` (optional): The URL of the hosting repository. * - `branchName` (optional): The name of the branch in the repository. * - `framework` (optional): The framework used for hosting. * - `s3bucket` (optional): The name of the Amazon S3 bucket for hosting content. * - `s3path` (optional): The path within the S3 bucket where content is stored. * - `domainName` (optional): The domain name associated with the hosting. * - `hostedZoneId` (optional): The ID of the Route 53 hosted zone associated with the domain. */ export declare class RepositoryConnection extends Construct { readonly connectionArn: string; readonly repoUrl: string; constructor(scope: Construct, id: string, hostingConfiguration: HostingConfiguration); }