import { Input } from "@pulumi/pulumi"; export type StaticWebsite = { domain: string; certificateArn?: string; additionalDomains?: string[]; defaultPath?: string; corsRules?: { allowedHeaders: string[]; allowedMethods: string[]; allowedOrigins: string[]; exposeHeaders: string[]; maxAgeSeconds: number; }[]; cloudflareDomain?: { proxied?: boolean; }; /** * Unprotect buckets before safe deletion, leave always in false until * deletion of buckets is required. * * Default: false */ unprotect?: boolean; /** * Delete EVERYTHING from the buckets, leave always in false until * deletion of buckets is required. * * Default: false */ destroy?: boolean; priceClass?: "PriceClass_All" | "PriceClass_200" | "PriceClass_100"; cachePolicyId?: Input; responseHeadersPolicyId?: Input; objectOwnership?: string; overrideContentBucketACL?: string; /** * Tags applied to the content bucket, logs bucket and CloudFront distribution. * Optional: when omitted, no tags are set by buildStatic (existing behavior). * * When provided, each resource receives a default `Name` derived from the domain * (content bucket & distribution: ``, logs bucket: `-logs`); a * `Name` supplied here overrides that default. */ tags?: Record>; };