FilterArgs

data class FilterArgs(val action: Output<String>? = null, val description: Output<String>? = null, val detectorId: Output<String>? = null, val findingCriteria: Output<FilterFindingCriteriaArgs>? = null, val name: Output<String>? = null, val rank: Output<Int>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<FilterArgs>

Resource Type definition for AWS::GuardDuty::Filter

Constructors

Link copied to clipboard
constructor(action: Output<String>? = null, description: Output<String>? = null, detectorId: Output<String>? = null, findingCriteria: Output<FilterFindingCriteriaArgs>? = null, name: Output<String>? = null, rank: Output<Int>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val action: Output<String>? = null

Specifies the action that is to be applied to the findings that match the filter.

Link copied to clipboard
val description: Output<String>? = null

The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses ( { } , [ ] , and ( ) ), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.

Link copied to clipboard
val detectorId: Output<String>? = null

The detector ID associated with the GuardDuty account for which you want to create a filter. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

Link copied to clipboard

Represents the criteria to be used in the filter for querying findings.

Link copied to clipboard
val name: Output<String>? = null

The name of the filter. Valid characters include period (.), underscore (_), dash (-), and alphanumeric characters. A whitespace is considered to be an invalid character.

Link copied to clipboard
val rank: Output<Int>? = null

Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings. The minimum value for this property is 1 and the maximum is 100. By default, filters may not be created in the same order as they are ranked. To ensure that the filters are created in the expected order, you can use an optional attribute, DependsOn , with the following syntax: "DependsOn":[ "ObjectName" ] .

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

The tags to be added to a new filter resource. Each tag consists of a key and an optional value, both of which you define. For more information, see Tag .

Functions

Link copied to clipboard
open override fun toJava(): FilterArgs