UNPKG

@cloudtoolkit/aws

Version:

The Cloud Toolkit AWS provider for Pulumi provision well-architected solutions in [AWS](https://aws.amazon.com/). With Cloud Toolkit AWS you can use your preferred programming language to manage your platform with Infrastructure as Code.

71 lines 3.7 kB
"use strict"; // *** WARNING: this file was generated by Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.StaticWeb = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); 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) { if (obj === undefined || obj === null) { return false; } return obj['__pulumiType'] === StaticWeb.__pulumiType; } /** * 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, args, opts) { let resourceInputs = {}; opts = opts || {}; if (!opts.id) { resourceInputs["cache"] = args ? args.cache : undefined; resourceInputs["configureDNS"] = args ? args.configureDNS : undefined; resourceInputs["dns"] = args ? args.dns : undefined; resourceInputs["domain"] = args ? args.domain : undefined; resourceInputs["domainParts"] = args ? args.domainParts : undefined; resourceInputs["includeWWW"] = args ? args.includeWWW : undefined; resourceInputs["priceClass"] = args ? args.priceClass : undefined; resourceInputs["DNSRecords"] = undefined /*out*/; resourceInputs["DNSRecordsForValidation"] = undefined /*out*/; resourceInputs["certificate"] = undefined /*out*/; resourceInputs["certificateValidation"] = undefined /*out*/; resourceInputs["contentBucket"] = undefined /*out*/; resourceInputs["contentBucketPolicy"] = undefined /*out*/; resourceInputs["distribution"] = undefined /*out*/; resourceInputs["domainValidationOptions"] = undefined /*out*/; resourceInputs["eastRegion"] = undefined /*out*/; resourceInputs["logsBucket"] = undefined /*out*/; resourceInputs["name"] = undefined /*out*/; resourceInputs["originAccessIdentity"] = undefined /*out*/; } else { resourceInputs["DNSRecords"] = undefined /*out*/; resourceInputs["DNSRecordsForValidation"] = undefined /*out*/; resourceInputs["certificate"] = undefined /*out*/; resourceInputs["certificateValidation"] = undefined /*out*/; resourceInputs["contentBucket"] = undefined /*out*/; resourceInputs["contentBucketPolicy"] = undefined /*out*/; resourceInputs["distribution"] = undefined /*out*/; resourceInputs["domainValidationOptions"] = undefined /*out*/; resourceInputs["eastRegion"] = undefined /*out*/; resourceInputs["logsBucket"] = undefined /*out*/; resourceInputs["name"] = undefined /*out*/; resourceInputs["originAccessIdentity"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(StaticWeb.__pulumiType, name, resourceInputs, opts, true /*remote*/); } } exports.StaticWeb = StaticWeb; /** @internal */ StaticWeb.__pulumiType = 'cloud-toolkit-aws:serverless:StaticWeb'; //# sourceMappingURL=staticWeb.js.map