CfnFindingAggregatorProps Struct
Properties for defining a CfnFindingAggregator.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const cfnFindingAggregatorProps: securityhub.CfnFindingAggregatorProps = {
regionLinkingMode: 'regionLinkingMode',
// the properties below are optional
regions: ['regions'],
};
python
# 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"]
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;
var cfnFindingAggregatorProps = new CfnFindingAggregatorProps {
RegionLinkingMode = "regionLinkingMode",
// the properties below are optional
Regions = new [] { "regions" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnFindingAggregatorProps := &CfnFindingAggregatorProps{
RegionLinkingMode: jsii.String("regionLinkingMode"),
// the properties below are optional
Regions: []*string{
jsii.String("regions"),
},
}
Properties
regionLinkingModestringregion_linking_modestrregionLinkingModeStringRegionLinkingModestringRegionLinkingMode*stringrequired#Indicates whether to aggregate findings from all of the available Regions in the current partition.
notes
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 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 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- Indicates to aggregate findings only from the Regions listed in theRegionsparameter. Security Hub does not automatically aggregate findings from new Regions.
regionsoptionalstring[]regionsoptionaltyping.List[str]regionsoptionalList<String>Regionsoptionalstring[]Regionsoptional*[]*string#If `RegionLinkingMode` is `ALL_REGIONS_EXCEPT_SPECIFIED` , then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.
If RegionLinkingMode is SPECIFIED_REGIONS , then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.