createFindingAggregator
abstract suspend fun createFindingAggregator(input: CreateFindingAggregatorRequest): CreateFindingAggregatorResponse
The aggregation Region is now called the home Region.
Used to enable cross-Region aggregation. This operation can be invoked from the home Region only.
For information about how cross-Region aggregation works, see Understanding cross-Region aggregation in Security Hub in the Security Hub User Guide.
Samples
fun main() {
//sampleStart
// The following example creates a finding aggregator. This is required to enable cross Region
// aggregation.
val resp = securityHubClient.createFindingAggregator {
regionLinkingMode = "SPECIFIED_REGIONS"
regions = listOf<String>(
"us-west-1",
"us-west-2"
)
}
//sampleEnd
}