class CfnFindingsFilterPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Macie.Mixins.CfnFindingsFilterPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmacie/mixins#CfnFindingsFilterPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.macie.mixins.CfnFindingsFilterPropsMixin |
Python | aws_cdk.mixins_preview.aws_macie.mixins.CfnFindingsFilterPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_macie » mixins » CfnFindingsFilterPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::Macie::FindingsFilter resource specifies a findings filter.
In Amazon Macie , a findings filter , also referred to as a filter rule , is a set of custom criteria that specifies which findings to include or exclude from the results of a query for findings. The criteria can help you identify and focus on findings that have specific characteristics, such as severity, type, or the name of an affected AWS resource. You can also configure a findings filter to suppress (automatically archive) findings that match the filter's criteria. For more information, see Filtering Macie findings in the Amazon Macie User Guide .
An AWS::Macie::Session resource must exist for an AWS account before you can create an AWS::Macie::FindingsFilter resource for the account. Use a DependsOn attribute to ensure that an AWS::Macie::Session resource is created before other Macie resources are created for an account. For example, "DependsOn": "Session" .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as macie_mixins } from '@aws-cdk/mixins-preview/aws-macie';
const cfnFindingsFilterPropsMixin = new macie_mixins.CfnFindingsFilterPropsMixin({
action: 'action',
description: 'description',
findingCriteria: {
criterion: {
criterionKey: {
eq: ['eq'],
gt: 123,
gte: 123,
lt: 123,
lte: 123,
neq: ['neq'],
},
},
},
name: 'name',
position: 123,
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnFindingsFilterPropsMixin(props: CfnFindingsFilterMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Findings Filter Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Macie::FindingsFilter.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript