macie

package
v6.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomDataIdentifier

type CustomDataIdentifier struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the custom data identifier.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// A custom description of the custom data identifier. The description can contain as many as 512 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.
	IgnoreWords pulumi.StringArrayOutput `pulumi:"ignoreWords"`
	// An array that lists specific character sequences (keywords), one of which must be within proximity (`maximumMatchDistance`) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3 - 90 characters. Keywords aren't case sensitive.
	Keywords pulumi.StringArrayOutput `pulumi:"keywords"`
	// The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.
	MaximumMatchDistance pulumi.IntOutput `pulumi:"maximumMatchDistance"`
	// A custom name for the custom data identifier. The name can contain as many as 128 characters. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringOutput `pulumi:"namePrefix"`
	// The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
	Regex pulumi.StringPtrOutput `pulumi:"regex"`
	// A map of key-value pairs that specifies the tags to associate with the custom data identifier.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage an [AWS Macie Custom Data Identifier](https://docs.aws.amazon.com/macie/latest/APIReference/custom-data-identifiers-id.html).

## Example Usage

```go 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.NewCustomDataIdentifier(ctx, "example", &macie.CustomDataIdentifierArgs{
			Name:                 pulumi.String("NAME OF CUSTOM DATA IDENTIFIER"),
			Regex:                pulumi.String("[0-9]{3}-[0-9]{2}-[0-9]{4}"),
			Description:          pulumi.String("DESCRIPTION"),
			MaximumMatchDistance: pulumi.Int(10),
			Keywords: pulumi.StringArray{
				pulumi.String("keyword"),
			},
			IgnoreWords: pulumi.StringArray{
				pulumi.String("ignore"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			test,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_macie2_custom_data_identifier` using the id. For example:

```sh $ pulumi import aws:macie/customDataIdentifier:CustomDataIdentifier example abcd1 ```

func GetCustomDataIdentifier

func GetCustomDataIdentifier(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomDataIdentifierState, opts ...pulumi.ResourceOption) (*CustomDataIdentifier, error)

GetCustomDataIdentifier gets an existing CustomDataIdentifier resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomDataIdentifier

func NewCustomDataIdentifier(ctx *pulumi.Context,
	name string, args *CustomDataIdentifierArgs, opts ...pulumi.ResourceOption) (*CustomDataIdentifier, error)

NewCustomDataIdentifier registers a new resource with the given unique name, arguments, and options.

func (*CustomDataIdentifier) ElementType

func (*CustomDataIdentifier) ElementType() reflect.Type

func (*CustomDataIdentifier) ToCustomDataIdentifierOutput

func (i *CustomDataIdentifier) ToCustomDataIdentifierOutput() CustomDataIdentifierOutput

func (*CustomDataIdentifier) ToCustomDataIdentifierOutputWithContext

func (i *CustomDataIdentifier) ToCustomDataIdentifierOutputWithContext(ctx context.Context) CustomDataIdentifierOutput

type CustomDataIdentifierArgs

