AWS::InspectorV2::Filter
Details about a filter.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::InspectorV2::Filter", "Properties" : { "Description" :String, "FilterAction" :String, "FilterCriteria" :FilterCriteria, "Name" :String} }
YAML
Type: AWS::InspectorV2::Filter Properties: Description:StringFilterAction:StringFilterCriteria:FilterCriteriaName:String
Properties
Description-
A description of the filter.
Required: No
Type: String
Update requires: No interruption
FilterAction-
The action that is to be applied to the findings that match the filter.
Required: Yes
Type: String
Update requires: No interruption
FilterCriteria-
Details on the filter criteria associated with this filter.
Required: Yes
Type: FilterCriteria
Update requires: No interruption
Name-
The name of the filter.
Required: Yes
Type: String
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the ARN of the filter. For example:
arn:aws:inspector2:us-east-1:012345678901:owner/012345678901/filter/c1c0fe5d28e39baa
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.