import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as pulumiAws from "@pulumi/aws"; import { Bucket } from "../storage"; export declare class StaticWeb extends pulumi.ComponentResource { /** * Returns true if the given object is an instance of StaticWeb. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is StaticWeb; /** * DNS Records to expose staticweb */ readonly DNSRecords: pulumi.Output; /** * DNS Records to validate the certificate */ readonly DNSRecordsForValidation: pulumi.Output; /** * CloudFront Distribution */ readonly certificate: pulumi.Output; /** * AWS certificate validation */ readonly certificateValidation: pulumi.Output; /** * Content bucket */ readonly contentBucket: pulumi.Output; /** * Bucket policy to connect Cloud Front distribution */ readonly contentBucketPolicy: pulumi.Output; /** * CloudFront Distribution */ readonly distribution: pulumi.Output; /** * CloudFront Distribution */ readonly domainValidationOptions: pulumi.Output; /** * AWS eastRegion provider. It is required to create and validate certificates */ readonly eastRegion: pulumi.Output; /** * Logs bucket */ readonly logsBucket: pulumi.Output; /** * Staticweb name */ readonly name: pulumi.Output; /** * OriginAccessIdentity to have access to content bucket */ readonly originAccessIdentity: pulumi.Output; /** * Create a StaticWeb resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: StaticWebArgs, opts?: pulumi.ComponentResourceOptions); } /** * The set of arguments for constructing a StaticWeb resource. */ export interface StaticWebArgs { /** * Cloud Front distribution cache */ cache?: pulumi.Input; /** * Set to true to configure DNS */ configureDNS?: pulumi.Input; /** * DNS configuration */ dns?: pulumi.Input; /** * Domain that will point to the Cloud Front distribution. The hosted zone is automatically extracted by removing the first subdomain. * e.g. my.nice.website.com -> my - subdomain | nice.website.com - hosted zone. * The subdomain is used as the name of the DNS Record that points to the Cloud Front distribution. * configureDNS should be set to true. */ domain?: pulumi.Input; /** * Subdomain and parent domain of the DNS Record. The parent domain is used to determine the hosted zone that will hold the DNS Record. * The subdomain is used as the name of the DNS Record that points to the Cloud Front distribution. * Used alongside domain. configureDNS should be set to true. */ domainParts?: pulumi.Input; /** * Set to true to add an alias to wwww. */ includeWWW?: pulumi.Input; /** * Cloud Front distribution priceClass */ priceClass?: pulumi.Input; }