CfnFindingAggregatorProps
- class aws_cdk.aws_securityhub.CfnFindingAggregatorProps(*, region_linking_mode, regions=None)
Bases:
object
Properties for defining a
CfnFindingAggregator
.- Parameters:
region_linking_mode (
str
) – 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. In AWS CloudFormation , the options for this property are as follows: -ALL_REGIONS
- 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. -ALL_REGIONS_EXCEPT_SPECIFIED
- Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegions
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. -SPECIFIED_REGIONS
- Indicates to aggregate findings only from the Regions listed in theRegions
parameter. Security Hub does not automatically aggregate findings from new Regions.regions (
Optional
[Sequence
[str
]]) – IfRegionLinkingMode
isALL_REGIONS_EXCEPT_SPECIFIED
, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region. IfRegionLinkingMode
isSPECIFIED_REGIONS
, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_securityhub as securityhub cfn_finding_aggregator_props = securityhub.CfnFindingAggregatorProps( region_linking_mode="regionLinkingMode", # the properties below are optional regions=["regions"] )
Attributes
- region_linking_mode
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.
In AWS CloudFormation , the options for this property are as follows:
ALL_REGIONS
- 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.ALL_REGIONS_EXCEPT_SPECIFIED
- Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegions
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.SPECIFIED_REGIONS
- Indicates to aggregate findings only from the Regions listed in theRegions
parameter. Security Hub does not automatically aggregate findings from new Regions.
- regions
If
RegionLinkingMode
isALL_REGIONS_EXCEPT_SPECIFIED
, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.If
RegionLinkingMode
isSPECIFIED_REGIONS
, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.