v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1461972964.4 KB

Updates the finding aggregation configuration. Used to update the Region linking mode and the list of included or excluded Regions. You cannot use UpdateFindingAggregator to change the aggregation Region.

You must run UpdateFindingAggregator from the current aggregation Region.

patch/findingAggregator/update

Request body

FindingAggregatorArnstring required

The ARN of the finding aggregator. To obtain the ARN, use <code>ListFindingAggregators</code>.

RegionLinkingModestring required
<p>Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.</p> <p>The selected option also determines how to use the Regions provided in the Regions list.</p> <p>The options are as follows:</p> <ul> <li> <p> <code>ALL_REGIONS</code> - Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. </p> </li> <li> <p> <code>ALL_REGIONS_EXCEPT_SPECIFIED</code> - Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the <code>Regions</code> parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. </p> </li> <li> <p> <code>SPECIFIED_REGIONS</code> - Indicates to aggregate findings only from the Regions listed in the <code>Regions</code> parameter. Security Hub does not automatically aggregate findings from new Regions. </p> </li> </ul>
RegionsNonEmptyString[]
<p>If <code>RegionLinkingMode</code> is <code>ALL_REGIONS_EXCEPT_SPECIFIED</code>, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.</p> <p>If <code>RegionLinkingMode</code> is <code>SPECIFIED_REGIONS</code>, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.</p>

Response

Success

FindingAggregatorArnstring

The ARN of the finding aggregator.

FindingAggregationRegionstring

The aggregation Region.

RegionLinkingModestring

Indicates whether to link all Regions, all Regions except for a list of excluded Regions, or a list of included Regions.

RegionsNonEmptyString[]

The list of excluded Regions or included Regions.

Example response

{
  "FindingAggregationRegion": "us-east-1",
  "FindingAggregatorArn": "arn:aws:securityhub:us-east-1:123456789012:finding-aggregator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
  "RegionLinkingMode": "SPECIFIED_REGIONS",
  "Regions": [
    "us-west-1",
    "us-west-2"
  ]
}