CfnFindingAggregatorPropsMixin
- class aws_cdk.mixins_preview.aws_securityhub.mixins.CfnFindingAggregatorPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::SecurityHub::FindingAggregatorresource enables cross-Region aggregation.When cross-Region aggregation is enabled, you can aggregate findings, finding updates, insights, control compliance statuses, and security scores from one or more linked Regions to a single aggregation Region. You can then view and manage all of this data from the aggregation Region. For more details about cross-Region aggregation, see Cross-Region aggregation in the Security Hub User Guide
This resource must be created in the Region that you want to designate as your aggregation Region.
Cross-Region aggregation is also a prerequisite for using central configuration in Security Hub .
- See:
- CloudformationResource:
AWS::SecurityHub::FindingAggregator
- Mixin:
true
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins cfn_finding_aggregator_props_mixin = securityhub_mixins.CfnFindingAggregatorPropsMixin(securityhub_mixins.CfnFindingAggregatorMixinProps( region_linking_mode="regionLinkingMode", regions=["regions"] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::SecurityHub::FindingAggregator.- Parameters:
props (
Union[CfnFindingAggregatorMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['regionLinkingMode', 'regions']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental