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.72 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.AuditLogging = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); class AuditLogging extends pulumi.ComponentResource { /** * Returns true if the given object is an instance of AuditLogging. 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'] === AuditLogging.__pulumiType; } /** * Create a AuditLogging 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["bucketProvider"] = args ? args.bucketProvider : undefined; resourceInputs["cloudwatch"] = args ? args.cloudwatch : undefined; resourceInputs["region"] = args ? args.region : undefined; resourceInputs["retentionDays"] = args ? args.retentionDays : undefined; resourceInputs["bucket"] = undefined /*out*/; resourceInputs["bucketAcl"] = undefined /*out*/; resourceInputs["bucketLifecycleConfiguration"] = undefined /*out*/; resourceInputs["bucketPolicy"] = undefined /*out*/; resourceInputs["bucketPublicAccessBlock"] = undefined /*out*/; resourceInputs["cloudWatchDashboard"] = undefined /*out*/; resourceInputs["cloudWatchLogGroup"] = undefined /*out*/; resourceInputs["cloudWatchPolicy"] = undefined /*out*/; resourceInputs["cloudWatchRole"] = undefined /*out*/; resourceInputs["cloudWatchRolePolicyAttachment"] = undefined /*out*/; resourceInputs["organizationId"] = undefined /*out*/; resourceInputs["organizationMasterAccountId"] = undefined /*out*/; resourceInputs["trail"] = undefined /*out*/; } else { resourceInputs["bucket"] = undefined /*out*/; resourceInputs["bucketAcl"] = undefined /*out*/; resourceInputs["bucketLifecycleConfiguration"] = undefined /*out*/; resourceInputs["bucketPolicy"] = undefined /*out*/; resourceInputs["bucketPublicAccessBlock"] = undefined /*out*/; resourceInputs["cloudWatchDashboard"] = undefined /*out*/; resourceInputs["cloudWatchLogGroup"] = undefined /*out*/; resourceInputs["cloudWatchPolicy"] = undefined /*out*/; resourceInputs["cloudWatchRole"] = undefined /*out*/; resourceInputs["cloudWatchRolePolicyAttachment"] = undefined /*out*/; resourceInputs["organizationId"] = undefined /*out*/; resourceInputs["organizationMasterAccountId"] = undefined /*out*/; resourceInputs["trail"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(AuditLogging.__pulumiType, name, resourceInputs, opts, true /*remote*/); } } exports.AuditLogging = AuditLogging; /** @internal */ AuditLogging.__pulumiType = 'cloud-toolkit-aws:landingzone:AuditLogging'; //# sourceMappingURL=auditLogging.js.map