updateFindingAggregator

The aggregation Region is now called the home Region.

Updates cross-Region aggregation settings. You can use this operation to update the Region linking mode and the list of included or excluded Amazon Web Services Regions. However, you can't use this operation to change the home Region.

You can invoke this operation from the current home Region only.

Samples


fun main() { 
   //sampleStart 
   // The following example updates the cross Region aggregation configuration. You use this operation to
// change the list of linked Regions and the treatment of new Regions. However, you cannot use this operation
// to change the aggregation Region.
val resp = securityHubClient.updateFindingAggregator {
    findingAggregatorArn = "arn:aws:securityhub:us-east-1:123456789012:finding-aggregator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
    regionLinkingMode = "SPECIFIED_REGIONS"
    regions = listOf<String>(
        "us-west-1",
        "us-west-2"
    )
} 
   //sampleEnd
}