Documentation ¶
Index ¶
- type CustomDataIdentifier
- type CustomDataIdentifierArgs
- type CustomDataIdentifierArray
- type CustomDataIdentifierArrayInput
- type CustomDataIdentifierArrayOutput
- func (CustomDataIdentifierArrayOutput) ElementType() reflect.Type
- func (o CustomDataIdentifierArrayOutput) Index(i pulumi.IntInput) CustomDataIdentifierOutput
- func (o CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput
- func (o CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutputWithContext(ctx context.Context) CustomDataIdentifierArrayOutput
- type CustomDataIdentifierInput
- type CustomDataIdentifierMap
- type CustomDataIdentifierMapInput
- type CustomDataIdentifierMapOutput
- func (CustomDataIdentifierMapOutput) ElementType() reflect.Type
- func (o CustomDataIdentifierMapOutput) MapIndex(k pulumi.StringInput) CustomDataIdentifierOutput
- func (o CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput
- func (o CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutputWithContext(ctx context.Context) CustomDataIdentifierMapOutput
- type CustomDataIdentifierOutput
- func (o CustomDataIdentifierOutput) Arn() pulumi.StringOutput
- func (o CustomDataIdentifierOutput) CreatedAt() pulumi.StringOutput
- func (o CustomDataIdentifierOutput) Description() pulumi.StringPtrOutput
- func (CustomDataIdentifierOutput) ElementType() reflect.Type
- func (o CustomDataIdentifierOutput) IgnoreWords() pulumi.StringArrayOutput
- func (o CustomDataIdentifierOutput) Keywords() pulumi.StringArrayOutput
- func (o CustomDataIdentifierOutput) MaximumMatchDistance() pulumi.IntOutput
- func (o CustomDataIdentifierOutput) Name() pulumi.StringOutput
- func (o CustomDataIdentifierOutput) NamePrefix() pulumi.StringOutput
- func (o CustomDataIdentifierOutput) Regex() pulumi.StringPtrOutput
- func (o CustomDataIdentifierOutput) Tags() pulumi.StringMapOutput
- func (o CustomDataIdentifierOutput) TagsAll() pulumi.StringMapOutput
- func (o CustomDataIdentifierOutput) ToCustomDataIdentifierOutput() CustomDataIdentifierOutput
- func (o CustomDataIdentifierOutput) ToCustomDataIdentifierOutputWithContext(ctx context.Context) CustomDataIdentifierOutput
- type CustomDataIdentifierState
- type FindingsFilter
- type FindingsFilterArgs
- type FindingsFilterArray
- type FindingsFilterArrayInput
- type FindingsFilterArrayOutput
- func (FindingsFilterArrayOutput) ElementType() reflect.Type
- func (o FindingsFilterArrayOutput) Index(i pulumi.IntInput) FindingsFilterOutput
- func (o FindingsFilterArrayOutput) ToFindingsFilterArrayOutput() FindingsFilterArrayOutput
- func (o FindingsFilterArrayOutput) ToFindingsFilterArrayOutputWithContext(ctx context.Context) FindingsFilterArrayOutput
- type FindingsFilterFindingCriteria
- type FindingsFilterFindingCriteriaArgs
- func (FindingsFilterFindingCriteriaArgs) ElementType() reflect.Type
- func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutput() FindingsFilterFindingCriteriaOutput
- func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaOutput
- func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput
- func (i FindingsFilterFindingCriteriaArgs) ToFindingsFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaPtrOutput
- type FindingsFilterFindingCriteriaCriterion
- type FindingsFilterFindingCriteriaCriterionArgs
- func (FindingsFilterFindingCriteriaCriterionArgs) ElementType() reflect.Type
- func (i FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutput() FindingsFilterFindingCriteriaCriterionOutput
- func (i FindingsFilterFindingCriteriaCriterionArgs) ToFindingsFilterFindingCriteriaCriterionOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaCriterionOutput
- type FindingsFilterFindingCriteriaCriterionArray
- func (FindingsFilterFindingCriteriaCriterionArray) ElementType() reflect.Type
- func (i FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutput() FindingsFilterFindingCriteriaCriterionArrayOutput
- func (i FindingsFilterFindingCriteriaCriterionArray) ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaCriterionArrayOutput
- type FindingsFilterFindingCriteriaCriterionArrayInput
- type FindingsFilterFindingCriteriaCriterionArrayOutput
- func (FindingsFilterFindingCriteriaCriterionArrayOutput) ElementType() reflect.Type
- func (o FindingsFilterFindingCriteriaCriterionArrayOutput) Index(i pulumi.IntInput) FindingsFilterFindingCriteriaCriterionOutput
- func (o FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutput() FindingsFilterFindingCriteriaCriterionArrayOutput
- func (o FindingsFilterFindingCriteriaCriterionArrayOutput) ToFindingsFilterFindingCriteriaCriterionArrayOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaCriterionArrayOutput
- type FindingsFilterFindingCriteriaCriterionInput
- type FindingsFilterFindingCriteriaCriterionOutput
- func (FindingsFilterFindingCriteriaCriterionOutput) ElementType() reflect.Type
- func (o FindingsFilterFindingCriteriaCriterionOutput) EqExactMatches() pulumi.StringArrayOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) Eqs() pulumi.StringArrayOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) Field() pulumi.StringOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) Gt() pulumi.StringPtrOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) Gte() pulumi.StringPtrOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) Lt() pulumi.StringPtrOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) Lte() pulumi.StringPtrOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) Neqs() pulumi.StringArrayOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) ToFindingsFilterFindingCriteriaCriterionOutput() FindingsFilterFindingCriteriaCriterionOutput
- func (o FindingsFilterFindingCriteriaCriterionOutput) ToFindingsFilterFindingCriteriaCriterionOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaCriterionOutput
- type FindingsFilterFindingCriteriaInput
- type FindingsFilterFindingCriteriaOutput
- func (o FindingsFilterFindingCriteriaOutput) Criterions() FindingsFilterFindingCriteriaCriterionArrayOutput
- func (FindingsFilterFindingCriteriaOutput) ElementType() reflect.Type
- func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutput() FindingsFilterFindingCriteriaOutput
- func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaOutput
- func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput
- func (o FindingsFilterFindingCriteriaOutput) ToFindingsFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaPtrOutput
- type FindingsFilterFindingCriteriaPtrInput
- type FindingsFilterFindingCriteriaPtrOutput
- func (o FindingsFilterFindingCriteriaPtrOutput) Criterions() FindingsFilterFindingCriteriaCriterionArrayOutput
- func (o FindingsFilterFindingCriteriaPtrOutput) Elem() FindingsFilterFindingCriteriaOutput
- func (FindingsFilterFindingCriteriaPtrOutput) ElementType() reflect.Type
- func (o FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutput() FindingsFilterFindingCriteriaPtrOutput
- func (o FindingsFilterFindingCriteriaPtrOutput) ToFindingsFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FindingsFilterFindingCriteriaPtrOutput
- type FindingsFilterInput
- type FindingsFilterMap
- type FindingsFilterMapInput
- type FindingsFilterMapOutput
- func (FindingsFilterMapOutput) ElementType() reflect.Type
- func (o FindingsFilterMapOutput) MapIndex(k pulumi.StringInput) FindingsFilterOutput
- func (o FindingsFilterMapOutput) ToFindingsFilterMapOutput() FindingsFilterMapOutput
- func (o FindingsFilterMapOutput) ToFindingsFilterMapOutputWithContext(ctx context.Context) FindingsFilterMapOutput
- type FindingsFilterOutput
- func (o FindingsFilterOutput) Action() pulumi.StringOutput
- func (o FindingsFilterOutput) Arn() pulumi.StringOutput
- func (o FindingsFilterOutput) Description() pulumi.StringPtrOutput
- func (FindingsFilterOutput) ElementType() reflect.Type
- func (o FindingsFilterOutput) FindingCriteria() FindingsFilterFindingCriteriaOutput
- func (o FindingsFilterOutput) Name() pulumi.StringOutput
- func (o FindingsFilterOutput) NamePrefix() pulumi.StringOutput
- func (o FindingsFilterOutput) Position() pulumi.IntOutput
- func (o FindingsFilterOutput) Tags() pulumi.StringMapOutput
- func (o FindingsFilterOutput) TagsAll() pulumi.StringMapOutput
- func (o FindingsFilterOutput) ToFindingsFilterOutput() FindingsFilterOutput
- func (o FindingsFilterOutput) ToFindingsFilterOutputWithContext(ctx context.Context) FindingsFilterOutput
- type FindingsFilterState
- type MemberAccountAssociation
- type MemberAccountAssociationArgs
- type MemberAccountAssociationArray
- func (MemberAccountAssociationArray) ElementType() reflect.Type
- func (i MemberAccountAssociationArray) ToMemberAccountAssociationArrayOutput() MemberAccountAssociationArrayOutput
- func (i MemberAccountAssociationArray) ToMemberAccountAssociationArrayOutputWithContext(ctx context.Context) MemberAccountAssociationArrayOutput
- type MemberAccountAssociationArrayInput
- type MemberAccountAssociationArrayOutput
- func (MemberAccountAssociationArrayOutput) ElementType() reflect.Type
- func (o MemberAccountAssociationArrayOutput) Index(i pulumi.IntInput) MemberAccountAssociationOutput
- func (o MemberAccountAssociationArrayOutput) ToMemberAccountAssociationArrayOutput() MemberAccountAssociationArrayOutput
- func (o MemberAccountAssociationArrayOutput) ToMemberAccountAssociationArrayOutputWithContext(ctx context.Context) MemberAccountAssociationArrayOutput
- type MemberAccountAssociationInput
- type MemberAccountAssociationMap
- func (MemberAccountAssociationMap) ElementType() reflect.Type
- func (i MemberAccountAssociationMap) ToMemberAccountAssociationMapOutput() MemberAccountAssociationMapOutput
- func (i MemberAccountAssociationMap) ToMemberAccountAssociationMapOutputWithContext(ctx context.Context) MemberAccountAssociationMapOutput
- type MemberAccountAssociationMapInput
- type MemberAccountAssociationMapOutput
- func (MemberAccountAssociationMapOutput) ElementType() reflect.Type
- func (o MemberAccountAssociationMapOutput) MapIndex(k pulumi.StringInput) MemberAccountAssociationOutput
- func (o MemberAccountAssociationMapOutput) ToMemberAccountAssociationMapOutput() MemberAccountAssociationMapOutput
- func (o MemberAccountAssociationMapOutput) ToMemberAccountAssociationMapOutputWithContext(ctx context.Context) MemberAccountAssociationMapOutput
- type MemberAccountAssociationOutput
- func (MemberAccountAssociationOutput) ElementType() reflect.Type
- func (o MemberAccountAssociationOutput) MemberAccountId() pulumi.StringOutput
- func (o MemberAccountAssociationOutput) ToMemberAccountAssociationOutput() MemberAccountAssociationOutput
- func (o MemberAccountAssociationOutput) ToMemberAccountAssociationOutputWithContext(ctx context.Context) MemberAccountAssociationOutput
- type MemberAccountAssociationState
- type S3BucketAssociation
- type S3BucketAssociationArgs
- type S3BucketAssociationArray
- type S3BucketAssociationArrayInput
- type S3BucketAssociationArrayOutput
- func (S3BucketAssociationArrayOutput) ElementType() reflect.Type
- func (o S3BucketAssociationArrayOutput) Index(i pulumi.IntInput) S3BucketAssociationOutput
- func (o S3BucketAssociationArrayOutput) ToS3BucketAssociationArrayOutput() S3BucketAssociationArrayOutput
- func (o S3BucketAssociationArrayOutput) ToS3BucketAssociationArrayOutputWithContext(ctx context.Context) S3BucketAssociationArrayOutput
- type S3BucketAssociationClassificationType
- type S3BucketAssociationClassificationTypeArgs
- func (S3BucketAssociationClassificationTypeArgs) ElementType() reflect.Type
- func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypeOutput() S3BucketAssociationClassificationTypeOutput
- func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypeOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypeOutput
- func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput
- func (i S3BucketAssociationClassificationTypeArgs) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput
- type S3BucketAssociationClassificationTypeInput
- type S3BucketAssociationClassificationTypeOutput
- func (o S3BucketAssociationClassificationTypeOutput) Continuous() pulumi.StringPtrOutput
- func (S3BucketAssociationClassificationTypeOutput) ElementType() reflect.Type
- func (o S3BucketAssociationClassificationTypeOutput) OneTime() pulumi.StringPtrOutput
- func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypeOutput() S3BucketAssociationClassificationTypeOutput
- func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypeOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypeOutput
- func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput
- func (o S3BucketAssociationClassificationTypeOutput) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput
- type S3BucketAssociationClassificationTypePtrInput
- type S3BucketAssociationClassificationTypePtrOutput
- func (o S3BucketAssociationClassificationTypePtrOutput) Continuous() pulumi.StringPtrOutput
- func (o S3BucketAssociationClassificationTypePtrOutput) Elem() S3BucketAssociationClassificationTypeOutput
- func (S3BucketAssociationClassificationTypePtrOutput) ElementType() reflect.Type
- func (o S3BucketAssociationClassificationTypePtrOutput) OneTime() pulumi.StringPtrOutput
- func (o S3BucketAssociationClassificationTypePtrOutput) ToS3BucketAssociationClassificationTypePtrOutput() S3BucketAssociationClassificationTypePtrOutput
- func (o S3BucketAssociationClassificationTypePtrOutput) ToS3BucketAssociationClassificationTypePtrOutputWithContext(ctx context.Context) S3BucketAssociationClassificationTypePtrOutput
- type S3BucketAssociationInput
- type S3BucketAssociationMap
- type S3BucketAssociationMapInput
- type S3BucketAssociationMapOutput
- func (S3BucketAssociationMapOutput) ElementType() reflect.Type
- func (o S3BucketAssociationMapOutput) MapIndex(k pulumi.StringInput) S3BucketAssociationOutput
- func (o S3BucketAssociationMapOutput) ToS3BucketAssociationMapOutput() S3BucketAssociationMapOutput
- func (o S3BucketAssociationMapOutput) ToS3BucketAssociationMapOutputWithContext(ctx context.Context) S3BucketAssociationMapOutput
- type S3BucketAssociationOutput
- func (o S3BucketAssociationOutput) BucketName() pulumi.StringOutput
- func (o S3BucketAssociationOutput) ClassificationType() S3BucketAssociationClassificationTypeOutput
- func (S3BucketAssociationOutput) ElementType() reflect.Type
- func (o S3BucketAssociationOutput) MemberAccountId() pulumi.StringPtrOutput
- func (o S3BucketAssociationOutput) Prefix() pulumi.StringPtrOutput
- func (o S3BucketAssociationOutput) ToS3BucketAssociationOutput() S3BucketAssociationOutput
- func (o S3BucketAssociationOutput) ToS3BucketAssociationOutputWithContext(ctx context.Context) S3BucketAssociationOutput
- type S3BucketAssociationState
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"` 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/v5/go/aws/macie" "github.com/pulumi/pulumi-aws/sdk/v5/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 ¶
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) ElementType() reflect.Type
func (CustomDataIdentifierArrayOutput) Index ¶
func (o CustomDataIdentifierArrayOutput) Index(i pulumi.IntInput) CustomDataIdentifierOutput
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) ElementType() reflect.Type
func (CustomDataIdentifierMapOutput) MapIndex ¶
func (o CustomDataIdentifierMapOutput) MapIndex(k pulumi.StringInput) CustomDataIdentifierOutput
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 ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the custom data identifier.
func (CustomDataIdentifierOutput) CreatedAt ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) CreatedAt() pulumi.StringOutput
The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
func (CustomDataIdentifierOutput) Description ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) Description() pulumi.StringPtrOutput
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 ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) IgnoreWords() pulumi.StringArrayOutput
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 ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) Keywords() pulumi.StringArrayOutput
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 ¶ added in v5.4.0
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 ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) Name() pulumi.StringOutput
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 ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (CustomDataIdentifierOutput) Regex ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) Regex() pulumi.StringPtrOutput
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
func (CustomDataIdentifierOutput) Tags ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) Tags() pulumi.StringMapOutput
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
func (CustomDataIdentifierOutput) TagsAll ¶ added in v5.4.0
func (o CustomDataIdentifierOutput) TagsAll() pulumi.StringMapOutput
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 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"` 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/v5/go/aws/macie" "github.com/pulumi/pulumi-aws/sdk/v5/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 ¶
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 (o FindingsFilterArrayOutput) Index(i pulumi.IntInput) FindingsFilterOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (FindingsFilterFindingCriteriaCriterionOutput) EqExactMatches ¶
func (o FindingsFilterFindingCriteriaCriterionOutput) EqExactMatches() pulumi.StringArrayOutput
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 ¶
func (o FindingsFilterFindingCriteriaCriterionOutput) Eqs() pulumi.StringArrayOutput
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 ¶
func (o FindingsFilterFindingCriteriaCriterionOutput) Field() pulumi.StringOutput
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 ¶
func (o FindingsFilterFindingCriteriaCriterionOutput) Gte() pulumi.StringPtrOutput
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 ¶
func (o FindingsFilterFindingCriteriaCriterionOutput) Lte() pulumi.StringPtrOutput
The value for the property is less than or equal to the specified value.
func (FindingsFilterFindingCriteriaCriterionOutput) Neqs ¶
func (o FindingsFilterFindingCriteriaCriterionOutput) Neqs() pulumi.StringArrayOutput
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 ¶
func (o FindingsFilterFindingCriteriaOutput) Criterions() FindingsFilterFindingCriteriaCriterionArrayOutput
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) ElementType() reflect.Type
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
func FindingsFilterFindingCriteriaPtr ¶
func FindingsFilterFindingCriteriaPtr(v *FindingsFilterFindingCriteriaArgs) FindingsFilterFindingCriteriaPtrInput
type FindingsFilterFindingCriteriaPtrOutput ¶
type FindingsFilterFindingCriteriaPtrOutput struct{ *pulumi.OutputState }
func (FindingsFilterFindingCriteriaPtrOutput) Criterions ¶
func (o FindingsFilterFindingCriteriaPtrOutput) Criterions() FindingsFilterFindingCriteriaCriterionArrayOutput
A condition that specifies the property, operator, and one or more values to use to filter the results. (documented below)
func (FindingsFilterFindingCriteriaPtrOutput) ElementType ¶
func (FindingsFilterFindingCriteriaPtrOutput) ElementType() reflect.Type
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 (o FindingsFilterMapOutput) MapIndex(k pulumi.StringInput) FindingsFilterOutput
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 ¶ added in v5.4.0
func (o FindingsFilterOutput) Action() pulumi.StringOutput
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 ¶ added in v5.4.0
func (o FindingsFilterOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Findings Filter.
func (FindingsFilterOutput) Description ¶ added in v5.4.0
func (o FindingsFilterOutput) Description() pulumi.StringPtrOutput
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 ¶ added in v5.4.0
func (o FindingsFilterOutput) FindingCriteria() FindingsFilterFindingCriteriaOutput
The criteria to use to filter findings.
func (FindingsFilterOutput) Name ¶ added in v5.4.0
func (o FindingsFilterOutput) Name() pulumi.StringOutput
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 ¶ added in v5.4.0
func (o FindingsFilterOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (FindingsFilterOutput) Position ¶ added in v5.4.0
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 ¶ added in v5.4.0
func (o FindingsFilterOutput) Tags() pulumi.StringMapOutput
A map of key-value pairs that specifies the tags to associate with the filter.
func (FindingsFilterOutput) TagsAll ¶ added in v5.4.0
func (o FindingsFilterOutput) TagsAll() pulumi.StringMapOutput
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 TagsAll pulumi.StringMapInput }
func (FindingsFilterState) ElementType ¶
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/v5/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
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 ¶
func (MemberAccountAssociationArgs) ElementType() reflect.Type
type MemberAccountAssociationArray ¶
type MemberAccountAssociationArray []MemberAccountAssociationInput
func (MemberAccountAssociationArray) ElementType ¶
func (MemberAccountAssociationArray) ElementType() reflect.Type
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) ElementType() reflect.Type
func (MemberAccountAssociationArrayOutput) Index ¶
func (o MemberAccountAssociationArrayOutput) Index(i pulumi.IntInput) MemberAccountAssociationOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (MemberAccountAssociationMapOutput) MapIndex ¶
func (o MemberAccountAssociationMapOutput) MapIndex(k pulumi.StringInput) MemberAccountAssociationOutput
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) ElementType() reflect.Type
func (MemberAccountAssociationOutput) MemberAccountId ¶ added in v5.4.0
func (o MemberAccountAssociationOutput) MemberAccountId() pulumi.StringOutput
The ID of the AWS account that you want to associate with Amazon Macie as a member account.
func (MemberAccountAssociationOutput) ToMemberAccountAssociationOutput ¶
func (o MemberAccountAssociationOutput) ToMemberAccountAssociationOutput() MemberAccountAssociationOutput
func (MemberAccountAssociationOutput) ToMemberAccountAssociationOutputWithContext ¶
func (o MemberAccountAssociationOutput) ToMemberAccountAssociationOutputWithContext(ctx context.Context) MemberAccountAssociationOutput
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 ¶
func (MemberAccountAssociationState) ElementType() reflect.Type
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/v5/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
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) ElementType() reflect.Type
func (S3BucketAssociationArrayOutput) Index ¶
func (o S3BucketAssociationArrayOutput) Index(i pulumi.IntInput) S3BucketAssociationOutput
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) ElementType() reflect.Type
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 ¶
func (o S3BucketAssociationClassificationTypeOutput) Continuous() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (S3BucketAssociationClassificationTypeOutput) OneTime ¶
func (o S3BucketAssociationClassificationTypeOutput) OneTime() pulumi.StringPtrOutput
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
func S3BucketAssociationClassificationTypePtr ¶
func S3BucketAssociationClassificationTypePtr(v *S3BucketAssociationClassificationTypeArgs) S3BucketAssociationClassificationTypePtrInput
type S3BucketAssociationClassificationTypePtrOutput ¶
type S3BucketAssociationClassificationTypePtrOutput struct{ *pulumi.OutputState }
func (S3BucketAssociationClassificationTypePtrOutput) Continuous ¶
func (o S3BucketAssociationClassificationTypePtrOutput) Continuous() pulumi.StringPtrOutput
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) ElementType ¶
func (S3BucketAssociationClassificationTypePtrOutput) ElementType() reflect.Type
func (S3BucketAssociationClassificationTypePtrOutput) OneTime ¶
func (o S3BucketAssociationClassificationTypePtrOutput) OneTime() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (S3BucketAssociationMapOutput) MapIndex ¶
func (o S3BucketAssociationMapOutput) MapIndex(k pulumi.StringInput) S3BucketAssociationOutput
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) BucketName ¶ added in v5.4.0
func (o S3BucketAssociationOutput) BucketName() pulumi.StringOutput
The name of the S3 bucket that you want to associate with Amazon Macie.
func (S3BucketAssociationOutput) ClassificationType ¶ added in v5.4.0
func (o S3BucketAssociationOutput) ClassificationType() S3BucketAssociationClassificationTypeOutput
The configuration of how Amazon Macie classifies the S3 objects.
func (S3BucketAssociationOutput) ElementType ¶
func (S3BucketAssociationOutput) ElementType() reflect.Type
func (S3BucketAssociationOutput) MemberAccountId ¶ added in v5.4.0
func (o S3BucketAssociationOutput) MemberAccountId() pulumi.StringPtrOutput
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.
func (S3BucketAssociationOutput) Prefix ¶ added in v5.4.0
func (o S3BucketAssociationOutput) Prefix() pulumi.StringPtrOutput
Object key prefix identifying one or more S3 objects to which the association applies.
func (S3BucketAssociationOutput) ToS3BucketAssociationOutput ¶
func (o S3BucketAssociationOutput) ToS3BucketAssociationOutput() S3BucketAssociationOutput
func (S3BucketAssociationOutput) ToS3BucketAssociationOutputWithContext ¶
func (o S3BucketAssociationOutput) ToS3BucketAssociationOutputWithContext(ctx context.Context) S3BucketAssociationOutput
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