CfnFindingsFilterProps

class aws_cdk.aws_macie.CfnFindingsFilterProps(*, finding_criteria, name, action=None, description=None, position=None, tags=None)

Bases: object

Properties for defining a CfnFindingsFilter.

Parameters:
  • finding_criteria (Union[IResolvable, FindingCriteriaProperty, Dict[str, Any]]) – The criteria to use to filter findings.

  • name (str) – A custom name for the findings filter. The name can contain 3-64 characters. Avoid including sensitive data in the name. Users of the account might be able to see the name, depending on the actions that they’re allowed to perform in Amazon Macie .

  • action (Optional[str]) – The action to perform on findings that match the filter criteria ( FindingCriteria ). Valid values are:. - ARCHIVE - Suppress (automatically archive) the findings. - NOOP - Don’t perform any action on the findings.

  • description (Optional[str]) – A custom description of the findings filter. The description can contain 1-512 characters. Avoid including sensitive data in the description. Users of the account might be able to see the description, depending on the actions that they’re allowed to perform in Amazon Macie .

  • position (Union[int, float, None]) – The position of the findings filter in the list of saved filter rules on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to findings.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to the findings filter. For more information, see Resource tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html

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_macie as macie

cfn_findings_filter_props = macie.CfnFindingsFilterProps(
    finding_criteria=macie.CfnFindingsFilter.FindingCriteriaProperty(
        criterion={
            "criterion_key": macie.CfnFindingsFilter.CriterionAdditionalPropertiesProperty(
                eq=["eq"],
                gt=123,
                gte=123,
                lt=123,
                lte=123,
                neq=["neq"]
            )
        }
    ),
    name="name",

    # the properties below are optional
    action="action",
    description="description",
    position=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

action

.

  • ARCHIVE - Suppress (automatically archive) the findings.

  • NOOP - Don’t perform any action on the findings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-action

Type:

The action to perform on findings that match the filter criteria ( FindingCriteria ). Valid values are

description

A custom description of the findings filter. The description can contain 1-512 characters.

Avoid including sensitive data in the description. Users of the account might be able to see the description, depending on the actions that they’re allowed to perform in Amazon Macie .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-description

finding_criteria

The criteria to use to filter findings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-findingcriteria

name

A custom name for the findings filter. The name can contain 3-64 characters.

Avoid including sensitive data in the name. Users of the account might be able to see the name, depending on the actions that they’re allowed to perform in Amazon Macie .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-name

position

The position of the findings filter in the list of saved filter rules on the Amazon Macie console.

This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to findings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-position

tags

An array of key-value pairs to apply to the findings filter.

For more information, see Resource tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-tags