type CustomDataIdentifierArgs struct {
	// A custom description of the custom data identifier. The description can contain as many as 512 characters.
	Description pulumi.StringPtrInput
	// An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.
	IgnoreWords pulumi.StringArrayInput
	// An array that lists specific character sequences (keywords), one of which must be within proximity (`maximumMatchDistance`) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3 - 90 characters. Keywords aren't case sensitive.
	Keywords pulumi.StringArrayInput
	// The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.
	MaximumMatchDistance pulumi.IntPtrInput
	// A custom name for the custom data identifier. The name can contain as many as 128 characters. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
	Regex pulumi.StringPtrInput
	// A map of key-value pairs that specifies the tags to associate with the custom data identifier.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a CustomDataIdentifier resource.

func (CustomDataIdentifierArgs) ElementType

func (CustomDataIdentifierArgs) ElementType() reflect.Type

type CustomDataIdentifierArray

type CustomDataIdentifierArray []CustomDataIdentifierInput

func (CustomDataIdentifierArray) ElementType

func (CustomDataIdentifierArray) ElementType() reflect.Type

func (CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutput

func (i CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput

func (CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutputWithContext

func (i CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutputWithContext(ctx context.Context) CustomDataIdentifierArrayOutput

type CustomDataIdentifierArrayInput

type CustomDataIdentifierArrayInput interface {
	pulumi.Input

	ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput
	ToCustomDataIdentifierArrayOutputWithContext(context.Context) CustomDataIdentifierArrayOutput
}

CustomDataIdentifierArrayInput is an input type that accepts CustomDataIdentifierArray and CustomDataIdentifierArrayOutput values. You can construct a concrete instance of `CustomDataIdentifierArrayInput` via:

CustomDataIdentifierArray{ CustomDataIdentifierArgs{...} }

type CustomDataIdentifierArrayOutput

type CustomDataIdentifierArrayOutput struct{ *pulumi.OutputState }

func (CustomDataIdentifierArrayOutput) ElementType

func (CustomDataIdentifierArrayOutput) Index

func (CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutput

func (o CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput

func (CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutputWithContext

func (o CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutputWithContext(ctx context.Context) CustomDataIdentifierArrayOutput

type CustomDataIdentifierInput

type CustomDataIdentifierInput interface {
	pulumi.Input

	ToCustomDataIdentifierOutput() CustomDataIdentifierOutput
	ToCustomDataIdentifierOutputWithContext(ctx context.Context) CustomDataIdentifierOutput
}

type CustomDataIdentifierMap

type CustomDataIdentifierMap map[string]CustomDataIdentifierInput

func (CustomDataIdentifierMap) ElementType

func (CustomDataIdentifierMap) ElementType() reflect.Type

func (CustomDataIdentifierMap) ToCustomDataIdentifierMapOutput

func (i CustomDataIdentifierMap) ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput

func (CustomDataIdentifierMap) ToCustomDataIdentifierMapOutputWithContext

func (i CustomDataIdentifierMap) ToCustomDataIdentifierMapOutputWithContext(ctx context.Context) CustomDataIdentifierMapOutput

type CustomDataIdentifierMapInput

type CustomDataIdentifierMapInput interface {
	pulumi.Input

	ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput
	ToCustomDataIdentifierMapOutputWithContext(context.Context) CustomDataIdentifierMapOutput
}

CustomDataIdentifierMapInput is an input type that accepts CustomDataIdentifierMap and CustomDataIdentifierMapOutput values. You can construct a concrete instance of `CustomDataIdentifierMapInput` via:

CustomDataIdentifierMap{ "key": CustomDataIdentifierArgs{...} }

type CustomDataIdentifierMapOutput

type CustomDataIdentifierMapOutput struct{ *pulumi.OutputState }

func (CustomDataIdentifierMapOutput) ElementType

func (CustomDataIdentifierMapOutput) MapIndex

func (CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutput

func (o CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput

func (CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutputWithContext

func (o CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutputWithContext(ctx context.Context) CustomDataIdentifierMapOutput

type CustomDataIdentifierOutput

type CustomDataIdentifierOutput struct{ *pulumi.OutputState }

func (CustomDataIdentifierOutput) Arn

The Amazon Resource Name (ARN) of the custom data identifier.

func (CustomDataIdentifierOutput) CreatedAt

The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.

func (CustomDataIdentifierOutput) Description

A custom description of the custom data identifier. The description can contain as many as 512 characters.

func (CustomDataIdentifierOutput) ElementType

func (CustomDataIdentifierOutput) ElementType() reflect.Type

func (CustomDataIdentifierOutput) IgnoreWords

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.

func (CustomDataIdentifierOutput) Keywords

An array that lists specific character sequences (keywords), one of which must be within proximity (`maximumMatchDistance`) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3 - 90 characters. Keywords aren't case sensitive.

func (CustomDataIdentifierOutput) MaximumMatchDistance

func (o CustomDataIdentifierOutput) MaximumMatchDistance() pulumi.IntOutput

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

func (CustomDataIdentifierOutput) Name

A custom name for the custom data identifier. The name can contain as many as 128 characters. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.

func (CustomDataIdentifierOutput) NamePrefix

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (CustomDataIdentifierOutput) Regex

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

func (CustomDataIdentifierOutput) Tags

A map of key-value pairs that specifies the tags to associate with the custom data identifier.

func (CustomDataIdentifierOutput) TagsAll deprecated

Deprecated: Please use `tags` instead.

func (CustomDataIdentifierOutput) ToCustomDataIdentifierOutput

func (o CustomDataIdentifierOutput) ToCustomDataIdentifierOutput() CustomDataIdentifierOutput

func (CustomDataIdentifierOutput) ToCustomDataIdentifierOutputWithContext

func (o CustomDataIdentifierOutput) ToCustomDataIdentifierOutputWithContext(ctx context.Context) CustomDataIdentifierOutput

type CustomDataIdentifierState

type CustomDataIdentifierState struct {
	// The Amazon Resource Name (ARN) of the custom data identifier.
	Arn pulumi.StringPtrInput
	// The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
	CreatedAt pulumi.StringPtrInput
	// A custom description of the custom data identifier. The description can contain as many as 512 characters.
	Description pulumi.StringPtrInput
	// An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.
	IgnoreWords pulumi.StringArrayInput
	// An array that lists specific character sequences (keywords), one of which must be within proximity (`maximumMatchDistance`) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3 - 90 characters. Keywords aren't case sensitive.
	Keywords pulumi.StringArrayInput
	// The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.
	MaximumMatchDistance pulumi.IntPtrInput
	// A custom name for the custom data identifier. The name can contain as many as 128 characters. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
	Regex pulumi.StringPtrInput
	// A map of key-value pairs that specifies the tags to associate with the custom data identifier.
	Tags pulumi.StringMapInput
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (CustomDataIdentifierState) ElementType

func (CustomDataIdentifierState) ElementType() reflect.Type

type FindingsFilter

type FindingsFilter struct {
	pulumi.CustomResourceState

	// The action to perform on findings that meet the filter criteria (`findingCriteria`). Valid values are: `ARCHIVE`, suppress (automatically archive) the findings; and, `NOOP`, don't perform any action on the findings.
	Action pulumi.StringOutput `pulumi:"action"`
	// The Amazon Resource Name (ARN) of the Findings Filter.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A custom description of the filter. The description can contain as many as 512 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The criteria to use to filter findings.
	FindingCriteria FindingsFilterFindingCriteriaOutput `pulumi:"findingCriteria"`
	// 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 `namePrefix`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringOutput `pulumi:"namePrefix"`
	// 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.
	Position pulumi.IntOutput `pulumi:"position"`
	// A map of key-value pairs that specifies the tags to associate with the filter.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage an [Amazon Macie Findings Filter](https://docs.aws.amazon.com/macie/latest/APIReference/findingsfilters-id.html).

## Example Usage

```go 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
	})
}

```

## Import

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

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

func GetFindingsFilter

func GetFindingsFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FindingsFilterState, opts ...pulumi.ResourceOption) (*FindingsFilter, error)

GetFindingsFilter gets an existing FindingsFilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFindingsFilter

func NewFindingsFilter(ctx *pulumi.Context,
	name string, args *FindingsFilterArgs, opts ...pulumi.ResourceOption) (*FindingsFilter, error)

NewFindingsFilter registers a new resource with the given unique name, arguments, and options.

func (*FindingsFilter) ElementType

func (*FindingsFilter) ElementType() reflect.Type

func (*FindingsFilter) ToFindingsFilterOutput

func (i *FindingsFilter) ToFindingsFilterOutput() FindingsFilterOutput

func (*FindingsFilter) ToFindingsFilterOutputWithContext

func (i *FindingsFilter) ToFindingsFilterOutputWithContext(ctx context.Context) FindingsFilterOutput

type FindingsFilterArgs

type FindingsFilterArgs struct {
	// The action to perform on findings that meet the filter criteria (`findingCriteria`). Valid values are: `ARCHIVE`, suppress (automatically archive) the findings; and, `NOOP`, don't perform any action on the findings.
	Action pulumi.StringInput
	// A custom description of the filter. The description can contain as many as 512 characters.
	Description pulumi.StringPtrInput
	// The criteria to use to filter findings.
	FindingCriteria FindingsFilterFindingCriteriaInput
	// 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 `namePrefix`.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// 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.
	Position pulumi.IntPtrInput
	// A map of key-value pairs that specifies the tags to associate with the filter.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a FindingsFilter resource.

func (FindingsFilterArgs) ElementType

func (FindingsFilterArgs) ElementType() reflect.Type

type FindingsFilterArray

type FindingsFilterArray []FindingsFilterInput

func (FindingsFilterArray) ElementType

func (FindingsFilterArray) ElementType() reflect.Type

func (FindingsFilterArray) ToFindingsFilterArrayOutput

func (i FindingsFilterArray) ToFindingsFilterArrayOutput() FindingsFilterArrayOutput

func (FindingsFilterArray) ToFindingsFilterArrayOutputWithContext

func (i FindingsFilterArray) ToFindingsFilterArrayOutputWithContext(ctx context.Context) FindingsFilterArrayOutput

type FindingsFilterArrayInput

type FindingsFilterArrayInput interface {
	pulumi.Input

	ToFindingsFilterArrayOutput() FindingsFilterArrayOutput
	ToFindingsFilterArrayOutputWithContext(context.Context) FindingsFilterArrayOutput
}

FindingsFilterArrayInput is an input type that accepts FindingsFilterArray and FindingsFilterArrayOutput values. You can construct a concrete instance of `FindingsFilterArrayInput` via:

FindingsFilterArray{ FindingsFilterArgs{...} }

type FindingsFilterArrayOutput

type FindingsFilterArrayOutput struct{ *pulumi.OutputState }

func (FindingsFilterArrayOutput) ElementType

func (FindingsFilterArrayOutput) ElementType() reflect.Type

func (FindingsFilterArrayOutput) Index

func (FindingsFilterArrayOutput) ToFindingsFilterArrayOutput

func (o FindingsFilterArrayOutput) ToFindingsFilterArrayOutput() FindingsFilterArrayOutput

func (FindingsFilterArrayOutput) ToFindingsFilterArrayOutputWithContext

func (o FindingsFilterArrayOutput) ToFindingsFilterArrayOutputWithContext(ctx context.Context) FindingsFilterArrayOutput

type FindingsFilterFindingCriteria

type FindingsFilterFindingCriteria struct {
	// A condition that specifies the property, operator, and one or more values to use to filter the results.  (documented below)
	Criterions []FindingsFilterFindingCriteriaCriterion `pulumi:"criterions"`
}

type FindingsFilterFindingCriteriaArgs

type FindingsFilterFindingCriteriaArgs struct {
	// A condition that specifies the property, operator, and one or more values to use to filter the results.  (documented below)
	Criterions FindingsFilterFindingCriteriaCriterionArrayInput `pulumi:"criterions"`
}

func (FindingsFilterFindingCriteriaArgs) ElementType

func (FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutput

func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutput() FindingsFilterFindingCriteriaOutput

func (FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutputWithContext

func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaOutput

func (FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutput

func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput

func (FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutputWithContext

func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaPtrOutput

type FindingsFilterFindingCriteriaCriterion

type FindingsFilterFindingCriteriaCriterion struct {
	// 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.
	EqExactMatches []string `pulumi:"eqExactMatches"`
	// The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
	Eqs []string `pulumi:"eqs"`
	// The name of the field to be evaluated.
	Field string `pulumi:"field"`
	// The value for the property is greater than the specified value.
	Gt *string `pulumi:"gt"`
	// The value for the property is greater than or equal to the specified value.
	Gte *string `pulumi:"gte"`
	// The value for the property is less than the specified value.
	Lt *string `pulumi:"lt"`
	// The value for the property is less than or equal to the specified value.
	Lte *string `pulumi:"lte"`
	// 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.
	Neqs []string `pulumi:"neqs"`
}

type FindingsFilterFindingCriteriaCriterionArgs

type FindingsFilterFindingCriteriaCriterionArgs struct {
	// 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.
	EqExactMatches pulumi.StringArrayInput `pulumi:"eqExactMatches"`
	// The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
	Eqs pulumi.StringArrayInput `pulumi:"eqs"`
	// The name of the field to be evaluated.
	Field pulumi.StringInput `pulumi:"field"`
	// The value for the property is greater than the specified value.
	Gt pulumi.StringPtrInput `pulumi:"gt"`
	// The value for the property is greater than or equal to the specified value.
	Gte pulumi.StringPtrInput `pulumi:"gte"`
	// The value for the property is less than the specified value.
	Lt pulumi.StringPtrInput `pulumi:"lt"`
	// The value for the property is less than or equal to the specified value.
	Lte pulumi.StringPtrInput `pulumi:"lte"`
	// 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.
	Neqs pulumi.StringArrayInput `pulumi:"neqs"`
}

func (FindingsFilterFindingCriteriaCriterionArgs) ElementType

func (FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutput

func (i FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutput() FindingsFilterFindingCriteriaCriterionOutput

func (FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutputWithContext

func (i FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaCriterionOutput

type FindingsFilterFindingCriteriaCriterionArray

type FindingsFilterFindingCriteriaCriterionArray []FindingsFilterFindingCriteriaCriterionInput

func (FindingsFilterFindingCriteriaCriterionArray) ElementType

func (FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutput

func (i FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutput() FindingsFilterFindingCriteriaCriterionArrayOutput

func (FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext

func (i FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaCriterionArrayOutput

type FindingsFilterFindingCriteriaCriterionArrayInput

type FindingsFilterFindingCriteriaCriterionArrayInput interface {
	pulumi.Input

	ToFindingsFilterFindingCriteriaCriterionArrayOutput() FindingsFilterFindingCriteriaCriterionArrayOutput
	ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext(context.Context) FindingsFilterFindingCriteriaCriterionArrayOutput
}

FindingsFilterFindingCriteriaCriterionArrayInput is an input type that accepts FindingsFilterFindingCriteriaCriterionArray and FindingsFilterFindingCriteriaCriterionArrayOutput values. You can construct a concrete instance of `FindingsFilterFindingCriteriaCriterionArrayInput` via:

FindingsFilterFindingCriteriaCriterionArray{ FindingsFilterFindingCriteriaCriterionArgs{...} }

type FindingsFilterFindingCriteriaCriterionArrayOutput

type FindingsFilterFindingCriteriaCriterionArrayOutput struct{ *pulumi.OutputState }

func (FindingsFilterFindingCriteriaCriterionArrayOutput) ElementType

func (FindingsFilterFindingCriteriaCriterionArrayOutput) Index

func (FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutput

func (o FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutput() FindingsFilterFindingCriteriaCriterionArrayOutput

func (FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext

func (o FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaCriterionArrayOutput

type FindingsFilterFindingCriteriaCriterionInput

type FindingsFilterFindingCriteriaCriterionInput interface {
	pulumi.Input

	ToFindingsFilterFindingCriteriaCriterionOutput() FindingsFilterFindingCriteriaCriterionOutput
	ToFindingsFilterFindingCriteriaCriterionOutputWithContext(context.Context) FindingsFilterFindingCriteriaCriterionOutput
}

FindingsFilterFindingCriteriaCriterionInput is an input type that accepts FindingsFilterFindingCriteriaCriterionArgs and FindingsFilterFindingCriteriaCriterionOutput values. You can construct a concrete instance of `FindingsFilterFindingCriteriaCriterionInput` via:

FindingsFilterFindingCriteriaCriterionArgs{...}

type FindingsFilterFindingCriteriaCriterionOutput

type FindingsFilterFindingCriteriaCriterionOutput struct{ *pulumi.OutputState }

func (FindingsFilterFindingCriteriaCriterionOutput) ElementType

func (FindingsFilterFindingCriteriaCriterionOutput) EqExactMatches

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.

func (FindingsFilterFindingCriteriaCriterionOutput) Eqs

The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.

func (FindingsFilterFindingCriteriaCriterionOutput) Field

The name of the field to be evaluated.

func (FindingsFilterFindingCriteriaCriterionOutput) Gt

The value for the property is greater than the specified value.

func (FindingsFilterFindingCriteriaCriterionOutput) Gte

The value for the property is greater than or equal to the specified value.

func (FindingsFilterFindingCriteriaCriterionOutput) Lt

The value for the property is less than the specified value.

func (FindingsFilterFindingCriteriaCriterionOutput) Lte

The value for the property is less than or equal to the specified value.

func (FindingsFilterFindingCriteriaCriterionOutput) Neqs

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.

func (FindingsFilterFindingCriteriaCriterionOutput) ToFindingsFilterFindingCriteriaCriterionOutput

func (o FindingsFilterFindingCriteriaCriterionOutput) ToFindingsFilterFindingCriteriaCriterionOutput() FindingsFilterFindingCriteriaCriterionOutput

func (FindingsFilterFindingCriteriaCriterionOutput) ToFindingsFilterFindingCriteriaCriterionOutputWithContext

func (o FindingsFilterFindingCriteriaCriterionOutput) ToFindingsFilterFindingCriteriaCriterionOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaCriterionOutput

type FindingsFilterFindingCriteriaInput

type FindingsFilterFindingCriteriaInput interface {
	pulumi.Input

	ToFindingsFilterFindingCriteriaOutput() FindingsFilterFindingCriteriaOutput
	ToFindingsFilterFindingCriteriaOutputWithContext(context.Context) FindingsFilterFindingCriteriaOutput
}

FindingsFilterFindingCriteriaInput is an input type that accepts FindingsFilterFindingCriteriaArgs and FindingsFilterFindingCriteriaOutput values. You can construct a concrete instance of `FindingsFilterFindingCriteriaInput` via:

FindingsFilterFindingCriteriaArgs{...}

type FindingsFilterFindingCriteriaOutput

type FindingsFilterFindingCriteriaOutput struct{ *pulumi.OutputState }

func (FindingsFilterFindingCriteriaOutput) Criterions

A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)

func (FindingsFilterFindingCriteriaOutput) ElementType

func (FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutput

func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutput() FindingsFilterFindingCriteriaOutput

func (FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutputWithContext

func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaOutput

func (FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutput

func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput

func (FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutputWithContext

func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaPtrOutput

type FindingsFilterFindingCriteriaPtrInput

type FindingsFilterFindingCriteriaPtrInput interface {
	pulumi.Input

	ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput
	ToFindingsFilterFindingCriteriaPtrOutputWithContext(context.Context) FindingsFilterFindingCriteriaPtrOutput
}

FindingsFilterFindingCriteriaPtrInput is an input type that accepts FindingsFilterFindingCriteriaArgs, FindingsFilterFindingCriteriaPtr and FindingsFilterFindingCriteriaPtrOutput values. You can construct a concrete instance of `FindingsFilterFindingCriteriaPtrInput` via:

        FindingsFilterFindingCriteriaArgs{...}

or:

        nil

type FindingsFilterFindingCriteriaPtrOutput

type FindingsFilterFindingCriteriaPtrOutput struct{ *pulumi.OutputState }

func (FindingsFilterFindingCriteriaPtrOutput) Criterions

A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)

func (FindingsFilterFindingCriteriaPtrOutput) Elem

func (FindingsFilterFindingCriteriaPtrOutput) ElementType

func (FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutput

func (o FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput

func (FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutputWithContext

func (o FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaPtrOutput

type FindingsFilterInput

type FindingsFilterInput interface {
	pulumi.Input

	ToFindingsFilterOutput() FindingsFilterOutput
	ToFindingsFilterOutputWithContext(ctx context.Context) FindingsFilterOutput
}

type FindingsFilterMap

type FindingsFilterMap map[string]FindingsFilterInput

func (FindingsFilterMap) ElementType

func (FindingsFilterMap) ElementType() reflect.Type

func (FindingsFilterMap) ToFindingsFilterMapOutput

func (i FindingsFilterMap) ToFindingsFilterMapOutput() FindingsFilterMapOutput

func (FindingsFilterMap) ToFindingsFilterMapOutputWithContext

func (i FindingsFilterMap) ToFindingsFilterMapOutputWithContext(ctx context.Context) FindingsFilterMapOutput

type FindingsFilterMapInput

type FindingsFilterMapInput interface {
	pulumi.Input

	ToFindingsFilterMapOutput() FindingsFilterMapOutput
	ToFindingsFilterMapOutputWithContext(context.Context) FindingsFilterMapOutput
}

FindingsFilterMapInput is an input type that accepts FindingsFilterMap and FindingsFilterMapOutput values. You can construct a concrete instance of `FindingsFilterMapInput` via:

FindingsFilterMap{ "key": FindingsFilterArgs{...} }

type FindingsFilterMapOutput

type FindingsFilterMapOutput struct{ *pulumi.OutputState }

func (FindingsFilterMapOutput) ElementType

func (FindingsFilterMapOutput) ElementType() reflect.Type

func (FindingsFilterMapOutput) MapIndex

func (FindingsFilterMapOutput) ToFindingsFilterMapOutput

func (o FindingsFilterMapOutput) ToFindingsFilterMapOutput() FindingsFilterMapOutput

func (FindingsFilterMapOutput) ToFindingsFilterMapOutputWithContext

func (o FindingsFilterMapOutput) ToFindingsFilterMapOutputWithContext(ctx context.Context) FindingsFilterMapOutput

type FindingsFilterOutput

type FindingsFilterOutput struct{ *pulumi.OutputState }

func (FindingsFilterOutput) Action

The action to perform on findings that meet the filter criteria (`findingCriteria`). Valid values are: `ARCHIVE`, suppress (automatically archive) the findings; and, `NOOP`, don't perform any action on the findings.

func (FindingsFilterOutput) Arn

The Amazon Resource Name (ARN) of the Findings Filter.

func (FindingsFilterOutput) Description

A custom description of the filter. The description can contain as many as 512 characters.

func (FindingsFilterOutput) ElementType

func (FindingsFilterOutput) ElementType() reflect.Type

func (FindingsFilterOutput) FindingCriteria

The criteria to use to filter findings.

func (FindingsFilterOutput) Name

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 `namePrefix`.

func (FindingsFilterOutput) NamePrefix

func (o FindingsFilterOutput) NamePrefix() pulumi.StringOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (FindingsFilterOutput) Position

func (o FindingsFilterOutput) Position() pulumi.IntOutput

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.

func (FindingsFilterOutput) Tags

A map of key-value pairs that specifies the tags to associate with the filter.

func (FindingsFilterOutput) TagsAll deprecated

Deprecated: Please use `tags` instead.

func (FindingsFilterOutput) ToFindingsFilterOutput

func (o FindingsFilterOutput) ToFindingsFilterOutput() FindingsFilterOutput

func (FindingsFilterOutput) ToFindingsFilterOutputWithContext

func (o FindingsFilterOutput) ToFindingsFilterOutputWithContext(ctx context.Context) FindingsFilterOutput

type FindingsFilterState

type FindingsFilterState struct {
	// The action to perform on findings that meet the filter criteria (`findingCriteria`). Valid values are: `ARCHIVE`, suppress (automatically archive) the findings; and, `NOOP`, don't perform any action on the findings.
	Action pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the Findings Filter.
	Arn pulumi.StringPtrInput
	// A custom description of the filter. The description can contain as many as 512 characters.
	Description pulumi.StringPtrInput
	// The criteria to use to filter findings.
	FindingCriteria FindingsFilterFindingCriteriaPtrInput
	// 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 `namePrefix`.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// 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.
	Position pulumi.IntPtrInput
	// A map of key-value pairs that specifies the tags to associate with the filter.
	Tags pulumi.StringMapInput
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (FindingsFilterState) ElementType

func (FindingsFilterState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL