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.

16 lines (15 loc) 584 B
import { aws_cloudfront as cloudfront } from "aws-cdk-lib"; import { IBucket } from "aws-cdk-lib/aws-s3"; import { Construct } from "constructs"; import { HostingConfiguration } from "../bin/cli/shared/types"; interface IConfigProps { changeUri: cloudfront.Function; certificateArn?: string; hostingConfiguration: HostingConfiguration; } export declare class HostingInfrastructure extends Construct { readonly hostingBucket: IBucket; readonly distribution: cloudfront.Distribution; constructor(scope: Construct, id: string, params: IConfigProps); } export {};