KeyMapProperty Struct
A unique key map that can be used to map data to the profile.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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" }
} }
};
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 of the key.
objectTypeKeyListoptionalIResolvable | IResolvable | CfnObjectType.object_type_key_listoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ObjectTypeKeyProperty]]]objectTypeKeyListoptionalIResolvableObjectTypeKeyListoptionalIResolvableObjectTypeKeyListoptionalinterface{} #A list of ObjectTypeKey.