macie

package
v4.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 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 added in v4.4.0

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"`
	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"`
	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/v4/go/aws/macie"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/macie2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := macie2.NewAccount(ctx, "exampleAccount", nil)
		if err != nil {
			return err
		}
		_, err = macie.NewCustomDataIdentifier(ctx, "exampleCustomDataIdentifier", &macie.CustomDataIdentifierArgs{
			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{
			aws_macie2_account.Test,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_macie2_custom_data_identifier` can be imported using the id, e.g.

```sh

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

```

func GetCustomDataIdentifier added in v4.4.0

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 added in v4.4.0

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 added in v4.4.0

func (*CustomDataIdentifier) ElementType() reflect.Type

func (*CustomDataIdentifier) ToCustomDataIdentifierOutput added in v4.4.0

func (i *CustomDataIdentifier) ToCustomDataIdentifierOutput() CustomDataIdentifierOutput

func (*CustomDataIdentifier) ToCustomDataIdentifierOutputWithContext added in v4.4.0

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

func (*CustomDataIdentifier) ToCustomDataIdentifierPtrOutput added in v4.4.0

func (i *CustomDataIdentifier) ToCustomDataIdentifierPtrOutput() CustomDataIdentifierPtrOutput

func (*CustomDataIdentifier) ToCustomDataIdentifierPtrOutputWithContext added in v4.4.0

func (i *CustomDataIdentifier) ToCustomDataIdentifierPtrOutputWithContext(ctx context.Context) CustomDataIdentifierPtrOutput

type CustomDataIdentifierArgs added in v4.4.0

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
	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 added in v4.4.0

func (CustomDataIdentifierArgs) ElementType() reflect.Type

type CustomDataIdentifierArray added in v4.4.0

type CustomDataIdentifierArray []CustomDataIdentifierInput

func (CustomDataIdentifierArray) ElementType added in v4.4.0

func (CustomDataIdentifierArray) ElementType() reflect.Type

func (CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutput added in v4.4.0

func (i CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput

func (CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutputWithContext added in v4.4.0

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

type CustomDataIdentifierArrayInput added in v4.4.0

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 added in v4.4.0

type CustomDataIdentifierArrayOutput struct{ *pulumi.OutputState }

func (CustomDataIdentifierArrayOutput) ElementType added in v4.4.0

func (CustomDataIdentifierArrayOutput) Index added in v4.4.0

func (CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutput added in v4.4.0

func (o CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput

func (CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutputWithContext added in v4.4.0

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

type CustomDataIdentifierInput added in v4.4.0

type CustomDataIdentifierInput interface {
	pulumi.Input

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

type CustomDataIdentifierMap added in v4.4.0

type CustomDataIdentifierMap map[string]CustomDataIdentifierInput

func (CustomDataIdentifierMap) ElementType added in v4.4.0

func (CustomDataIdentifierMap) ElementType() reflect.Type

func (CustomDataIdentifierMap) ToCustomDataIdentifierMapOutput added in v4.4.0

func (i CustomDataIdentifierMap) ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput

func (CustomDataIdentifierMap) ToCustomDataIdentifierMapOutputWithContext added in v4.4.0

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

type CustomDataIdentifierMapInput added in v4.4.0

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 added in v4.4.0

type CustomDataIdentifierMapOutput struct{ *pulumi.OutputState }

func (CustomDataIdentifierMapOutput) ElementType added in v4.4.0

func (CustomDataIdentifierMapOutput) MapIndex added in v4.4.0

func (CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutput added in v4.4.0

func (o CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput

func (CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutputWithContext added in v4.4.0

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

type CustomDataIdentifierOutput added in v4.4.0

type CustomDataIdentifierOutput struct{ *pulumi.OutputState }

func (CustomDataIdentifierOutput) ElementType added in v4.4.0

func (CustomDataIdentifierOutput) ElementType() reflect.Type

func (CustomDataIdentifierOutput) ToCustomDataIdentifierOutput added in v4.4.0

func (o CustomDataIdentifierOutput) ToCustomDataIdentifierOutput() CustomDataIdentifierOutput

func (CustomDataIdentifierOutput) ToCustomDataIdentifierOutputWithContext added in v4.4.0

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

func (CustomDataIdentifierOutput) ToCustomDataIdentifierPtrOutput added in v4.4.0

func (o CustomDataIdentifierOutput) ToCustomDataIdentifierPtrOutput() CustomDataIdentifierPtrOutput

func (CustomDataIdentifierOutput) ToCustomDataIdentifierPtrOutputWithContext added in v4.4.0

func (o CustomDataIdentifierOutput) ToCustomDataIdentifierPtrOutputWithContext(ctx context.Context) CustomDataIdentifierPtrOutput

type CustomDataIdentifierPtrInput added in v4.4.0

type CustomDataIdentifierPtrInput interface {
	pulumi.Input

	ToCustomDataIdentifierPtrOutput() CustomDataIdentifierPtrOutput
	ToCustomDataIdentifierPtrOutputWithContext(ctx context.Context) CustomDataIdentifierPtrOutput
}

type CustomDataIdentifierPtrOutput added in v4.4.0

type CustomDataIdentifierPtrOutput struct{ *pulumi.OutputState }

func (CustomDataIdentifierPtrOutput) Elem added in v4.15.0

func (CustomDataIdentifierPtrOutput) ElementType added in v4.4.0

func (CustomDataIdentifierPtrOutput) ToCustomDataIdentifierPtrOutput added in v4.4.0

func (o CustomDataIdentifierPtrOutput) ToCustomDataIdentifierPtrOutput() CustomDataIdentifierPtrOutput

func (CustomDataIdentifierPtrOutput) ToCustomDataIdentifierPtrOutputWithContext added in v4.4.0

func (o CustomDataIdentifierPtrOutput) ToCustomDataIdentifierPtrOutputWithContext(ctx context.Context) CustomDataIdentifierPtrOutput

type CustomDataIdentifierState added in v4.4.0

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
	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
	TagsAll pulumi.StringMapInput
}

func (CustomDataIdentifierState) ElementType added in v4.4.0

func (CustomDataIdentifierState) ElementType() reflect.Type

type FindingsFilter added in v4.4.0

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"`
	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"`
	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/v4/go/aws/macie"
"github.com/pulumi/pulumi-aws/sdk/v4/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{
			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{
							pulumi.Any(data.Aws_region.Current.Name),
						},
					},
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			aws_macie2_account.Test,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_macie2_findings_filter` can be imported using the id, e.g.

```sh

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

```

func GetFindingsFilter added in v4.4.0

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 added in v4.4.0

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 added in v4.4.0

func (*FindingsFilter) ElementType() reflect.Type

func (*FindingsFilter) ToFindingsFilterOutput added in v4.4.0

func (i *FindingsFilter) ToFindingsFilterOutput() FindingsFilterOutput

func (*FindingsFilter) ToFindingsFilterOutputWithContext added in v4.4.0

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

func (*FindingsFilter) ToFindingsFilterPtrOutput added in v4.4.0

func (i *FindingsFilter) ToFindingsFilterPtrOutput() FindingsFilterPtrOutput

func (*FindingsFilter) ToFindingsFilterPtrOutputWithContext added in v4.4.0

func (i *FindingsFilter) ToFindingsFilterPtrOutputWithContext(ctx context.Context) FindingsFilterPtrOutput

type FindingsFilterArgs added in v4.4.0

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
	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 added in v4.4.0

func (FindingsFilterArgs) ElementType() reflect.Type

type FindingsFilterArray added in v4.4.0

type FindingsFilterArray []FindingsFilterInput

func (FindingsFilterArray) ElementType added in v4.4.0

func (FindingsFilterArray) ElementType() reflect.Type

func (FindingsFilterArray) ToFindingsFilterArrayOutput added in v4.4.0

func (i FindingsFilterArray) ToFindingsFilterArrayOutput() FindingsFilterArrayOutput

func (FindingsFilterArray) ToFindingsFilterArrayOutputWithContext added in v4.4.0

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

type FindingsFilterArrayInput added in v4.4.0

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 added in v4.4.0

type FindingsFilterArrayOutput struct{ *pulumi.OutputState }

func (FindingsFilterArrayOutput) ElementType added in v4.4.0

func (FindingsFilterArrayOutput) ElementType() reflect.Type

func (FindingsFilterArrayOutput) Index added in v4.4.0

func (FindingsFilterArrayOutput) ToFindingsFilterArrayOutput added in v4.4.0

func (o FindingsFilterArrayOutput) ToFindingsFilterArrayOutput() FindingsFilterArrayOutput

func (FindingsFilterArrayOutput) ToFindingsFilterArrayOutputWithContext added in v4.4.0

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

type FindingsFilterFindingCriteria added in v4.4.0

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 added in v4.4.0

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 added in v4.4.0

func (FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutput added in v4.4.0

func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutput() FindingsFilterFindingCriteriaOutput

func (FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutputWithContext added in v4.4.0

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

func (FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutput added in v4.4.0

func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput

func (FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutputWithContext added in v4.4.0

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

type FindingsFilterFindingCriteriaCriterion added in v4.4.0

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 added in v4.4.0

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 added in v4.4.0

func (FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutput added in v4.4.0

func (i FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutput() FindingsFilterFindingCriteriaCriterionOutput

func (FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutputWithContext added in v4.4.0

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

type FindingsFilterFindingCriteriaCriterionArray added in v4.4.0

type FindingsFilterFindingCriteriaCriterionArray []FindingsFilterFindingCriteriaCriterionInput

func (FindingsFilterFindingCriteriaCriterionArray) ElementType added in v4.4.0

func (FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutput added in v4.4.0

func (i FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutput() FindingsFilterFindingCriteriaCriterionArrayOutput

func (FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext added in v4.4.0

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

type FindingsFilterFindingCriteriaCriterionArrayInput added in v4.4.0

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 added in v4.4.0

type FindingsFilterFindingCriteriaCriterionArrayOutput struct{ *pulumi.OutputState }

func (FindingsFilterFindingCriteriaCriterionArrayOutput) ElementType added in v4.4.0

func (FindingsFilterFindingCriteriaCriterionArrayOutput) Index added in v4.4.0

func (FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutput added in v4.4.0

func (o FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutput() FindingsFilterFindingCriteriaCriterionArrayOutput

func (FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext added in v4.4.0

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

type FindingsFilterFindingCriteriaCriterionInput added in v4.4.0

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 added in v4.4.0

type FindingsFilterFindingCriteriaCriterionOutput struct{ *pulumi.OutputState }

func (FindingsFilterFindingCriteriaCriterionOutput) ElementType added in v4.4.0

func (FindingsFilterFindingCriteriaCriterionOutput) EqExactMatches added in v4.4.0

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 added in v4.4.0

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 added in v4.4.0

The name of the field to be evaluated.

func (FindingsFilterFindingCriteriaCriterionOutput) Gt added in v4.4.0

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

func (FindingsFilterFindingCriteriaCriterionOutput) Gte added in v4.4.0

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

func (FindingsFilterFindingCriteriaCriterionOutput) Lt added in v4.4.0

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

func (FindingsFilterFindingCriteriaCriterionOutput) Lte added in v4.4.0

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

func (FindingsFilterFindingCriteriaCriterionOutput) Neqs added in v4.4.0

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 added in v4.4.0

func (o FindingsFilterFindingCriteriaCriterionOutput) ToFindingsFilterFindingCriteriaCriterionOutput() FindingsFilterFindingCriteriaCriterionOutput

func (FindingsFilterFindingCriteriaCriterionOutput) ToFindingsFilterFindingCriteriaCriterionOutputWithContext added in v4.4.0

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

type FindingsFilterFindingCriteriaInput added in v4.4.0

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 added in v4.4.0

type FindingsFilterFindingCriteriaOutput struct{ *pulumi.OutputState }

func (FindingsFilterFindingCriteriaOutput) Criterions added in v4.4.0

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

func (FindingsFilterFindingCriteriaOutput) ElementType added in v4.4.0

func (FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutput added in v4.4.0

func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutput() FindingsFilterFindingCriteriaOutput

func (FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutputWithContext added in v4.4.0

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

func (FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutput added in v4.4.0

func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput

func (FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutputWithContext added in v4.4.0

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

type FindingsFilterFindingCriteriaPtrInput added in v4.4.0

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 added in v4.4.0

type FindingsFilterFindingCriteriaPtrOutput struct{ *pulumi.OutputState }

func (FindingsFilterFindingCriteriaPtrOutput) Criterions added in v4.4.0

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

func (FindingsFilterFindingCriteriaPtrOutput) Elem added in v4.4.0

func (FindingsFilterFindingCriteriaPtrOutput) ElementType added in v4.4.0

func (FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutput added in v4.4.0

func (o FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput

func (FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutputWithContext added in v4.4.0

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

type FindingsFilterInput added in v4.4.0

type FindingsFilterInput interface {
	pulumi.Input

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

type FindingsFilterMap added in v4.4.0

type FindingsFilterMap map[string]FindingsFilterInput

func (FindingsFilterMap) ElementType added in v4.4.0

func (FindingsFilterMap) ElementType() reflect.Type

func (FindingsFilterMap) ToFindingsFilterMapOutput added in v4.4.0

func (i FindingsFilterMap) ToFindingsFilterMapOutput() FindingsFilterMapOutput

func (FindingsFilterMap) ToFindingsFilterMapOutputWithContext added in v4.4.0

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

type FindingsFilterMapInput added in v4.4.0

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 added in v4.4.0

type FindingsFilterMapOutput struct{ *pulumi.OutputState }

func (FindingsFilterMapOutput) ElementType added in v4.4.0

func (FindingsFilterMapOutput) ElementType() reflect.Type

func (FindingsFilterMapOutput) MapIndex added in v4.4.0

func (FindingsFilterMapOutput) ToFindingsFilterMapOutput added in v4.4.0

func (o FindingsFilterMapOutput) ToFindingsFilterMapOutput() FindingsFilterMapOutput

func (FindingsFilterMapOutput) ToFindingsFilterMapOutputWithContext added in v4.4.0

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

type FindingsFilterOutput added in v4.4.0

type FindingsFilterOutput struct{ *pulumi.OutputState }

func (FindingsFilterOutput) ElementType added in v4.4.0

func (FindingsFilterOutput) ElementType() reflect.Type

func (FindingsFilterOutput) ToFindingsFilterOutput added in v4.4.0

func (o FindingsFilterOutput) ToFindingsFilterOutput() FindingsFilterOutput

func (FindingsFilterOutput) ToFindingsFilterOutputWithContext added in v4.4.0

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

func (FindingsFilterOutput) ToFindingsFilterPtrOutput added in v4.4.0

func (o FindingsFilterOutput) ToFindingsFilterPtrOutput() FindingsFilterPtrOutput

func (FindingsFilterOutput) ToFindingsFilterPtrOutputWithContext added in v4.4.0

func (o FindingsFilterOutput) ToFindingsFilterPtrOutputWithContext(ctx context.Context) FindingsFilterPtrOutput

type FindingsFilterPtrInput added in v4.4.0

type FindingsFilterPtrInput interface {
	pulumi.Input

	ToFindingsFilterPtrOutput() FindingsFilterPtrOutput
	ToFindingsFilterPtrOutputWithContext(ctx context.Context) FindingsFilterPtrOutput
}

type FindingsFilterPtrOutput added in v4.4.0

type FindingsFilterPtrOutput struct{ *pulumi.OutputState }

func (FindingsFilterPtrOutput) Elem added in v4.15.0

func (FindingsFilterPtrOutput) ElementType added in v4.4.0

func (FindingsFilterPtrOutput) ElementType() reflect.Type

func (FindingsFilterPtrOutput) ToFindingsFilterPtrOutput added in v4.4.0

func (o FindingsFilterPtrOutput) ToFindingsFilterPtrOutput() FindingsFilterPtrOutput

func (FindingsFilterPtrOutput) ToFindingsFilterPtrOutputWithContext added in v4.4.0

func (o FindingsFilterPtrOutput) ToFindingsFilterPtrOutputWithContext(ctx context.Context) FindingsFilterPtrOutput

type FindingsFilterState added in v4.4.0

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
	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
	TagsAll pulumi.StringMapInput
}

func (FindingsFilterState) ElementType added in v4.4.0

func (FindingsFilterState) ElementType() reflect.Type

type MemberAccountAssociation

type MemberAccountAssociation struct {
	pulumi.CustomResourceState

	// The ID of the AWS account that you want to associate with Amazon Macie as a member account.
	MemberAccountId pulumi.StringOutput `pulumi:"memberAccountId"`
}

> **NOTE:** This resource interacts with [Amazon Macie Classic](https://docs.aws.amazon.com/macie/latest/userguide/what-is-macie.html). Macie Classic cannot be activated in new accounts. See the [FAQ](https://aws.amazon.com/macie/classic-faqs/) for more details.

Associates an AWS account with Amazon Macie as a member account.

> **NOTE:** Before using Amazon Macie for the first time it must be enabled manually. Instructions are [here](https://docs.aws.amazon.com/macie/latest/userguide/macie-setting-up.html#macie-setting-up-enable).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/macie"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := macie.NewMemberAccountAssociation(ctx, "example", &macie.MemberAccountAssociationArgs{
			MemberAccountId: pulumi.String("123456789012"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetMemberAccountAssociation

func GetMemberAccountAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MemberAccountAssociationState, opts ...pulumi.ResourceOption) (*MemberAccountAssociation, error)

GetMemberAccountAssociation gets an existing MemberAccountAssociation 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 NewMemberAccountAssociation

func NewMemberAccountAssociation(ctx *pulumi.Context,
	name string, args *MemberAccountAssociationArgs, opts ...pulumi.ResourceOption) (*MemberAccountAssociation, error)

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

func (*MemberAccountAssociation) ElementType

func (*MemberAccountAssociation) ElementType() reflect.Type

func (*MemberAccountAssociation) ToMemberAccountAssociationOutput

func (i *MemberAccountAssociation) ToMemberAccountAssociationOutput() MemberAccountAssociationOutput

func (*MemberAccountAssociation) ToMemberAccountAssociationOutputWithContext

func (i *MemberAccountAssociation) ToMemberAccountAssociationOutputWithContext(ctx context.Context) MemberAccountAssociationOutput

func (*MemberAccountAssociation) ToMemberAccountAssociationPtrOutput

func (i *MemberAccountAssociation) ToMemberAccountAssociationPtrOutput() MemberAccountAssociationPtrOutput

func (*MemberAccountAssociation) ToMemberAccountAssociationPtrOutputWithContext

func (i *MemberAccountAssociation) ToMemberAccountAssociationPtrOutputWithContext(ctx context.Context) MemberAccountAssociationPtrOutput

type MemberAccountAssociationArgs

type MemberAccountAssociationArgs struct {
	// The ID of the AWS account that you want to associate with Amazon Macie as a member account.
	MemberAccountId pulumi.StringInput
}

The set of arguments for constructing a MemberAccountAssociation resource.

func (MemberAccountAssociationArgs) ElementType

type MemberAccountAssociationArray

type MemberAccountAssociationArray []MemberAccountAssociationInput

func (MemberAccountAssociationArray) ElementType

func (MemberAccountAssociationArray) ToMemberAccountAssociationArrayOutput

func (i MemberAccountAssociationArray) ToMemberAccountAssociationArrayOutput() MemberAccountAssociationArrayOutput

func (MemberAccountAssociationArray) ToMemberAccountAssociationArrayOutputWithContext

func (i MemberAccountAssociationArray) ToMemberAccountAssociationArrayOutputWithContext(ctx context.Context) MemberAccountAssociationArrayOutput

type MemberAccountAssociationArrayInput

type MemberAccountAssociationArrayInput interface {
	pulumi.Input

	ToMemberAccountAssociationArrayOutput() MemberAccountAssociationArrayOutput
	ToMemberAccountAssociationArrayOutputWithContext(context.Context) MemberAccountAssociationArrayOutput
}

MemberAccountAssociationArrayInput is an input type that accepts MemberAccountAssociationArray and MemberAccountAssociationArrayOutput values. You can construct a concrete instance of `MemberAccountAssociationArrayInput` via:

MemberAccountAssociationArray{ MemberAccountAssociationArgs{...} }

type MemberAccountAssociationArrayOutput

type MemberAccountAssociationArrayOutput struct{ *pulumi.OutputState }

func (MemberAccountAssociationArrayOutput) ElementType

func (MemberAccountAssociationArrayOutput) Index

func (MemberAccountAssociationArrayOutput) ToMemberAccountAssociationArrayOutput

func (o MemberAccountAssociationArrayOutput) ToMemberAccountAssociationArrayOutput() MemberAccountAssociationArrayOutput

func (MemberAccountAssociationArrayOutput) ToMemberAccountAssociationArrayOutputWithContext

func (o MemberAccountAssociationArrayOutput) ToMemberAccountAssociationArrayOutputWithContext(ctx context.Context) MemberAccountAssociationArrayOutput

type MemberAccountAssociationInput

type MemberAccountAssociationInput interface {
	pulumi.Input

	ToMemberAccountAssociationOutput() MemberAccountAssociationOutput
	ToMemberAccountAssociationOutputWithContext(ctx context.Context) MemberAccountAssociationOutput
}

type MemberAccountAssociationMap

type MemberAccountAssociationMap map[string]MemberAccountAssociationInput

func (MemberAccountAssociationMap) ElementType

func (MemberAccountAssociationMap) ToMemberAccountAssociationMapOutput

func (i MemberAccountAssociationMap) ToMemberAccountAssociationMapOutput() MemberAccountAssociationMapOutput

func (MemberAccountAssociationMap) ToMemberAccountAssociationMapOutputWithContext

func (i MemberAccountAssociationMap) ToMemberAccountAssociationMapOutputWithContext(ctx context.Context) MemberAccountAssociationMapOutput

type MemberAccountAssociationMapInput

type MemberAccountAssociationMapInput interface {
	pulumi.Input

	ToMemberAccountAssociationMapOutput() MemberAccountAssociationMapOutput
	ToMemberAccountAssociationMapOutputWithContext(context.Context) MemberAccountAssociationMapOutput
}

MemberAccountAssociationMapInput is an input type that accepts MemberAccountAssociationMap and MemberAccountAssociationMapOutput values. You can construct a concrete instance of `MemberAccountAssociationMapInput` via:

MemberAccountAssociationMap{ "key": MemberAccountAssociationArgs{...} }

type MemberAccountAssociationMapOutput

type MemberAccountAssociationMapOutput struct{ *pulumi.OutputState }

func (MemberAccountAssociationMapOutput) ElementType

func (MemberAccountAssociationMapOutput) MapIndex

func (MemberAccountAssociationMapOutput) ToMemberAccountAssociationMapOutput

func (o MemberAccountAssociationMapOutput) ToMemberAccountAssociationMapOutput() MemberAccountAssociationMapOutput

func (MemberAccountAssociationMapOutput) ToMemberAccountAssociationMapOutputWithContext

func (o MemberAccountAssociationMapOutput) ToMemberAccountAssociationMapOutputWithContext(ctx context.Context) MemberAccountAssociationMapOutput

type MemberAccountAssociationOutput

type MemberAccountAssociationOutput struct{ *pulumi.OutputState }

func (MemberAccountAssociationOutput) ElementType

func (MemberAccountAssociationOutput) ToMemberAccountAssociationOutput

func (o MemberAccountAssociationOutput) ToMemberAccountAssociationOutput() MemberAccountAssociationOutput

func (MemberAccountAssociationOutput) ToMemberAccountAssociationOutputWithContext

func (o MemberAccountAssociationOutput) ToMemberAccountAssociationOutputWithContext(ctx context.Context) MemberAccountAssociationOutput

func (MemberAccountAssociationOutput) ToMemberAccountAssociationPtrOutput

func (o MemberAccountAssociationOutput) ToMemberAccountAssociationPtrOutput() MemberAccountAssociationPtrOutput

func (MemberAccountAssociationOutput) ToMemberAccountAssociationPtrOutputWithContext

func (o MemberAccountAssociationOutput) ToMemberAccountAssociationPtrOutputWithContext(ctx context.Context) MemberAccountAssociationPtrOutput

type MemberAccountAssociationPtrInput

type MemberAccountAssociationPtrInput interface {
	pulumi.Input

	ToMemberAccountAssociationPtrOutput() MemberAccountAssociationPtrOutput
	ToMemberAccountAssociationPtrOutputWithContext(ctx context.Context) MemberAccountAssociationPtrOutput
}

type MemberAccountAssociationPtrOutput

type MemberAccountAssociationPtrOutput struct{ *pulumi.OutputState }

func (MemberAccountAssociationPtrOutput) Elem added in v4.15.0

func (MemberAccountAssociationPtrOutput) ElementType

func (MemberAccountAssociationPtrOutput) ToMemberAccountAssociationPtrOutput

func (o MemberAccountAssociationPtrOutput) ToMemberAccountAssociationPtrOutput() MemberAccountAssociationPtrOutput

func (MemberAccountAssociationPtrOutput) ToMemberAccountAssociationPtrOutputWithContext

func (o MemberAccountAssociationPtrOutput) ToMemberAccountAssociationPtrOutputWithContext(ctx context.Context) MemberAccountAssociationPtrOutput

type MemberAccountAssociationState

type MemberAccountAssociationState struct {
	// The ID of the AWS account that you want to associate with Amazon Macie as a member account.
	MemberAccountId pulumi.StringPtrInput
}

func (MemberAccountAssociationState) ElementType

type S3BucketAssociation

type S3BucketAssociation struct {
	pulumi.CustomResourceState

	// The name of the S3 bucket that you want to associate with Amazon Macie.
	BucketName pulumi.StringOutput `pulumi:"bucketName"`
	// The configuration of how Amazon Macie classifies the S3 objects.
	ClassificationType S3BucketAssociationClassificationTypeOutput `pulumi:"classificationType"`
	// The ID of the Amazon Macie member account whose S3 resources you want to associate with Macie. If `memberAccountId` isn't specified, the action associates specified S3 resources with Macie for the current master account.
	MemberAccountId pulumi.StringPtrOutput `pulumi:"memberAccountId"`
	// Object key prefix identifying one or more S3 objects to which the association applies.
	Prefix pulumi.StringPtrOutput `pulumi:"prefix"`
}

> **NOTE:** This resource interacts with [Amazon Macie Classic](https://docs.aws.amazon.com/macie/latest/userguide/what-is-macie.html). Macie Classic cannot be activated in new accounts. See the [FAQ](https://aws.amazon.com/macie/classic-faqs/) for more details.

Associates an S3 resource with Amazon Macie for monitoring and data classification.

> **NOTE:** Before using Amazon Macie for the first time it must be enabled manually. Instructions are [here](https://docs.aws.amazon.com/macie/latest/userguide/macie-setting-up.html#macie-setting-up-enable).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/macie"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := macie.NewS3BucketAssociation(ctx, "example", &macie.S3BucketAssociationArgs{
			BucketName: pulumi.String("tf-macie-example"),
			ClassificationType: &macie.S3BucketAssociationClassificationTypeArgs{
				OneTime: pulumi.String("FULL"),
			},
			Prefix: pulumi.String("data"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetS3BucketAssociation

func GetS3BucketAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *S3BucketAssociationState, opts ...pulumi.ResourceOption) (*S3BucketAssociation, error)

GetS3BucketAssociation gets an existing S3BucketAssociation 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 NewS3BucketAssociation

func NewS3BucketAssociation(ctx *pulumi.Context,
	name string, args *S3BucketAssociationArgs, opts ...pulumi.ResourceOption) (*S3BucketAssociation, error)

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

func (*S3BucketAssociation) ElementType

func (*S3BucketAssociation) ElementType() reflect.Type

func (*S3BucketAssociation) ToS3BucketAssociationOutput

func (i *S3BucketAssociation) ToS3BucketAssociationOutput() S3BucketAssociationOutput

func (*S3BucketAssociation) ToS3BucketAssociationOutputWithContext

func (i *S3BucketAssociation) ToS3BucketAssociationOutputWithContext(ctx context.Context) S3BucketAssociationOutput

func (*S3BucketAssociation) ToS3BucketAssociationPtrOutput

func (i *S3BucketAssociation) ToS3BucketAssociationPtrOutput() S3BucketAssociationPtrOutput

func (*S3BucketAssociation) ToS3BucketAssociationPtrOutputWithContext

func (i *S3BucketAssociation) ToS3BucketAssociationPtrOutputWithContext(ctx context.Context) S3BucketAssociationPtrOutput

type S3BucketAssociationArgs

type S3BucketAssociationArgs struct {
	// The name of the S3 bucket that you want to associate with Amazon Macie.
	BucketName pulumi.StringInput
	// The configuration of how Amazon Macie classifies the S3 objects.
	ClassificationType S3BucketAssociationClassificationTypePtrInput
	// The ID of the Amazon Macie member account whose S3 resources you want to associate with Macie. If `memberAccountId` isn't specified, the action associates specified S3 resources with Macie for the current master account.
	MemberAccountId pulumi.StringPtrInput
	// Object key prefix identifying one or more S3 objects to which the association applies.
	Prefix pulumi.StringPtrInput
}

The set of arguments for constructing a S3BucketAssociation resource.

func (S3BucketAssociationArgs) ElementType

func (S3BucketAssociationArgs) ElementType() reflect.Type

type S3BucketAssociationArray

type S3BucketAssociationArray []S3BucketAssociationInput

func (S3BucketAssociationArray) ElementType

func (S3BucketAssociationArray) ElementType() reflect.Type

func (S3BucketAssociationArray) ToS3BucketAssociationArrayOutput

func (i S3BucketAssociationArray) ToS3BucketAssociationArrayOutput() S3BucketAssociationArrayOutput

func (S3BucketAssociationArray) ToS3BucketAssociationArrayOutputWithContext

func (i S3BucketAssociationArray) ToS3BucketAssociationArrayOutputWithContext(ctx context.Context) S3BucketAssociationArrayOutput

type S3BucketAssociationArrayInput

type S3BucketAssociationArrayInput interface {
	pulumi.Input

	ToS3BucketAssociationArrayOutput() S3BucketAssociationArrayOutput
	ToS3BucketAssociationArrayOutputWithContext(context.Context) S3BucketAssociationArrayOutput
}

S3BucketAssociationArrayInput is an input type that accepts S3BucketAssociationArray and S3BucketAssociationArrayOutput values. You can construct a concrete instance of `S3BucketAssociationArrayInput` via:

S3BucketAssociationArray{ S3BucketAssociationArgs{...} }

type S3BucketAssociationArrayOutput

type S3BucketAssociationArrayOutput struct{ *pulumi.OutputState }

func (S3BucketAssociationArrayOutput) ElementType

func (S3BucketAssociationArrayOutput) Index

func (S3BucketAssociationArrayOutput) ToS3BucketAssociationArrayOutput

func (o S3BucketAssociationArrayOutput) ToS3BucketAssociationArrayOutput() S3BucketAssociationArrayOutput

func (S3BucketAssociationArrayOutput) ToS3BucketAssociationArrayOutputWithContext

func (o S3BucketAssociationArrayOutput) ToS3BucketAssociationArrayOutputWithContext(ctx context.Context) S3BucketAssociationArrayOutput

type S3BucketAssociationClassificationType

type S3BucketAssociationClassificationType struct {
	// A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket.
	// The only valid value is the default value, `FULL`.
	Continuous *string `pulumi:"continuous"`
	// A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket.
	// Valid values are `NONE` and `FULL`. Defaults to `NONE` indicating that Macie only classifies objects that are added after the association was created.
	OneTime *string `pulumi:"oneTime"`
}

type S3BucketAssociationClassificationTypeArgs

type S3BucketAssociationClassificationTypeArgs struct {
	// A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket.
	// The only valid value is the default value, `FULL`.
	Continuous pulumi.StringPtrInput `pulumi:"continuous"`
	// A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket.
	// Valid values are `NONE` and `FULL`. Defaults to `NONE` indicating that Macie only classifies objects that are added after the association was created.
	OneTime pulumi.StringPtrInput `pulumi:"oneTime"`
}

func (S3BucketAssociationClassificationTypeArgs) ElementType

func (S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypeOutput

func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypeOutput() S3BucketAssociationClassificationTypeOutput

func (S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypeOutputWithContext

func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypeOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypeOutput

func (S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypePtrOutput

func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput

func (S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypePtrOutputWithContext

func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput

type S3BucketAssociationClassificationTypeInput

type S3BucketAssociationClassificationTypeInput interface {
	pulumi.Input

	ToS3BucketAssociationClassificationTypeOutput() S3BucketAssociationClassificationTypeOutput
	ToS3BucketAssociationClassificationTypeOutputWithContext(context.Context) S3BucketAssociationClassificationTypeOutput
}

S3BucketAssociationClassificationTypeInput is an input type that accepts S3BucketAssociationClassificationTypeArgs and S3BucketAssociationClassificationTypeOutput values. You can construct a concrete instance of `S3BucketAssociationClassificationTypeInput` via:

S3BucketAssociationClassificationTypeArgs{...}

type S3BucketAssociationClassificationTypeOutput

type S3BucketAssociationClassificationTypeOutput struct{ *pulumi.OutputState }

func (S3BucketAssociationClassificationTypeOutput) Continuous

A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket. The only valid value is the default value, `FULL`.

func (S3BucketAssociationClassificationTypeOutput) ElementType

func (S3BucketAssociationClassificationTypeOutput) OneTime

A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket. Valid values are `NONE` and `FULL`. Defaults to `NONE` indicating that Macie only classifies objects that are added after the association was created.

func (S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypeOutput

func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypeOutput() S3BucketAssociationClassificationTypeOutput

func (S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypeOutputWithContext

func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypeOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypeOutput

func (S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypePtrOutput

func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput

func (S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypePtrOutputWithContext

func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput

type S3BucketAssociationClassificationTypePtrInput

type S3BucketAssociationClassificationTypePtrInput interface {
	pulumi.Input

	ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput
	ToS3BucketAssociationClassificationTypePtrOutputWithContext(context.Context) S3BucketAssociationClassificationTypePtrOutput
}

S3BucketAssociationClassificationTypePtrInput is an input type that accepts S3BucketAssociationClassificationTypeArgs, S3BucketAssociationClassificationTypePtr and S3BucketAssociationClassificationTypePtrOutput values. You can construct a concrete instance of `S3BucketAssociationClassificationTypePtrInput` via:

        S3BucketAssociationClassificationTypeArgs{...}

or:

        nil

type S3BucketAssociationClassificationTypePtrOutput

type S3BucketAssociationClassificationTypePtrOutput struct{ *pulumi.OutputState }

func (S3BucketAssociationClassificationTypePtrOutput) Continuous

A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket. The only valid value is the default value, `FULL`.

func (S3BucketAssociationClassificationTypePtrOutput) Elem

func (S3BucketAssociationClassificationTypePtrOutput) ElementType

func (S3BucketAssociationClassificationTypePtrOutput) OneTime

A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket. Valid values are `NONE` and `FULL`. Defaults to `NONE` indicating that Macie only classifies objects that are added after the association was created.

func (S3BucketAssociationClassificationTypePtrOutput) ToS3BucketAssociationClassificationTypePtrOutput

func (o S3BucketAssociationClassificationTypePtrOutput) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput

func (S3BucketAssociationClassificationTypePtrOutput) ToS3BucketAssociationClassificationTypePtrOutputWithContext

func (o S3BucketAssociationClassificationTypePtrOutput) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput

type S3BucketAssociationInput

type S3BucketAssociationInput interface {
	pulumi.Input

	ToS3BucketAssociationOutput() S3BucketAssociationOutput
	ToS3BucketAssociationOutputWithContext(ctx context.Context) S3BucketAssociationOutput
}

type S3BucketAssociationMap

type S3BucketAssociationMap map[string]S3BucketAssociationInput

func (S3BucketAssociationMap) ElementType

func (S3BucketAssociationMap) ElementType() reflect.Type

func (S3BucketAssociationMap) ToS3BucketAssociationMapOutput

func (i S3BucketAssociationMap) ToS3BucketAssociationMapOutput() S3BucketAssociationMapOutput

func (S3BucketAssociationMap) ToS3BucketAssociationMapOutputWithContext

func (i S3BucketAssociationMap) ToS3BucketAssociationMapOutputWithContext(ctx context.Context) S3BucketAssociationMapOutput

type S3BucketAssociationMapInput

type S3BucketAssociationMapInput interface {
	pulumi.Input

	ToS3BucketAssociationMapOutput() S3BucketAssociationMapOutput
	ToS3BucketAssociationMapOutputWithContext(context.Context) S3BucketAssociationMapOutput
}

S3BucketAssociationMapInput is an input type that accepts S3BucketAssociationMap and S3BucketAssociationMapOutput values. You can construct a concrete instance of `S3BucketAssociationMapInput` via:

S3BucketAssociationMap{ "key": S3BucketAssociationArgs{...} }

type S3BucketAssociationMapOutput

type S3BucketAssociationMapOutput struct{ *pulumi.OutputState }

func (S3BucketAssociationMapOutput) ElementType

func (S3BucketAssociationMapOutput) MapIndex

func (S3BucketAssociationMapOutput) ToS3BucketAssociationMapOutput

func (o S3BucketAssociationMapOutput) ToS3BucketAssociationMapOutput() S3BucketAssociationMapOutput

func (S3BucketAssociationMapOutput) ToS3BucketAssociationMapOutputWithContext

func (o S3BucketAssociationMapOutput) ToS3BucketAssociationMapOutputWithContext(ctx context.Context) S3BucketAssociationMapOutput

type S3BucketAssociationOutput

type S3BucketAssociationOutput struct{ *pulumi.OutputState }

func (S3BucketAssociationOutput) ElementType

func (S3BucketAssociationOutput) ElementType() reflect.Type

func (S3BucketAssociationOutput) ToS3BucketAssociationOutput

func (o S3BucketAssociationOutput) ToS3BucketAssociationOutput() S3BucketAssociationOutput

func (S3BucketAssociationOutput) ToS3BucketAssociationOutputWithContext

func (o S3BucketAssociationOutput) ToS3BucketAssociationOutputWithContext(ctx context.Context) S3BucketAssociationOutput

func (S3BucketAssociationOutput) ToS3BucketAssociationPtrOutput

func (o S3BucketAssociationOutput) ToS3BucketAssociationPtrOutput() S3BucketAssociationPtrOutput

func (S3BucketAssociationOutput) ToS3BucketAssociationPtrOutputWithContext

func (o S3BucketAssociationOutput) ToS3BucketAssociationPtrOutputWithContext(ctx context.Context) S3BucketAssociationPtrOutput

type S3BucketAssociationPtrInput

type S3BucketAssociationPtrInput interface {
	pulumi.Input

	ToS3BucketAssociationPtrOutput() S3BucketAssociationPtrOutput
	ToS3BucketAssociationPtrOutputWithContext(ctx context.Context) S3BucketAssociationPtrOutput
}

type S3BucketAssociationPtrOutput

type S3BucketAssociationPtrOutput struct{ *pulumi.OutputState }

func (S3BucketAssociationPtrOutput) Elem added in v4.15.0

func (S3BucketAssociationPtrOutput) ElementType

func (S3BucketAssociationPtrOutput) ToS3BucketAssociationPtrOutput

func (o S3BucketAssociationPtrOutput) ToS3BucketAssociationPtrOutput() S3BucketAssociationPtrOutput

func (S3BucketAssociationPtrOutput) ToS3BucketAssociationPtrOutputWithContext

func (o S3BucketAssociationPtrOutput) ToS3BucketAssociationPtrOutputWithContext(ctx context.Context) S3BucketAssociationPtrOutput

type S3BucketAssociationState

type S3BucketAssociationState struct {
	// The name of the S3 bucket that you want to associate with Amazon Macie.
	BucketName pulumi.StringPtrInput
	// The configuration of how Amazon Macie classifies the S3 objects.
	ClassificationType S3BucketAssociationClassificationTypePtrInput
	// The ID of the Amazon Macie member account whose S3 resources you want to associate with Macie. If `memberAccountId` isn't specified, the action associates specified S3 resources with Macie for the current master account.
	MemberAccountId pulumi.StringPtrInput
	// Object key prefix identifying one or more S3 objects to which the association applies.
	Prefix pulumi.StringPtrInput
}

func (S3BucketAssociationState) ElementType

func (S3BucketAssociationState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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