Interface CfnFindingAggregatorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFindingAggregatorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:16.916Z")
@Stability(Stable)
public interface CfnFindingAggregatorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFindingAggregator.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityhub.*;
CfnFindingAggregatorProps cfnFindingAggregatorProps = CfnFindingAggregatorProps.builder()
.regionLinkingMode("regionLinkingMode")
// the properties below are optional
.regions(List.of("regions"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFindingAggregatorPropsstatic final classAn implementation forCfnFindingAggregatorProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Indicates whether to aggregate findings from all of the available Regions in the current partition.IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRegionLinkingMode
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.
The selected option also determines how to use the Regions provided in the Regions list.
The options are as follows:
ALL_REGIONS- Aggregates 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.ALL_REGIONS_EXCEPT_SPECIFIED- Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegionsparameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.SPECIFIED_REGIONS- Aggregates findings only from the Regions listed in theRegionsparameter. Security Hub does not automatically aggregate findings from new Regions.NO_REGIONS- Aggregates no data because no Regions are selected as linked Regions.
- See Also:
-
getRegions
IfRegionLinkingModeisALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.If
RegionLinkingModeisSPECIFIED_REGIONS, then this is a space-separated list of Regions that do replicate and send findings to the home Region.An
InvalidInputExceptionerror results if you populate this field whileRegionLinkingModeisNO_REGIONS.- See Also:
-
builder
- Returns:
- a
CfnFindingAggregatorProps.BuilderofCfnFindingAggregatorProps
-