"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAggregatorV2Output = exports.getAggregatorV2 = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * The AWS::SecurityHub::AggregatorV2 resource represents the AWS Security Hub AggregatorV2 in your account. One aggregatorv2 resource is created for each account in non opt-in region in which you configure region linking mode.
 */
function getAggregatorV2(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:securityhub:getAggregatorV2", {
        "aggregatorV2Arn": args.aggregatorV2Arn,
    }, opts);
}
exports.getAggregatorV2 = getAggregatorV2;
/**
 * The AWS::SecurityHub::AggregatorV2 resource represents the AWS Security Hub AggregatorV2 in your account. One aggregatorv2 resource is created for each account in non opt-in region in which you configure region linking mode.
 */
function getAggregatorV2Output(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:securityhub:getAggregatorV2", {
        "aggregatorV2Arn": args.aggregatorV2Arn,
    }, opts);
}
exports.getAggregatorV2Output = getAggregatorV2Output;
//# sourceMappingURL=getAggregatorV2.js.map