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.

70 lines 3.58 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.AuroraMysql = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); class AuroraMysql extends pulumi.ComponentResource { /** * Returns true if the given object is an instance of AuroraMysql. 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'] === AuroraMysql.__pulumiType; } /** * Create a AuroraMysql 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["backup"] = args ? args.backup : undefined; resourceInputs["database"] = args ? args.database : undefined; resourceInputs["instanceType"] = args ? args.instanceType : undefined; resourceInputs["instancesCount"] = args ? args.instancesCount : undefined; resourceInputs["logging"] = args ? args.logging : undefined; resourceInputs["monitoring"] = args ? args.monitoring : undefined; resourceInputs["networking"] = args ? args.networking : undefined; resourceInputs["version"] = args ? args.version : undefined; resourceInputs["alarms"] = undefined /*out*/; resourceInputs["cluster"] = undefined /*out*/; resourceInputs["instances"] = undefined /*out*/; resourceInputs["password"] = undefined /*out*/; resourceInputs["secret"] = undefined /*out*/; resourceInputs["secretVersion"] = undefined /*out*/; resourceInputs["securityGroup"] = undefined /*out*/; resourceInputs["securityGroupRule"] = undefined /*out*/; resourceInputs["subnetGroup"] = undefined /*out*/; resourceInputs["topic"] = undefined /*out*/; resourceInputs["topicSubscriptions"] = undefined /*out*/; } else { resourceInputs["alarms"] = undefined /*out*/; resourceInputs["cluster"] = undefined /*out*/; resourceInputs["instances"] = undefined /*out*/; resourceInputs["password"] = undefined /*out*/; resourceInputs["secret"] = undefined /*out*/; resourceInputs["secretVersion"] = undefined /*out*/; resourceInputs["securityGroup"] = undefined /*out*/; resourceInputs["securityGroupRule"] = undefined /*out*/; resourceInputs["subnetGroup"] = undefined /*out*/; resourceInputs["topic"] = undefined /*out*/; resourceInputs["topicSubscriptions"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(AuroraMysql.__pulumiType, name, resourceInputs, opts, true /*remote*/); } } exports.AuroraMysql = AuroraMysql; /** @internal */ AuroraMysql.__pulumiType = 'cloud-toolkit-aws:databases:AuroraMysql'; //# sourceMappingURL=auroraMysql.js.map