@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.
49 lines • 2.1 kB
JavaScript
;
// *** 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.LandingZone = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Create a Landing Zone with the Organization, the AuditLogging, the AWS Accounts and the
*/
class LandingZone extends pulumi.ComponentResource {
/**
* Returns true if the given object is an instance of LandingZone. 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'] === LandingZone.__pulumiType;
}
/**
* Create a LandingZone 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["audit"] = args ? args.audit : undefined;
resourceInputs["iam"] = args ? args.iam : undefined;
resourceInputs["organization"] = args ? args.organization : undefined;
resourceInputs["auditLogging"] = undefined /*out*/;
}
else {
resourceInputs["auditLogging"] = undefined /*out*/;
resourceInputs["organization"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(LandingZone.__pulumiType, name, resourceInputs, opts, true /*remote*/);
}
}
exports.LandingZone = LandingZone;
/** @internal */
LandingZone.__pulumiType = 'cloud-toolkit-aws:landingzone:LandingZone';
//# sourceMappingURL=landingZone.js.map