aws.macie.CustomDataIdentifier
Provides a resource to manage an AWS Macie Custom Data Identifier.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var exampleAccount = new Aws.Macie2.Account("exampleAccount");
var exampleCustomDataIdentifier = new Aws.Macie.CustomDataIdentifier("exampleCustomDataIdentifier", new()
{
Regex = "[0-9]{3}-[0-9]{2}-[0-9]{4}",
Description = "DESCRIPTION",
MaximumMatchDistance = 10,
Keywords = new[]
{
"keyword",
},
IgnoreWords = new[]
{
"ignore",
},
}, new CustomResourceOptions
{
DependsOn = new[]
{
aws_macie2_account.Test,
},
});
});
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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.macie2.Account;
import com.pulumi.aws.macie.CustomDataIdentifier;
import com.pulumi.aws.macie.CustomDataIdentifierArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleAccount = new Account("exampleAccount");
var exampleCustomDataIdentifier = new CustomDataIdentifier("exampleCustomDataIdentifier", CustomDataIdentifierArgs.builder()
.regex("[0-9]{3}-[0-9]{2}-[0-9]{4}")
.description("DESCRIPTION")
.maximumMatchDistance(10)
.keywords("keyword")
.ignoreWords("ignore")
.build(), CustomResourceOptions.builder()
.dependsOn(aws_macie2_account.test())
.build());
}
}
import pulumi
import pulumi_aws as aws
example_account = aws.macie2.Account("exampleAccount")
example_custom_data_identifier = aws.macie.CustomDataIdentifier("exampleCustomDataIdentifier",
regex="[0-9]{3}-[0-9]{2}-[0-9]{4}",
description="DESCRIPTION",
maximum_match_distance=10,
keywords=["keyword"],
ignore_words=["ignore"],
opts=pulumi.ResourceOptions(depends_on=[aws_macie2_account["test"]]))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleAccount = new aws.macie2.Account("exampleAccount", {});
const exampleCustomDataIdentifier = new aws.macie.CustomDataIdentifier("exampleCustomDataIdentifier", {
regex: "[0-9]{3}-[0-9]{2}-[0-9]{4}",
description: "DESCRIPTION",
maximumMatchDistance: 10,
keywords: ["keyword"],
ignoreWords: ["ignore"],
}, {
dependsOn: [aws_macie2_account.test],
});
resources:
exampleAccount:
type: aws:macie2:Account
exampleCustomDataIdentifier:
type: aws:macie:CustomDataIdentifier
properties:
regex: '[0-9]{3}-[0-9]{2}-[0-9]{4}'
description: DESCRIPTION
maximumMatchDistance: 10
keywords:
- keyword
ignoreWords:
- ignore
options:
dependson:
- ${aws_macie2_account.test}
Create CustomDataIdentifier Resource
new CustomDataIdentifier(name: string, args?: CustomDataIdentifierArgs, opts?: CustomResourceOptions);
@overload
def CustomDataIdentifier(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
ignore_words: Optional[Sequence[str]] = None,
keywords: Optional[Sequence[str]] = None,
maximum_match_distance: Optional[int] = None,
name: Optional[str] = None,
name_prefix: Optional[str] = None,
regex: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def CustomDataIdentifier(resource_name: str,
args: Optional[CustomDataIdentifierArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewCustomDataIdentifier(ctx *Context, name string, args *CustomDataIdentifierArgs, opts ...ResourceOption) (*CustomDataIdentifier, error)
public CustomDataIdentifier(string name, CustomDataIdentifierArgs? args = null, CustomResourceOptions? opts = null)
public CustomDataIdentifier(String name, CustomDataIdentifierArgs args)
public CustomDataIdentifier(String name, CustomDataIdentifierArgs args, CustomResourceOptions options)
type: aws:macie:CustomDataIdentifier
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomDataIdentifierArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CustomDataIdentifierArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CustomDataIdentifierArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomDataIdentifierArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomDataIdentifierArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CustomDataIdentifier Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CustomDataIdentifier resource accepts the following input properties:
- Description string
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- Ignore
Words List<string> 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.
- Keywords List<string>
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- Maximum
Match intDistance 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.
- Name string
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
name_prefix
.- Name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- Regex string
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- Dictionary<string, string>
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- Description string
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- Ignore
Words []string 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.
- Keywords []string
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- Maximum
Match intDistance 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.
- Name string
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
name_prefix
.- Name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- Regex string
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- map[string]string
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- description String
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- ignore
Words List<String> 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.
- keywords List<String>
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- maximum
Match IntegerDistance 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.
- name String
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
name_prefix
.- name
Prefix String Creates a unique name beginning with the specified prefix. Conflicts with
name
.- regex String
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- Map<String,String>
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- description string
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- ignore
Words string[] 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.
- keywords string[]
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- maximum
Match numberDistance 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.
- name string
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
name_prefix
.- name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- regex string
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- {[key: string]: string}
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- description str
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- ignore_
words Sequence[str] 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.
- keywords Sequence[str]
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- maximum_
match_ intdistance 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.
- name str
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
name_prefix
.- name_
prefix str Creates a unique name beginning with the specified prefix. Conflicts with
name
.- regex str
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- Mapping[str, str]
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- description String
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- ignore
Words List<String> 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.
- keywords List<String>
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- maximum
Match NumberDistance 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.
- name String
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
name_prefix
.- name
Prefix String Creates a unique name beginning with the specified prefix. Conflicts with
name
.- regex String
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- Map<String>
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomDataIdentifier resource produces the following output properties:
- arn str
The Amazon Resource Name (ARN) of the custom data identifier.
- created_
at str The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
- id str
The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
Look up Existing CustomDataIdentifier Resource
Get an existing CustomDataIdentifier resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CustomDataIdentifierState, opts?: CustomResourceOptions): CustomDataIdentifier
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
ignore_words: Optional[Sequence[str]] = None,
keywords: Optional[Sequence[str]] = None,
maximum_match_distance: Optional[int] = None,
name: Optional[str] = None,
name_prefix: Optional[str] = None,
regex: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> CustomDataIdentifier
func GetCustomDataIdentifier(ctx *Context, name string, id IDInput, state *CustomDataIdentifierState, opts ...ResourceOption) (*CustomDataIdentifier, error)
public static CustomDataIdentifier Get(string name, Input<string> id, CustomDataIdentifierState? state, CustomResourceOptions? opts = null)
public static CustomDataIdentifier get(String name, Output<String> id, CustomDataIdentifierState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
The Amazon Resource Name (ARN) of the custom data identifier.
- Created
At string The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
- Description string
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- Ignore
Words List<string> 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.
- Keywords List<string>
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- Maximum
Match intDistance 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.
- Name string
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
name_prefix
.- Name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- Regex string
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- Dictionary<string, string>
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- Dictionary<string, string>
- Arn string
The Amazon Resource Name (ARN) of the custom data identifier.
- Created
At string The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
- Description string
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- Ignore
Words []string 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.
- Keywords []string
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- Maximum
Match intDistance 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.
- Name string
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
name_prefix
.- Name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- Regex string
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- map[string]string
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- map[string]string
- arn String
The Amazon Resource Name (ARN) of the custom data identifier.
- created
At String The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
- description String
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- ignore
Words List<String> 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.
- keywords List<String>
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- maximum
Match IntegerDistance 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.
- name String
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
name_prefix
.- name
Prefix String Creates a unique name beginning with the specified prefix. Conflicts with
name
.- regex String
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- Map<String,String>
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- Map<String,String>
- arn string
The Amazon Resource Name (ARN) of the custom data identifier.
- created
At string The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
- description string
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- ignore
Words string[] 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.
- keywords string[]
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- maximum
Match numberDistance 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.
- name string
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
name_prefix
.- name
Prefix string Creates a unique name beginning with the specified prefix. Conflicts with
name
.- regex string
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- {[key: string]: string}
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- {[key: string]: string}
- arn str
The Amazon Resource Name (ARN) of the custom data identifier.
- created_
at str The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
- description str
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- ignore_
words Sequence[str] 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.
- keywords Sequence[str]
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- maximum_
match_ intdistance 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.
- name str
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
name_prefix
.- name_
prefix str Creates a unique name beginning with the specified prefix. Conflicts with
name
.- regex str
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- Mapping[str, str]
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- Mapping[str, str]
- arn String
The Amazon Resource Name (ARN) of the custom data identifier.
- created
At String The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
- description String
A custom description of the custom data identifier. The description can contain as many as 512 characters.
- ignore
Words List<String> 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.
- keywords List<String>
An array that lists specific character sequences (keywords), one of which must be within proximity (
maximum_match_distance
) 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.- maximum
Match NumberDistance 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.
- name String
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
name_prefix
.- name
Prefix String Creates a unique name beginning with the specified prefix. Conflicts with
name
.- regex String
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
- Map<String>
A map of key-value pairs that specifies the tags to associate with the custom data identifier.
- Map<String>
Import
aws_macie2_custom_data_identifier
can be imported using the id, e.g.,
$ pulumi import aws:macie/customDataIdentifier:CustomDataIdentifier example abcd1
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.