github.com/pulumi/pulumi-aws/sdk/v6@v6.32.0/go/aws/macie/customDataIdentifier.go (about)

     1  // Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
     2  // *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
     3  
     4  package macie
     5  
     6  import (
     7  	"context"
     8  	"reflect"
     9  
    10  	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal"
    11  	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    12  )
    13  
    14  // Provides a resource to manage an [AWS Macie Custom Data Identifier](https://docs.aws.amazon.com/macie/latest/APIReference/custom-data-identifiers-id.html).
    15  //
    16  // ## Example Usage
    17  //
    18  // <!--Start PulumiCodeChooser -->
    19  // ```go
    20  // package main
    21  //
    22  // import (
    23  //
    24  //	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/macie"
    25  //	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/macie2"
    26  //	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    27  //
    28  // )
    29  //
    30  //	func main() {
    31  //		pulumi.Run(func(ctx *pulumi.Context) error {
    32  //			_, err := macie2.NewAccount(ctx, "example", nil)
    33  //			if err != nil {
    34  //				return err
    35  //			}
    36  //			_, err = macie.NewCustomDataIdentifier(ctx, "example", &macie.CustomDataIdentifierArgs{
    37  //				Name:                 pulumi.String("NAME OF CUSTOM DATA IDENTIFIER"),
    38  //				Regex:                pulumi.String("[0-9]{3}-[0-9]{2}-[0-9]{4}"),
    39  //				Description:          pulumi.String("DESCRIPTION"),
    40  //				MaximumMatchDistance: pulumi.Int(10),
    41  //				Keywords: pulumi.StringArray{
    42  //					pulumi.String("keyword"),
    43  //				},
    44  //				IgnoreWords: pulumi.StringArray{
    45  //					pulumi.String("ignore"),
    46  //				},
    47  //			}, pulumi.DependsOn([]pulumi.Resource{
    48  //				test,
    49  //			}))
    50  //			if err != nil {
    51  //				return err
    52  //			}
    53  //			return nil
    54  //		})
    55  //	}
    56  //
    57  // ```
    58  // <!--End PulumiCodeChooser -->
    59  //
    60  // ## Import
    61  //
    62  // Using `pulumi import`, import `aws_macie2_custom_data_identifier` using the id. For example:
    63  //
    64  // ```sh
    65  // $ pulumi import aws:macie/customDataIdentifier:CustomDataIdentifier example abcd1
    66  // ```
    67  type CustomDataIdentifier struct {
    68  	pulumi.CustomResourceState
    69  
    70  	// The Amazon Resource Name (ARN) of the custom data identifier.
    71  	Arn pulumi.StringOutput `pulumi:"arn"`
    72  	// The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
    73  	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
    74  	// A custom description of the custom data identifier. The description can contain as many as 512 characters.
    75  	Description pulumi.StringPtrOutput `pulumi:"description"`
    76  	// 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.
    77  	IgnoreWords pulumi.StringArrayOutput `pulumi:"ignoreWords"`
    78  	// 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.
    79  	Keywords pulumi.StringArrayOutput `pulumi:"keywords"`
    80  	// 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.
    81  	MaximumMatchDistance pulumi.IntOutput `pulumi:"maximumMatchDistance"`
    82  	// 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`.
    83  	Name pulumi.StringOutput `pulumi:"name"`
    84  	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
    85  	NamePrefix pulumi.StringOutput `pulumi:"namePrefix"`
    86  	// The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
    87  	Regex pulumi.StringPtrOutput `pulumi:"regex"`
    88  	// A map of key-value pairs that specifies the tags to associate with the custom data identifier.
    89  	Tags pulumi.StringMapOutput `pulumi:"tags"`
    90  	// Deprecated: Please use `tags` instead.
    91  	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
    92  }
    93  
    94  // NewCustomDataIdentifier registers a new resource with the given unique name, arguments, and options.
    95  func NewCustomDataIdentifier(ctx *pulumi.Context,
    96  	name string, args *CustomDataIdentifierArgs, opts ...pulumi.ResourceOption) (*CustomDataIdentifier, error) {
    97  	if args == nil {
    98  		args = &CustomDataIdentifierArgs{}
    99  	}
   100  
   101  	opts = internal.PkgResourceDefaultOpts(opts)
   102  	var resource CustomDataIdentifier
   103  	err := ctx.RegisterResource("aws:macie/customDataIdentifier:CustomDataIdentifier", name, args, &resource, opts...)
   104  	if err != nil {
   105  		return nil, err
   106  	}
   107  	return &resource, nil
   108  }
   109  
   110  // GetCustomDataIdentifier gets an existing CustomDataIdentifier resource's state with the given name, ID, and optional
   111  // state properties that are used to uniquely qualify the lookup (nil if not required).
   112  func GetCustomDataIdentifier(ctx *pulumi.Context,
   113  	name string, id pulumi.IDInput, state *CustomDataIdentifierState, opts ...pulumi.ResourceOption) (*CustomDataIdentifier, error) {
   114  	var resource CustomDataIdentifier
   115  	err := ctx.ReadResource("aws:macie/customDataIdentifier:CustomDataIdentifier", name, id, state, &resource, opts...)
   116  	if err != nil {
   117  		return nil, err
   118  	}
   119  	return &resource, nil
   120  }
   121  
   122  // Input properties used for looking up and filtering CustomDataIdentifier resources.
   123  type customDataIdentifierState struct {
   124  	// The Amazon Resource Name (ARN) of the custom data identifier.
   125  	Arn *string `pulumi:"arn"`
   126  	// The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
   127  	CreatedAt *string `pulumi:"createdAt"`
   128  	// A custom description of the custom data identifier. The description can contain as many as 512 characters.
   129  	Description *string `pulumi:"description"`
   130  	// 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.
   131  	IgnoreWords []string `pulumi:"ignoreWords"`
   132  	// 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.
   133  	Keywords []string `pulumi:"keywords"`
   134  	// 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.
   135  	MaximumMatchDistance *int `pulumi:"maximumMatchDistance"`
   136  	// 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`.
   137  	Name *string `pulumi:"name"`
   138  	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
   139  	NamePrefix *string `pulumi:"namePrefix"`
   140  	// The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
   141  	Regex *string `pulumi:"regex"`
   142  	// A map of key-value pairs that specifies the tags to associate with the custom data identifier.
   143  	Tags map[string]string `pulumi:"tags"`
   144  	// Deprecated: Please use `tags` instead.
   145  	TagsAll map[string]string `pulumi:"tagsAll"`
   146  }
   147  
   148  type CustomDataIdentifierState struct {
   149  	// The Amazon Resource Name (ARN) of the custom data identifier.
   150  	Arn pulumi.StringPtrInput
   151  	// The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
   152  	CreatedAt pulumi.StringPtrInput
   153  	// A custom description of the custom data identifier. The description can contain as many as 512 characters.
   154  	Description pulumi.StringPtrInput
   155  	// 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.
   156  	IgnoreWords pulumi.StringArrayInput
   157  	// 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.
   158  	Keywords pulumi.StringArrayInput
   159  	// 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.
   160  	MaximumMatchDistance pulumi.IntPtrInput
   161  	// 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`.
   162  	Name pulumi.StringPtrInput
   163  	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
   164  	NamePrefix pulumi.StringPtrInput
   165  	// The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
   166  	Regex pulumi.StringPtrInput
   167  	// A map of key-value pairs that specifies the tags to associate with the custom data identifier.
   168  	Tags pulumi.StringMapInput
   169  	// Deprecated: Please use `tags` instead.
   170  	TagsAll pulumi.StringMapInput
   171  }
   172  
   173  func (CustomDataIdentifierState) ElementType() reflect.Type {
   174  	return reflect.TypeOf((*customDataIdentifierState)(nil)).Elem()
   175  }
   176  
   177  type customDataIdentifierArgs struct {
   178  	// A custom description of the custom data identifier. The description can contain as many as 512 characters.
   179  	Description *string `pulumi:"description"`
   180  	// 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.
   181  	IgnoreWords []string `pulumi:"ignoreWords"`
   182  	// 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.
   183  	Keywords []string `pulumi:"keywords"`
   184  	// 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.
   185  	MaximumMatchDistance *int `pulumi:"maximumMatchDistance"`
   186  	// 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`.
   187  	Name *string `pulumi:"name"`
   188  	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
   189  	NamePrefix *string `pulumi:"namePrefix"`
   190  	// The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
   191  	Regex *string `pulumi:"regex"`
   192  	// A map of key-value pairs that specifies the tags to associate with the custom data identifier.
   193  	Tags map[string]string `pulumi:"tags"`
   194  }
   195  
   196  // The set of arguments for constructing a CustomDataIdentifier resource.
   197  type CustomDataIdentifierArgs struct {
   198  	// A custom description of the custom data identifier. The description can contain as many as 512 characters.
   199  	Description pulumi.StringPtrInput
   200  	// 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.
   201  	IgnoreWords pulumi.StringArrayInput
   202  	// 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.
   203  	Keywords pulumi.StringArrayInput
   204  	// 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.
   205  	MaximumMatchDistance pulumi.IntPtrInput
   206  	// 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`.
   207  	Name pulumi.StringPtrInput
   208  	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
   209  	NamePrefix pulumi.StringPtrInput
   210  	// The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
   211  	Regex pulumi.StringPtrInput
   212  	// A map of key-value pairs that specifies the tags to associate with the custom data identifier.
   213  	Tags pulumi.StringMapInput
   214  }
   215  
   216  func (CustomDataIdentifierArgs) ElementType() reflect.Type {
   217  	return reflect.TypeOf((*customDataIdentifierArgs)(nil)).Elem()
   218  }
   219  
   220  type CustomDataIdentifierInput interface {
   221  	pulumi.Input
   222  
   223  	ToCustomDataIdentifierOutput() CustomDataIdentifierOutput
   224  	ToCustomDataIdentifierOutputWithContext(ctx context.Context) CustomDataIdentifierOutput
   225  }
   226  
   227  func (*CustomDataIdentifier) ElementType() reflect.Type {
   228  	return reflect.TypeOf((**CustomDataIdentifier)(nil)).Elem()
   229  }
   230  
   231  func (i *CustomDataIdentifier) ToCustomDataIdentifierOutput() CustomDataIdentifierOutput {
   232  	return i.ToCustomDataIdentifierOutputWithContext(context.Background())
   233  }
   234  
   235  func (i *CustomDataIdentifier) ToCustomDataIdentifierOutputWithContext(ctx context.Context) CustomDataIdentifierOutput {
   236  	return pulumi.ToOutputWithContext(ctx, i).(CustomDataIdentifierOutput)
   237  }
   238  
   239  // CustomDataIdentifierArrayInput is an input type that accepts CustomDataIdentifierArray and CustomDataIdentifierArrayOutput values.
   240  // You can construct a concrete instance of `CustomDataIdentifierArrayInput` via:
   241  //
   242  //	CustomDataIdentifierArray{ CustomDataIdentifierArgs{...} }
   243  type CustomDataIdentifierArrayInput interface {
   244  	pulumi.Input
   245  
   246  	ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput
   247  	ToCustomDataIdentifierArrayOutputWithContext(context.Context) CustomDataIdentifierArrayOutput
   248  }
   249  
   250  type CustomDataIdentifierArray []CustomDataIdentifierInput
   251  
   252  func (CustomDataIdentifierArray) ElementType() reflect.Type {
   253  	return reflect.TypeOf((*[]*CustomDataIdentifier)(nil)).Elem()
   254  }
   255  
   256  func (i CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput {
   257  	return i.ToCustomDataIdentifierArrayOutputWithContext(context.Background())
   258  }
   259  
   260  func (i CustomDataIdentifierArray) ToCustomDataIdentifierArrayOutputWithContext(ctx context.Context) CustomDataIdentifierArrayOutput {
   261  	return pulumi.ToOutputWithContext(ctx, i).(CustomDataIdentifierArrayOutput)
   262  }
   263  
   264  // CustomDataIdentifierMapInput is an input type that accepts CustomDataIdentifierMap and CustomDataIdentifierMapOutput values.
   265  // You can construct a concrete instance of `CustomDataIdentifierMapInput` via:
   266  //
   267  //	CustomDataIdentifierMap{ "key": CustomDataIdentifierArgs{...} }
   268  type CustomDataIdentifierMapInput interface {
   269  	pulumi.Input
   270  
   271  	ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput
   272  	ToCustomDataIdentifierMapOutputWithContext(context.Context) CustomDataIdentifierMapOutput
   273  }
   274  
   275  type CustomDataIdentifierMap map[string]CustomDataIdentifierInput
   276  
   277  func (CustomDataIdentifierMap) ElementType() reflect.Type {
   278  	return reflect.TypeOf((*map[string]*CustomDataIdentifier)(nil)).Elem()
   279  }
   280  
   281  func (i CustomDataIdentifierMap) ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput {
   282  	return i.ToCustomDataIdentifierMapOutputWithContext(context.Background())
   283  }
   284  
   285  func (i CustomDataIdentifierMap) ToCustomDataIdentifierMapOutputWithContext(ctx context.Context) CustomDataIdentifierMapOutput {
   286  	return pulumi.ToOutputWithContext(ctx, i).(CustomDataIdentifierMapOutput)
   287  }
   288  
   289  type CustomDataIdentifierOutput struct{ *pulumi.OutputState }
   290  
   291  func (CustomDataIdentifierOutput) ElementType() reflect.Type {
   292  	return reflect.TypeOf((**CustomDataIdentifier)(nil)).Elem()
   293  }
   294  
   295  func (o CustomDataIdentifierOutput) ToCustomDataIdentifierOutput() CustomDataIdentifierOutput {
   296  	return o
   297  }
   298  
   299  func (o CustomDataIdentifierOutput) ToCustomDataIdentifierOutputWithContext(ctx context.Context) CustomDataIdentifierOutput {
   300  	return o
   301  }
   302  
   303  // The Amazon Resource Name (ARN) of the custom data identifier.
   304  func (o CustomDataIdentifierOutput) Arn() pulumi.StringOutput {
   305  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput)
   306  }
   307  
   308  // The date and time, in UTC and extended RFC 3339 format, when the Amazon Macie account was created.
   309  func (o CustomDataIdentifierOutput) CreatedAt() pulumi.StringOutput {
   310  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput)
   311  }
   312  
   313  // A custom description of the custom data identifier. The description can contain as many as 512 characters.
   314  func (o CustomDataIdentifierOutput) Description() pulumi.StringPtrOutput {
   315  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput)
   316  }
   317  
   318  // 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.
   319  func (o CustomDataIdentifierOutput) IgnoreWords() pulumi.StringArrayOutput {
   320  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringArrayOutput { return v.IgnoreWords }).(pulumi.StringArrayOutput)
   321  }
   322  
   323  // 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.
   324  func (o CustomDataIdentifierOutput) Keywords() pulumi.StringArrayOutput {
   325  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringArrayOutput { return v.Keywords }).(pulumi.StringArrayOutput)
   326  }
   327  
   328  // 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.
   329  func (o CustomDataIdentifierOutput) MaximumMatchDistance() pulumi.IntOutput {
   330  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.IntOutput { return v.MaximumMatchDistance }).(pulumi.IntOutput)
   331  }
   332  
   333  // 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`.
   334  func (o CustomDataIdentifierOutput) Name() pulumi.StringOutput {
   335  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput)
   336  }
   337  
   338  // Creates a unique name beginning with the specified prefix. Conflicts with `name`.
   339  func (o CustomDataIdentifierOutput) NamePrefix() pulumi.StringOutput {
   340  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringOutput { return v.NamePrefix }).(pulumi.StringOutput)
   341  }
   342  
   343  // The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
   344  func (o CustomDataIdentifierOutput) Regex() pulumi.StringPtrOutput {
   345  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringPtrOutput { return v.Regex }).(pulumi.StringPtrOutput)
   346  }
   347  
   348  // A map of key-value pairs that specifies the tags to associate with the custom data identifier.
   349  func (o CustomDataIdentifierOutput) Tags() pulumi.StringMapOutput {
   350  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput)
   351  }
   352  
   353  // Deprecated: Please use `tags` instead.
   354  func (o CustomDataIdentifierOutput) TagsAll() pulumi.StringMapOutput {
   355  	return o.ApplyT(func(v *CustomDataIdentifier) pulumi.StringMapOutput { return v.TagsAll }).(pulumi.StringMapOutput)
   356  }
   357  
   358  type CustomDataIdentifierArrayOutput struct{ *pulumi.OutputState }
   359  
   360  func (CustomDataIdentifierArrayOutput) ElementType() reflect.Type {
   361  	return reflect.TypeOf((*[]*CustomDataIdentifier)(nil)).Elem()
   362  }
   363  
   364  func (o CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutput() CustomDataIdentifierArrayOutput {
   365  	return o
   366  }
   367  
   368  func (o CustomDataIdentifierArrayOutput) ToCustomDataIdentifierArrayOutputWithContext(ctx context.Context) CustomDataIdentifierArrayOutput {
   369  	return o
   370  }
   371  
   372  func (o CustomDataIdentifierArrayOutput) Index(i pulumi.IntInput) CustomDataIdentifierOutput {
   373  	return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CustomDataIdentifier {
   374  		return vs[0].([]*CustomDataIdentifier)[vs[1].(int)]
   375  	}).(CustomDataIdentifierOutput)
   376  }
   377  
   378  type CustomDataIdentifierMapOutput struct{ *pulumi.OutputState }
   379  
   380  func (CustomDataIdentifierMapOutput) ElementType() reflect.Type {
   381  	return reflect.TypeOf((*map[string]*CustomDataIdentifier)(nil)).Elem()
   382  }
   383  
   384  func (o CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutput() CustomDataIdentifierMapOutput {
   385  	return o
   386  }
   387  
   388  func (o CustomDataIdentifierMapOutput) ToCustomDataIdentifierMapOutputWithContext(ctx context.Context) CustomDataIdentifierMapOutput {
   389  	return o
   390  }
   391  
   392  func (o CustomDataIdentifierMapOutput) MapIndex(k pulumi.StringInput) CustomDataIdentifierOutput {
   393  	return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CustomDataIdentifier {
   394  		return vs[0].(map[string]*CustomDataIdentifier)[vs[1].(string)]
   395  	}).(CustomDataIdentifierOutput)
   396  }
   397  
   398  func init() {
   399  	pulumi.RegisterInputType(reflect.TypeOf((*CustomDataIdentifierInput)(nil)).Elem(), &CustomDataIdentifier{})
   400  	pulumi.RegisterInputType(reflect.TypeOf((*CustomDataIdentifierArrayInput)(nil)).Elem(), CustomDataIdentifierArray{})
   401  	pulumi.RegisterInputType(reflect.TypeOf((*CustomDataIdentifierMapInput)(nil)).Elem(), CustomDataIdentifierMap{})
   402  	pulumi.RegisterOutputType(CustomDataIdentifierOutput{})
   403  	pulumi.RegisterOutputType(CustomDataIdentifierArrayOutput{})
   404  	pulumi.RegisterOutputType(CustomDataIdentifierMapOutput{})
   405  }