@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.
17 lines (16 loc) • 570 B
TypeScript
import { aws_cloudfront as cloudfront } from "aws-cdk-lib";
import { Construct } from "constructs";
import { IBucket } from "aws-cdk-lib/aws-s3";
import { HostingConfiguration } from "../bin/cli/shared/types";
interface IConfigProps {
hostingConfiguration: HostingConfiguration;
connectionArn?: string;
kvsArn: string;
hostingBucket: IBucket;
changeUri: cloudfront.Function;
buildFilePath: string;
}
export declare class PipelineInfrastructure extends Construct {
constructor(scope: Construct, id: string, params: IConfigProps);
}
export {};