1. Packages
  2. AWS
  3. API Docs
  4. macie
  5. CustomDataIdentifier
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.macie.CustomDataIdentifier

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Provides a resource to manage an AWS Macie Custom Data Identifier.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.macie2.Account("example", {});
    const exampleCustomDataIdentifier = new aws.macie.CustomDataIdentifier("example", {
        name: "NAME OF CUSTOM DATA IDENTIFIER",
        regex: "[0-9]{3}-[0-9]{2}-[0-9]{4}",
        description: "DESCRIPTION",
        maximumMatchDistance: 10,
        keywords: ["keyword"],
        ignoreWords: ["ignore"],
    }, {
        dependsOn: [test],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.macie2.Account("example")
    example_custom_data_identifier = aws.macie.CustomDataIdentifier("example",
        name="NAME OF CUSTOM DATA IDENTIFIER",
        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=[test]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/macie"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/macie2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := macie2.NewAccount(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		_, err = macie.NewCustomDataIdentifier(ctx, "example", &macie.CustomDataIdentifierArgs{
    			Name:                 pulumi.String("NAME OF CUSTOM DATA IDENTIFIER"),
    			Regex:                pulumi.String("[0-9]{3}-[0-9]{2}-[0-9]{4}"),
    			Description:          pulumi.String("DESCRIPTION"),
    			MaximumMatchDistance: pulumi.Int(10),
    			Keywords: pulumi.StringArray{
    				pulumi.String("keyword"),
    			},
    			IgnoreWords: pulumi.StringArray{
    				pulumi.String("ignore"),
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			test,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Macie2.Account("example");
    
        var exampleCustomDataIdentifier = new Aws.Macie.CustomDataIdentifier("example", new()
        {
            Name = "NAME OF CUSTOM DATA IDENTIFIER",
            Regex = "[0-9]{3}-[0-9]{2}-[0-9]{4}",
            Description = "DESCRIPTION",
            MaximumMatchDistance = 10,
            Keywords = new[]
            {
                "keyword",
            },
            IgnoreWords = new[]
            {
                "ignore",
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                test,
            },
        });
    
    });
    
    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 example = new Account("example");
    
            var exampleCustomDataIdentifier = new CustomDataIdentifier("exampleCustomDataIdentifier", CustomDataIdentifierArgs.builder()
                .name("NAME OF CUSTOM DATA IDENTIFIER")
                .regex("[0-9]{3}-[0-9]{2}-[0-9]{4}")
                .description("DESCRIPTION")
                .maximumMatchDistance(10)
                .keywords("keyword")
                .ignoreWords("ignore")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(test)
                    .build());
    
        }
    }
    
    resources:
      example:
        type: aws:macie2:Account
      exampleCustomDataIdentifier:
        type: aws:macie:CustomDataIdentifier
        name: example
        properties:
          name: NAME OF CUSTOM DATA IDENTIFIER
          regex: '[0-9]{3}-[0-9]{2}-[0-9]{4}'
          description: DESCRIPTION
          maximumMatchDistance: 10
          keywords:
            - keyword
          ignoreWords:
            - ignore
        options:
          dependson:
            - ${test}
    

    Create CustomDataIdentifier Resource

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

    Constructor syntax

    new CustomDataIdentifier(name: string, args?: CustomDataIdentifierArgs, opts?: CustomResourceOptions);
    @overload
    def CustomDataIdentifier(resource_name: str,
                             args: Optional[CustomDataIdentifierArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @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)
    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.
    
    

    Parameters

    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.

    Constructor example

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

    var customDataIdentifierResource = new Aws.Macie.CustomDataIdentifier("customDataIdentifierResource", new()
    {
        Description = "string",
        IgnoreWords = new[]
        {
            "string",
        },
        Keywords = new[]
        {
            "string",
        },
        MaximumMatchDistance = 0,
        Name = "string",
        NamePrefix = "string",
        Regex = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := macie.NewCustomDataIdentifier(ctx, "customDataIdentifierResource", &macie.CustomDataIdentifierArgs{
    	Description: pulumi.String("string"),
    	IgnoreWords: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Keywords: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	MaximumMatchDistance: pulumi.Int(0),
    	Name:                 pulumi.String("string"),
    	NamePrefix:           pulumi.String("string"),
    	Regex:                pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var customDataIdentifierResource = new CustomDataIdentifier("customDataIdentifierResource", CustomDataIdentifierArgs.builder()
        .description("string")
        .ignoreWords("string")
        .keywords("string")
        .maximumMatchDistance(0)
        .name("string")
        .namePrefix("string")
        .regex("string")
        .tags(Map.of("string", "string"))
        .build());
    
    custom_data_identifier_resource = aws.macie.CustomDataIdentifier("customDataIdentifierResource",
        description="string",
        ignore_words=["string"],
        keywords=["string"],
        maximum_match_distance=0,
        name="string",
        name_prefix="string",
        regex="string",
        tags={
            "string": "string",
        })
    
    const customDataIdentifierResource = new aws.macie.CustomDataIdentifier("customDataIdentifierResource", {
        description: "string",
        ignoreWords: ["string"],
        keywords: ["string"],
        maximumMatchDistance: 0,
        name: "string",
        namePrefix: "string",
        regex: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:macie:CustomDataIdentifier
    properties:
        description: string
        ignoreWords:
            - string
        keywords:
            - string
        maximumMatchDistance: 0
        name: string
        namePrefix: string
        regex: string
        tags:
            string: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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.
    IgnoreWords 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.
    MaximumMatchDistance int
    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.
    NamePrefix 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.
    Tags 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.
    IgnoreWords []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.
    MaximumMatchDistance int
    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.
    NamePrefix 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.
    Tags 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.
    ignoreWords 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.
    maximumMatchDistance Integer
    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.
    namePrefix 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.
    tags 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.
    ignoreWords 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.
    maximumMatchDistance number
    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.
    namePrefix 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.
    tags {[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_distance int
    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.
    tags 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.
    ignoreWords 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.
    maximumMatchDistance Number
    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.
    namePrefix 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.
    tags 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 string
    The Amazon Resource Name (ARN) of the custom data identifier.
    CreatedAt string
    The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Arn string
    The Amazon Resource Name (ARN) of the custom data identifier.
    CreatedAt string
    The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) of the custom data identifier.
    createdAt String
    The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    arn string
    The Amazon Resource Name (ARN) of the custom data identifier.
    createdAt string
    The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    arn str
    The Amazon Resource Name (ARN) of the 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.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) of the custom data identifier.
    createdAt String
    The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    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.
    The following state arguments are supported:
    Arn string
    The Amazon Resource Name (ARN) of the custom data identifier.
    CreatedAt 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.
    IgnoreWords 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.
    MaximumMatchDistance int
    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.
    NamePrefix 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.
    Tags Dictionary<string, string>
    A map of key-value pairs that specifies the tags to associate with the custom data identifier.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Arn string
    The Amazon Resource Name (ARN) of the custom data identifier.
    CreatedAt 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.
    IgnoreWords []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.
    MaximumMatchDistance int
    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.
    NamePrefix 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.
    Tags map[string]string
    A map of key-value pairs that specifies the tags to associate with the custom data identifier.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) of the custom data identifier.
    createdAt 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.
    ignoreWords 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.
    maximumMatchDistance Integer
    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.
    namePrefix 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.
    tags Map<String,String>
    A map of key-value pairs that specifies the tags to associate with the custom data identifier.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    arn string
    The Amazon Resource Name (ARN) of the custom data identifier.
    createdAt 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.
    ignoreWords 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.
    maximumMatchDistance number
    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.
    namePrefix 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.
    tags {[key: string]: string}
    A map of key-value pairs that specifies the tags to associate with the custom data identifier.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    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_distance int
    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.
    tags Mapping[str, str]
    A map of key-value pairs that specifies the tags to associate with the custom data identifier.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) of the custom data identifier.
    createdAt 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.
    ignoreWords 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.
    maximumMatchDistance Number
    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.
    namePrefix 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.
    tags Map<String>
    A map of key-value pairs that specifies the tags to associate with the custom data identifier.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    Import

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

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

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

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi