Class CfnInsightPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnInsightPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInsightPropsMixin>
- Enclosing class:
CfnInsightPropsMixin
@Stability(Stable)
public static final class CfnInsightPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInsightPropsMixin>
A fluent builder for
CfnInsightPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnInsightPropsMixin.Buildercreate()static CfnInsightPropsMixin.Buildercreate(CfnPropertyMixinOptions options) One or more attributes used to filter the findings included in the insight.filters(IResolvable filters) One or more attributes used to filter the findings included in the insight.groupByAttribute(String groupByAttribute) The grouping attribute for the insight's findings.The name of a Security Hub CSPM insight.
-
Method Details
-
create
@Stability(Stable) public static CfnInsightPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnInsightPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnInsightPropsMixin.Builder.
-
filters
One or more attributes used to filter the findings included in the insight.The insight only includes findings that match the criteria defined in the filters. You can filter by up to ten finding attributes. For each attribute, you can provide up to 20 filter values.
- Parameters:
filters- One or more attributes used to filter the findings included in the insight. This parameter is required.- Returns:
this- See Also:
-
filters
@Stability(Stable) public CfnInsightPropsMixin.Builder filters(CfnInsightPropsMixin.AwsSecurityFindingFiltersProperty filters) One or more attributes used to filter the findings included in the insight.The insight only includes findings that match the criteria defined in the filters. You can filter by up to ten finding attributes. For each attribute, you can provide up to 20 filter values.
- Parameters:
filters- One or more attributes used to filter the findings included in the insight. This parameter is required.- Returns:
this- See Also:
-
groupByAttribute
The grouping attribute for the insight's findings.Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
- Parameters:
groupByAttribute- The grouping attribute for the insight's findings. This parameter is required.- Returns:
this- See Also:
-
name
The name of a Security Hub CSPM insight.- Parameters:
name- The name of a Security Hub CSPM insight. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInsightPropsMixin>- Returns:
- a newly built instance of
CfnInsightPropsMixin.
-