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.

53 lines 2.3 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.ExternalDns = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * ExternalDns is a component to manage DNS records according to the Ingresses created in the cluster. */ class ExternalDns extends pulumi.ComponentResource { /** * Returns true if the given object is an instance of ExternalDns. 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'] === ExternalDns.__pulumiType; } /** * Create a ExternalDns 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) { if ((!args || args.zoneArns === undefined) && !opts.urn) { throw new Error("Missing required property 'zoneArns'"); } resourceInputs["zoneArns"] = args ? args.zoneArns : undefined; resourceInputs["application"] = undefined /*out*/; resourceInputs["irsa"] = undefined /*out*/; resourceInputs["namespace"] = undefined /*out*/; } else { resourceInputs["application"] = undefined /*out*/; resourceInputs["irsa"] = undefined /*out*/; resourceInputs["namespace"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ExternalDns.__pulumiType, name, resourceInputs, opts, true /*remote*/); } } exports.ExternalDns = ExternalDns; /** @internal */ ExternalDns.__pulumiType = 'cloud-toolkit-aws:kubernetes:ExternalDns'; //# sourceMappingURL=externalDns.js.map