CfnFindingsFilterProps
- class aws_cdk.aws_macie.CfnFindingsFilterProps(*, finding_criteria, name, action=None, description=None, position=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 filters 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.
- Link:
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. import aws_cdk.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 )
Attributes
- action
.
ARCHIVE
- Suppress (automatically archive) the findings.NOOP
- Don’t perform any action on the findings.
- Link:
- 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 .
- finding_criteria
The criteria to use to filter findings.
- 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 .
- position
The position of the findings filter in the list of saved filters 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.