1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. securityhub
  6. AggregatorV2
Viewing docs for AWS v7.30.0
published on Thursday, May 14, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.30.0
published on Thursday, May 14, 2026 by Pulumi

    Manages a Security Hub V2 Aggregator, which enables cross-region finding aggregation.

    NOTE: Security Hub V2 must be enabled (aws.securityhub.AccountV2) before creating an aggregator.

    Example Usage

    All Regions

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.securityhub.AccountV2("example", {});
    const exampleAggregatorV2 = new aws.securityhub.AggregatorV2("example", {regionLinkingMode: "ALL_REGIONS"}, {
        dependsOn: [example],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.securityhub.AccountV2("example")
    example_aggregator_v2 = aws.securityhub.AggregatorV2("example", region_linking_mode="ALL_REGIONS",
    opts = pulumi.ResourceOptions(depends_on=[example]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/securityhub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := securityhub.NewAccountV2(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		_, err = securityhub.NewAggregatorV2(ctx, "example", &securityhub.AggregatorV2Args{
    			RegionLinkingMode: pulumi.String("ALL_REGIONS"),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			example,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.SecurityHub.AccountV2("example");
    
        var exampleAggregatorV2 = new Aws.SecurityHub.AggregatorV2("example", new()
        {
            RegionLinkingMode = "ALL_REGIONS",
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                example,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.securityhub.AccountV2;
    import com.pulumi.aws.securityhub.AggregatorV2;
    import com.pulumi.aws.securityhub.AggregatorV2Args;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new AccountV2("example");
    
            var exampleAggregatorV2 = new AggregatorV2("exampleAggregatorV2", AggregatorV2Args.builder()
                .regionLinkingMode("ALL_REGIONS")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(example)
                    .build());
    
        }
    }
    
    resources:
      example:
        type: aws:securityhub:AccountV2
      exampleAggregatorV2:
        type: aws:securityhub:AggregatorV2
        name: example
        properties:
          regionLinkingMode: ALL_REGIONS
        options:
          dependsOn:
            - ${example}
    
    Example coming soon!
    

    Specified Regions

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.securityhub.AccountV2("example", {});
    const exampleAggregatorV2 = new aws.securityhub.AggregatorV2("example", {
        regionLinkingMode: "SPECIFIED_REGIONS",
        linkedRegions: [
            "us-west-2",
            "eu-west-1",
        ],
    }, {
        dependsOn: [example],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.securityhub.AccountV2("example")
    example_aggregator_v2 = aws.securityhub.AggregatorV2("example",
        region_linking_mode="SPECIFIED_REGIONS",
        linked_regions=[
            "us-west-2",
            "eu-west-1",
        ],
        opts = pulumi.ResourceOptions(depends_on=[example]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/securityhub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := securityhub.NewAccountV2(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		_, err = securityhub.NewAggregatorV2(ctx, "example", &securityhub.AggregatorV2Args{
    			RegionLinkingMode: pulumi.String("SPECIFIED_REGIONS"),
    			LinkedRegions: pulumi.StringArray{
    				pulumi.String("us-west-2"),
    				pulumi.String("eu-west-1"),
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			example,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.SecurityHub.AccountV2("example");
    
        var exampleAggregatorV2 = new Aws.SecurityHub.AggregatorV2("example", new()
        {
            RegionLinkingMode = "SPECIFIED_REGIONS",
            LinkedRegions = new[]
            {
                "us-west-2",
                "eu-west-1",
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                example,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.securityhub.AccountV2;
    import com.pulumi.aws.securityhub.AggregatorV2;
    import com.pulumi.aws.securityhub.AggregatorV2Args;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new AccountV2("example");
    
            var exampleAggregatorV2 = new AggregatorV2("exampleAggregatorV2", AggregatorV2Args.builder()
                .regionLinkingMode("SPECIFIED_REGIONS")
                .linkedRegions(            
                    "us-west-2",
                    "eu-west-1")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(example)
                    .build());
    
        }
    }
    
    resources:
      example:
        type: aws:securityhub:AccountV2
      exampleAggregatorV2:
        type: aws:securityhub:AggregatorV2
        name: example
        properties:
          regionLinkingMode: SPECIFIED_REGIONS
          linkedRegions:
            - us-west-2
            - eu-west-1
        options:
          dependsOn:
            - ${example}
    
    Example coming soon!
    

    Create AggregatorV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AggregatorV2(name: string, args: AggregatorV2Args, opts?: CustomResourceOptions);
    @overload
    def AggregatorV2(resource_name: str,
                     args: AggregatorV2Args,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def AggregatorV2(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     region_linking_mode: Optional[str] = None,
                     linked_regions: Optional[Sequence[str]] = None,
                     region: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None)
    func NewAggregatorV2(ctx *Context, name string, args AggregatorV2Args, opts ...ResourceOption) (*AggregatorV2, error)
    public AggregatorV2(string name, AggregatorV2Args args, CustomResourceOptions? opts = null)
    public AggregatorV2(String name, AggregatorV2Args args)
    public AggregatorV2(String name, AggregatorV2Args args, CustomResourceOptions options)
    
    type: aws:securityhub:AggregatorV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_securityhub_aggregatorv2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AggregatorV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AggregatorV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AggregatorV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AggregatorV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AggregatorV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var aggregatorV2Resource = new Aws.SecurityHub.AggregatorV2("aggregatorV2Resource", new()
    {
        RegionLinkingMode = "string",
        LinkedRegions = new[]
        {
            "string",
        },
        Region = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := securityhub.NewAggregatorV2(ctx, "aggregatorV2Resource", &securityhub.AggregatorV2Args{
    	RegionLinkingMode: pulumi.String("string"),
    	LinkedRegions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Region: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "aws_securityhub_aggregatorv2" "aggregatorV2Resource" {
      region_linking_mode = "string"
      linked_regions      = ["string"]
      region              = "string"
      tags = {
        "string" = "string"
      }
    }
    
    var aggregatorV2Resource = new AggregatorV2("aggregatorV2Resource", AggregatorV2Args.builder()
        .regionLinkingMode("string")
        .linkedRegions("string")
        .region("string")
        .tags(Map.of("string", "string"))
        .build());
    
    aggregator_v2_resource = aws.securityhub.AggregatorV2("aggregatorV2Resource",
        region_linking_mode="string",
        linked_regions=["string"],
        region="string",
        tags={
            "string": "string",
        })
    
    const aggregatorV2Resource = new aws.securityhub.AggregatorV2("aggregatorV2Resource", {
        regionLinkingMode: "string",
        linkedRegions: ["string"],
        region: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:securityhub:AggregatorV2
    properties:
        linkedRegions:
            - string
        region: string
        regionLinkingMode: string
        tags:
            string: string
    

    AggregatorV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AggregatorV2 resource accepts the following input properties:

    RegionLinkingMode string
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    LinkedRegions List<string>
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    RegionLinkingMode string
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    LinkedRegions []string
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    region_linking_mode string
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    linked_regions list(string)
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags map(string)
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    regionLinkingMode String
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    linkedRegions List<String>
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    regionLinkingMode string
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    linkedRegions string[]
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    region_linking_mode str
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    linked_regions Sequence[str]
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    regionLinkingMode String
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    linkedRegions List<String>
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AggregatorV2 resource produces the following output properties:

    AggregationRegion string
    The AWS Region where data is aggregated.
    Arn string
    ARN of the Security Hub V2 Aggregator.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    AggregationRegion string
    The AWS Region where data is aggregated.
    Arn string
    ARN of the Security Hub V2 Aggregator.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregation_region string
    The AWS Region where data is aggregated.
    arn string
    ARN of the Security Hub V2 Aggregator.
    id string
    The provider-assigned unique ID for this managed resource.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregationRegion String
    The AWS Region where data is aggregated.
    arn String
    ARN of the Security Hub V2 Aggregator.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregationRegion string
    The AWS Region where data is aggregated.
    arn string
    ARN of the Security Hub V2 Aggregator.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregation_region str
    The AWS Region where data is aggregated.
    arn str
    ARN of the Security Hub V2 Aggregator.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregationRegion String
    The AWS Region where data is aggregated.
    arn String
    ARN of the Security Hub V2 Aggregator.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing AggregatorV2 Resource

    Get an existing AggregatorV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AggregatorV2State, opts?: CustomResourceOptions): AggregatorV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aggregation_region: Optional[str] = None,
            arn: Optional[str] = None,
            linked_regions: Optional[Sequence[str]] = None,
            region: Optional[str] = None,
            region_linking_mode: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> AggregatorV2
    func GetAggregatorV2(ctx *Context, name string, id IDInput, state *AggregatorV2State, opts ...ResourceOption) (*AggregatorV2, error)
    public static AggregatorV2 Get(string name, Input<string> id, AggregatorV2State? state, CustomResourceOptions? opts = null)
    public static AggregatorV2 get(String name, Output<String> id, AggregatorV2State state, CustomResourceOptions options)
    resources:  _:    type: aws:securityhub:AggregatorV2    get:      id: ${id}
    import {
      to = aws_securityhub_aggregatorv2.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AggregationRegion string
    The AWS Region where data is aggregated.
    Arn string
    ARN of the Security Hub V2 Aggregator.
    LinkedRegions List<string>
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RegionLinkingMode string
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    AggregationRegion string
    The AWS Region where data is aggregated.
    Arn string
    ARN of the Security Hub V2 Aggregator.
    LinkedRegions []string
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RegionLinkingMode string
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregation_region string
    The AWS Region where data is aggregated.
    arn string
    ARN of the Security Hub V2 Aggregator.
    linked_regions list(string)
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    region_linking_mode string
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    tags map(string)
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregationRegion String
    The AWS Region where data is aggregated.
    arn String
    ARN of the Security Hub V2 Aggregator.
    linkedRegions List<String>
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regionLinkingMode String
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregationRegion string
    The AWS Region where data is aggregated.
    arn string
    ARN of the Security Hub V2 Aggregator.
    linkedRegions string[]
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regionLinkingMode string
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregation_region str
    The AWS Region where data is aggregated.
    arn str
    ARN of the Security Hub V2 Aggregator.
    linked_regions Sequence[str]
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    region_linking_mode str
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    aggregationRegion String
    The AWS Region where data is aggregated.
    arn String
    ARN of the Security Hub V2 Aggregator.
    linkedRegions List<String>
    List of Regions linked to the aggregation Region. Required when regionLinkingMode is SPECIFIED_REGIONS or ALL_REGIONS_EXCEPT_SPECIFIED.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    regionLinkingMode String
    Determines how Regions are linked to the aggregator. Valid values: ALL_REGIONS, ALL_REGIONS_EXCEPT_SPECIFIED, SPECIFIED_REGIONS.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Import

    Identity Schema

    Required

    • arn (String) Amazon Resource Name (ARN) of the Security Hub V2 aggregator.

    Using pulumi import, import Security Hub V2 aggregators using arn. For example:

    $ pulumi import aws:securityhub/aggregatorV2:AggregatorV2 example arn:aws:securityhub:us-east-1:123456789012:aggregator/v2/example
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.30.0
    published on Thursday, May 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial