# KeyMapProperty

A unique key map that can be used to map data to the profile.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const keyMapProperty: customerprofiles.CfnObjectType.KeyMapProperty = {
  name: 'name',
  objectTypeKeyList: [{
    fieldNames: ['fieldNames'],
    standardIdentifiers: ['standardIdentifiers'],
  }],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_customerprofiles as customerprofiles

key_map_property = customerprofiles.CfnObjectType.KeyMapProperty(
    name="name",
    object_type_key_list=[customerprofiles.CfnObjectType.ObjectTypeKeyProperty(
        field_names=["fieldNames"],
        standard_identifiers=["standardIdentifiers"]
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.customerprofiles.*;

KeyMapProperty keyMapProperty = KeyMapProperty.builder()
        .name("name")
        .objectTypeKeyList(List.of(ObjectTypeKeyProperty.builder()
                .fieldNames(List.of("fieldNames"))
                .standardIdentifiers(List.of("standardIdentifiers"))
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CustomerProfiles;

var keyMapProperty = new KeyMapProperty {
    Name = "name",
    ObjectTypeKeyList = new [] { new ObjectTypeKeyProperty {
        FieldNames = new [] { "fieldNames" },
        StandardIdentifiers = new [] { "standardIdentifiers" }
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

keyMapProperty := &KeyMapProperty{
	Name: jsii.String("name"),
	ObjectTypeKeyList: []interface{}{
		&ObjectTypeKeyProperty{
			FieldNames: []*string{
				jsii.String("fieldNames"),
			},
			StandardIdentifiers: []*string{
				jsii.String("standardIdentifiers"),
			},
		},
	},
}
```

## Properties

- `name`: string — Name of the key.

- `objectTypeKeyList`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnObjectType.ObjectTypeKeyProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnObjectType.ObjectTypeKeyProperty.html)[] — A list of ObjectTypeKey.
