SchemaInputAttributeProperty Struct
A configuration object for defining input data fields in AWS Entity Resolution .
The SchemaInputAttribute specifies how individual fields in your input data should be processed and matched.
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_entityresolution as entityresolution } from 'aws-cdk-lib';
const schemaInputAttributeProperty: entityresolution.CfnSchemaMapping.SchemaInputAttributeProperty = {
fieldName: 'fieldName',
type: 'type',
// the properties below are optional
groupName: 'groupName',
hashed: false,
matchKey: 'matchKey',
subType: 'subType',
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_entityresolution as entityresolution
schema_input_attribute_property = entityresolution.CfnSchemaMapping.SchemaInputAttributeProperty(
field_name="fieldName",
type="type",
# the properties below are optional
group_name="groupName",
hashed=False,
match_key="matchKey",
sub_type="subType"
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.entityresolution.*;
SchemaInputAttributeProperty schemaInputAttributeProperty = SchemaInputAttributeProperty.builder()
.fieldName("fieldName")
.type("type")
// the properties below are optional
.groupName("groupName")
.hashed(false)
.matchKey("matchKey")
.subType("subType")
.build();
// 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.EntityResolution;
var schemaInputAttributeProperty = new SchemaInputAttributeProperty {
FieldName = "fieldName",
Type = "type",
// the properties below are optional
GroupName = "groupName",
Hashed = false,
MatchKey = "matchKey",
SubType = "subType"
};
// 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"
schemaInputAttributeProperty := &SchemaInputAttributeProperty{
FieldName: jsii.String("fieldName"),
Type: jsii.String("type"),
// the properties below are optional
GroupName: jsii.String("groupName"),
Hashed: jsii.Boolean(false),
MatchKey: jsii.String("matchKey"),
SubType: jsii.String("subType"),
}
Properties
groupNameoptionalstringgroup_nameoptionalstrgroupNameoptionalStringGroupNameoptionalstringGroupNameoptional*string #For example, when working with columns such as NAME_FIRST , NAME_MIDDLE , and NAME_LAST , assigning them a common groupName will prompt AWS Entity Resolution to concatenate them into a single value.
hashedoptionalboolean | IResolvablehashedoptionaltyping.Union[bool, IResolvable]hashedoptionalBooleanHashedoptionalboolHashedoptionalinterface{} #If the value is set to TRUE , the column values are hashed.
If the value is set to FALSE , the column values are cleartext.
matchKeyoptionalstringmatch_keyoptionalstrmatchKeyoptionalStringMatchKeyoptionalstringMatchKeyoptional*string #notes
For example, consider a scenario where the source table contains various addresses, such as business_address and shipping_address . By assigning a matchKey called address to both attributes, AWS Entity Resolution will match records across these fields to create a consolidated matching group.
If no matchKey is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.
subTypeoptionalstringsub_typeoptionalstrsubTypeoptionalStringSubTypeoptionalstringSubTypeoptional*string #notes
LiveRamp supports: NAME | NAME_FIRST | NAME_MIDDLE | NAME_LAST | ADDRESS | ADDRESS_STREET1 | ADDRESS_STREET2 | ADDRESS_STREET3 | ADDRESS_CITY | ADDRESS_STATE | ADDRESS_COUNTRY | ADDRESS_POSTALCODE | PHONE | PHONE_NUMBER | EMAIL_ADDRESS | UNIQUE_ID | PROVIDER_ID
TransUnion supports: NAME | NAME_FIRST | NAME_LAST | ADDRESS | ADDRESS_CITY | ADDRESS_STATE | ADDRESS_COUNTRY | ADDRESS_POSTALCODE | PHONE_NUMBER | EMAIL_ADDRESS | UNIQUE_ID | IPV4 | IPV6 | MAID
Unified ID 2.0 supports: PHONE_NUMBER | EMAIL_ADDRESS | UNIQUE_ID
Normalization is only supported for
NAME,ADDRESS,PHONE, andEMAIL_ADDRESS.If you want to normalize
NAME_FIRST,NAME_MIDDLE, andNAME_LAST, you must group them by assigning them to theNAMEgroupName.If you want to normalize
ADDRESS_STREET1,ADDRESS_STREET2,ADDRESS_STREET3,ADDRESS_CITY,ADDRESS_STATE,ADDRESS_COUNTRY, andADDRESS_POSTALCODE, you must group them by assigning them to theADDRESSgroupName.If you want to normalize
PHONE_NUMBERandPHONE_COUNTRYCODE, you must group them by assigning them to thePHONEgroupName.