1. Packages
  2. AWS Classic
  3. API Docs
  4. macie
  5. FindingsFilter

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.macie.FindingsFilter

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

    Provides a resource to manage an Amazon Macie Findings Filter.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.macie2.Account("example", {});
    const test = new aws.macie.FindingsFilter("test", {
        name: "NAME OF THE FINDINGS FILTER",
        description: "DESCRIPTION",
        position: 1,
        action: "ARCHIVE",
        findingCriteria: {
            criterions: [{
                field: "region",
                eqs: [current.name],
            }],
        },
    }, {
        dependsOn: [testAwsMacie2Account],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.macie2.Account("example")
    test = aws.macie.FindingsFilter("test",
        name="NAME OF THE FINDINGS FILTER",
        description="DESCRIPTION",
        position=1,
        action="ARCHIVE",
        finding_criteria=aws.macie.FindingsFilterFindingCriteriaArgs(
            criterions=[aws.macie.FindingsFilterFindingCriteriaCriterionArgs(
                field="region",
                eqs=[current["name"]],
            )],
        ),
        opts=pulumi.ResourceOptions(depends_on=[test_aws_macie2_account]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/macie"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/macie2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := macie2.NewAccount(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		_, err = macie.NewFindingsFilter(ctx, "test", &macie.FindingsFilterArgs{
    			Name:        pulumi.String("NAME OF THE FINDINGS FILTER"),
    			Description: pulumi.String("DESCRIPTION"),
    			Position:    pulumi.Int(1),
    			Action:      pulumi.String("ARCHIVE"),
    			FindingCriteria: &macie.FindingsFilterFindingCriteriaArgs{
    				Criterions: macie.FindingsFilterFindingCriteriaCriterionArray{
    					&macie.FindingsFilterFindingCriteriaCriterionArgs{
    						Field: pulumi.String("region"),
    						Eqs: pulumi.StringArray{
    							current.Name,
    						},
    					},
    				},
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			testAwsMacie2Account,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Macie2.Account("example");
    
        var test = new Aws.Macie.FindingsFilter("test", new()
        {
            Name = "NAME OF THE FINDINGS FILTER",
            Description = "DESCRIPTION",
            Position = 1,
            Action = "ARCHIVE",
            FindingCriteria = new Aws.Macie.Inputs.FindingsFilterFindingCriteriaArgs
            {
                Criterions = new[]
                {
                    new Aws.Macie.Inputs.FindingsFilterFindingCriteriaCriterionArgs
                    {
                        Field = "region",
                        Eqs = new[]
                        {
                            current.Name,
                        },
                    },
                },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                testAwsMacie2Account, 
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.macie2.Account;
    import com.pulumi.aws.macie.FindingsFilter;
    import com.pulumi.aws.macie.FindingsFilterArgs;
    import com.pulumi.aws.macie.inputs.FindingsFilterFindingCriteriaArgs;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Account("example");
    
            var test = new FindingsFilter("test", FindingsFilterArgs.builder()        
                .name("NAME OF THE FINDINGS FILTER")
                .description("DESCRIPTION")
                .position(1)
                .action("ARCHIVE")
                .findingCriteria(FindingsFilterFindingCriteriaArgs.builder()
                    .criterions(FindingsFilterFindingCriteriaCriterionArgs.builder()
                        .field("region")
                        .eqs(current.name())
                        .build())
                    .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(testAwsMacie2Account)
                    .build());
    
        }
    }
    
    resources:
      example:
        type: aws:macie2:Account
      test:
        type: aws:macie:FindingsFilter
        properties:
          name: NAME OF THE FINDINGS FILTER
          description: DESCRIPTION
          position: 1
          action: ARCHIVE
          findingCriteria:
            criterions:
              - field: region
                eqs:
                  - ${current.name}
        options:
          dependson:
            - ${testAwsMacie2Account}
    

    Create FindingsFilter Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FindingsFilter(name: string, args: FindingsFilterArgs, opts?: CustomResourceOptions);
    @overload
    def FindingsFilter(resource_name: str,
                       args: FindingsFilterArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def FindingsFilter(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       action: Optional[str] = None,
                       finding_criteria: Optional[FindingsFilterFindingCriteriaArgs] = None,
                       description: Optional[str] = None,
                       name: Optional[str] = None,
                       name_prefix: Optional[str] = None,
                       position: Optional[int] = None,
                       tags: Optional[Mapping[str, str]] = None)
    func NewFindingsFilter(ctx *Context, name string, args FindingsFilterArgs, opts ...ResourceOption) (*FindingsFilter, error)
    public FindingsFilter(string name, FindingsFilterArgs args, CustomResourceOptions? opts = null)
    public FindingsFilter(String name, FindingsFilterArgs args)
    public FindingsFilter(String name, FindingsFilterArgs args, CustomResourceOptions options)
    
    type: aws:macie:FindingsFilter
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FindingsFilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FindingsFilterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FindingsFilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FindingsFilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FindingsFilterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var findingsFilterResource = new Aws.Macie.FindingsFilter("findingsFilterResource", new()
    {
        Action = "string",
        FindingCriteria = new Aws.Macie.Inputs.FindingsFilterFindingCriteriaArgs
        {
            Criterions = new[]
            {
                new Aws.Macie.Inputs.FindingsFilterFindingCriteriaCriterionArgs
                {
                    Field = "string",
                    EqExactMatches = new[]
                    {
                        "string",
                    },
                    Eqs = new[]
                    {
                        "string",
                    },
                    Gt = "string",
                    Gte = "string",
                    Lt = "string",
                    Lte = "string",
                    Neqs = new[]
                    {
                        "string",
                    },
                },
            },
        },
        Description = "string",
        Name = "string",
        NamePrefix = "string",
        Position = 0,
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := macie.NewFindingsFilter(ctx, "findingsFilterResource", &macie.FindingsFilterArgs{
    	Action: pulumi.String("string"),
    	FindingCriteria: &macie.FindingsFilterFindingCriteriaArgs{
    		Criterions: macie.FindingsFilterFindingCriteriaCriterionArray{
    			&macie.FindingsFilterFindingCriteriaCriterionArgs{
    				Field: pulumi.String("string"),
    				EqExactMatches: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Eqs: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Gt:  pulumi.String("string"),
    				Gte: pulumi.String("string"),
    				Lt:  pulumi.String("string"),
    				Lte: pulumi.String("string"),
    				Neqs: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	NamePrefix:  pulumi.String("string"),
    	Position:    pulumi.Int(0),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var findingsFilterResource = new FindingsFilter("findingsFilterResource", FindingsFilterArgs.builder()        
        .action("string")
        .findingCriteria(FindingsFilterFindingCriteriaArgs.builder()
            .criterions(FindingsFilterFindingCriteriaCriterionArgs.builder()
                .field("string")
                .eqExactMatches("string")
                .eqs("string")
                .gt("string")
                .gte("string")
                .lt("string")
                .lte("string")
                .neqs("string")
                .build())
            .build())
        .description("string")
        .name("string")
        .namePrefix("string")
        .position(0)
        .tags(Map.of("string", "string"))
        .build());
    
    findings_filter_resource = aws.macie.FindingsFilter("findingsFilterResource",
        action="string",
        finding_criteria=aws.macie.FindingsFilterFindingCriteriaArgs(
            criterions=[aws.macie.FindingsFilterFindingCriteriaCriterionArgs(
                field="string",
                eq_exact_matches=["string"],
                eqs=["string"],
                gt="string",
                gte="string",
                lt="string",
                lte="string",
                neqs=["string"],
            )],
        ),
        description="string",
        name="string",
        name_prefix="string",
        position=0,
        tags={
            "string": "string",
        })
    
    const findingsFilterResource = new aws.macie.FindingsFilter("findingsFilterResource", {
        action: "string",
        findingCriteria: {
            criterions: [{
                field: "string",
                eqExactMatches: ["string"],
                eqs: ["string"],
                gt: "string",
                gte: "string",
                lt: "string",
                lte: "string",
                neqs: ["string"],
            }],
        },
        description: "string",
        name: "string",
        namePrefix: "string",
        position: 0,
        tags: {
            string: "string",
        },
    });
    
    type: aws:macie:FindingsFilter
    properties:
        action: string
        description: string
        findingCriteria:
            criterions:
                - eqExactMatches:
                    - string
                  eqs:
                    - string
                  field: string
                  gt: string
                  gte: string
                  lt: string
                  lte: string
                  neqs:
                    - string
        name: string
        namePrefix: string
        position: 0
        tags:
            string: string
    

    FindingsFilter Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FindingsFilter resource accepts the following input properties:

    Action string
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    FindingCriteria FindingsFilterFindingCriteria
    The criteria to use to filter findings.
    Description string
    A custom description of the filter. The description can contain as many as 512 characters.
    Name string
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    NamePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    Position int
    The position of the 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 the findings.
    Tags Dictionary<string, string>
    A map of key-value pairs that specifies the tags to associate with the filter.
    Action string
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    FindingCriteria FindingsFilterFindingCriteriaArgs
    The criteria to use to filter findings.
    Description string
    A custom description of the filter. The description can contain as many as 512 characters.
    Name string
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    NamePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    Position int
    The position of the 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 the findings.
    Tags map[string]string
    A map of key-value pairs that specifies the tags to associate with the filter.
    action String
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    findingCriteria FindingsFilterFindingCriteria
    The criteria to use to filter findings.
    description String
    A custom description of the filter. The description can contain as many as 512 characters.
    name String
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    namePrefix String
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    position Integer
    The position of the 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 the findings.
    tags Map<String,String>
    A map of key-value pairs that specifies the tags to associate with the filter.
    action string
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    findingCriteria FindingsFilterFindingCriteria
    The criteria to use to filter findings.
    description string
    A custom description of the filter. The description can contain as many as 512 characters.
    name string
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    namePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    position number
    The position of the 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 the findings.
    tags {[key: string]: string}
    A map of key-value pairs that specifies the tags to associate with the filter.
    action str
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    finding_criteria FindingsFilterFindingCriteriaArgs
    The criteria to use to filter findings.
    description str
    A custom description of the filter. The description can contain as many as 512 characters.
    name str
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    name_prefix str
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    position int
    The position of the 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 the findings.
    tags Mapping[str, str]
    A map of key-value pairs that specifies the tags to associate with the filter.
    action String
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    findingCriteria Property Map
    The criteria to use to filter findings.
    description String
    A custom description of the filter. The description can contain as many as 512 characters.
    name String
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    namePrefix String
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    position Number
    The position of the 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 the findings.
    tags Map<String>
    A map of key-value pairs that specifies the tags to associate with the filter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FindingsFilter resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the Findings Filter.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Arn string
    The Amazon Resource Name (ARN) of the Findings Filter.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) of the Findings Filter.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    arn string
    The Amazon Resource Name (ARN) of the Findings Filter.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    arn str
    The Amazon Resource Name (ARN) of the Findings Filter.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) of the Findings Filter.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    Look up Existing FindingsFilter Resource

    Get an existing FindingsFilter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FindingsFilterState, opts?: CustomResourceOptions): FindingsFilter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            arn: Optional[str] = None,
            description: Optional[str] = None,
            finding_criteria: Optional[FindingsFilterFindingCriteriaArgs] = None,
            name: Optional[str] = None,
            name_prefix: Optional[str] = None,
            position: Optional[int] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> FindingsFilter
    func GetFindingsFilter(ctx *Context, name string, id IDInput, state *FindingsFilterState, opts ...ResourceOption) (*FindingsFilter, error)
    public static FindingsFilter Get(string name, Input<string> id, FindingsFilterState? state, CustomResourceOptions? opts = null)
    public static FindingsFilter get(String name, Output<String> id, FindingsFilterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Action string
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    Arn string
    The Amazon Resource Name (ARN) of the Findings Filter.
    Description string
    A custom description of the filter. The description can contain as many as 512 characters.
    FindingCriteria FindingsFilterFindingCriteria
    The criteria to use to filter findings.
    Name string
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    NamePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    Position int
    The position of the 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 the findings.
    Tags Dictionary<string, string>
    A map of key-value pairs that specifies the tags to associate with the filter.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Action string
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    Arn string
    The Amazon Resource Name (ARN) of the Findings Filter.
    Description string
    A custom description of the filter. The description can contain as many as 512 characters.
    FindingCriteria FindingsFilterFindingCriteriaArgs
    The criteria to use to filter findings.
    Name string
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    NamePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    Position int
    The position of the 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 the findings.
    Tags map[string]string
    A map of key-value pairs that specifies the tags to associate with the filter.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    action String
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    arn String
    The Amazon Resource Name (ARN) of the Findings Filter.
    description String
    A custom description of the filter. The description can contain as many as 512 characters.
    findingCriteria FindingsFilterFindingCriteria
    The criteria to use to filter findings.
    name String
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    namePrefix String
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    position Integer
    The position of the 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 the findings.
    tags Map<String,String>
    A map of key-value pairs that specifies the tags to associate with the filter.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    action string
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    arn string
    The Amazon Resource Name (ARN) of the Findings Filter.
    description string
    A custom description of the filter. The description can contain as many as 512 characters.
    findingCriteria FindingsFilterFindingCriteria
    The criteria to use to filter findings.
    name string
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    namePrefix string
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    position number
    The position of the 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 the findings.
    tags {[key: string]: string}
    A map of key-value pairs that specifies the tags to associate with the filter.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    action str
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    arn str
    The Amazon Resource Name (ARN) of the Findings Filter.
    description str
    A custom description of the filter. The description can contain as many as 512 characters.
    finding_criteria FindingsFilterFindingCriteriaArgs
    The criteria to use to filter findings.
    name str
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    name_prefix str
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    position int
    The position of the 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 the findings.
    tags Mapping[str, str]
    A map of key-value pairs that specifies the tags to associate with the filter.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    action String
    The action to perform on findings that meet the filter criteria (finding_criteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
    arn String
    The Amazon Resource Name (ARN) of the Findings Filter.
    description String
    A custom description of the filter. The description can contain as many as 512 characters.
    findingCriteria Property Map
    The criteria to use to filter findings.
    name String
    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
    namePrefix String
    Creates a unique name beginning with the specified prefix. Conflicts with name.
    position Number
    The position of the 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 the findings.
    tags Map<String>
    A map of key-value pairs that specifies the tags to associate with the filter.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    Supporting Types

    FindingsFilterFindingCriteria, FindingsFilterFindingCriteriaArgs

    Criterions List<FindingsFilterFindingCriteriaCriterion>
    A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)
    Criterions []FindingsFilterFindingCriteriaCriterion
    A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)
    criterions List<FindingsFilterFindingCriteriaCriterion>
    A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)
    criterions FindingsFilterFindingCriteriaCriterion[]
    A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)
    criterions Sequence[FindingsFilterFindingCriteriaCriterion]
    A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)
    criterions List<Property Map>
    A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)

    FindingsFilterFindingCriteriaCriterion, FindingsFilterFindingCriteriaCriterionArgs

    Field string
    The name of the field to be evaluated.
    EqExactMatches List<string>
    The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
    Eqs List<string>
    The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    Gt string
    The value for the property is greater than the specified value.
    Gte string
    The value for the property is greater than or equal to the specified value.
    Lt string
    The value for the property is less than the specified value.
    Lte string
    The value for the property is less than or equal to the specified value.
    Neqs List<string>
    The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    Field string
    The name of the field to be evaluated.
    EqExactMatches []string
    The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
    Eqs []string
    The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    Gt string
    The value for the property is greater than the specified value.
    Gte string
    The value for the property is greater than or equal to the specified value.
    Lt string
    The value for the property is less than the specified value.
    Lte string
    The value for the property is less than or equal to the specified value.
    Neqs []string
    The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    field String
    The name of the field to be evaluated.
    eqExactMatches List<String>
    The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
    eqs List<String>
    The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    gt String
    The value for the property is greater than the specified value.
    gte String
    The value for the property is greater than or equal to the specified value.
    lt String
    The value for the property is less than the specified value.
    lte String
    The value for the property is less than or equal to the specified value.
    neqs List<String>
    The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    field string
    The name of the field to be evaluated.
    eqExactMatches string[]
    The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
    eqs string[]
    The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    gt string
    The value for the property is greater than the specified value.
    gte string
    The value for the property is greater than or equal to the specified value.
    lt string
    The value for the property is less than the specified value.
    lte string
    The value for the property is less than or equal to the specified value.
    neqs string[]
    The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    field str
    The name of the field to be evaluated.
    eq_exact_matches Sequence[str]
    The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
    eqs Sequence[str]
    The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    gt str
    The value for the property is greater than the specified value.
    gte str
    The value for the property is greater than or equal to the specified value.
    lt str
    The value for the property is less than the specified value.
    lte str
    The value for the property is less than or equal to the specified value.
    neqs Sequence[str]
    The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    field String
    The name of the field to be evaluated.
    eqExactMatches List<String>
    The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.
    eqs List<String>
    The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
    gt String
    The value for the property is greater than the specified value.
    gte String
    The value for the property is greater than or equal to the specified value.
    lt String
    The value for the property is less than the specified value.
    lte String
    The value for the property is less than or equal to the specified value.
    neqs List<String>
    The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.

    Import

    Using pulumi import, import aws_macie2_findings_filter using the id. For example:

    $ pulumi import aws:macie/findingsFilter:FindingsFilter example abcd1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi