Skip to content
v2.278.0

AttributeTypesSelectorProperty Struct ​

Configures information about the AttributeTypesSelector which rule-based identity resolution uses to match profiles.

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 attributeTypesSelectorProperty: customerprofiles.CfnDomain.AttributeTypesSelectorProperty = {
  attributeMatchingModel: 'attributeMatchingModel',

  // the properties below are optional
  address: ['address'],
  emailAddress: ['emailAddress'],
  phoneNumber: ['phoneNumber'],
};
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

attribute_types_selector_property = customerprofiles.CfnDomain.AttributeTypesSelectorProperty(
    attribute_matching_model="attributeMatchingModel",

    # the properties below are optional
    address=["address"],
    email_address=["emailAddress"],
    phone_number=["phoneNumber"]
)
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.*;

AttributeTypesSelectorProperty attributeTypesSelectorProperty = AttributeTypesSelectorProperty.builder()
        .attributeMatchingModel("attributeMatchingModel")

        // the properties below are optional
        .address(List.of("address"))
        .emailAddress(List.of("emailAddress"))
        .phoneNumber(List.of("phoneNumber"))
        .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 attributeTypesSelectorProperty = new AttributeTypesSelectorProperty {
    AttributeMatchingModel = "attributeMatchingModel",

    // the properties below are optional
    Address = new [] { "address" },
    EmailAddress = new [] { "emailAddress" },
    PhoneNumber = new [] { "phoneNumber" }
};
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"

attributeTypesSelectorProperty := &AttributeTypesSelectorProperty{
	AttributeMatchingModel: jsii.String("attributeMatchingModel"),

	// the properties below are optional
	Address: []*string{
		jsii.String("address"),
	},
	EmailAddress: []*string{
		jsii.String("emailAddress"),
	},
	PhoneNumber: []*string{
		jsii.String("phoneNumber"),
	},
}

Properties ​

addressoptionalstring[]addressoptionaltyping.List[str]addressoptionalList<String>Addressoptionalstring[]Addressoptional*[]*string #
The `Address` type.
notes

You can choose from Address , BusinessAddress , MaillingAddress , and ShippingAddress . You only can use the Address type in the MatchingRule . For example, if you want to match a profile based on BusinessAddress.City or MaillingAddress.City , you can choose the BusinessAddress and the MaillingAddress to represent the Address type and specify the Address.City on the matching rule.

attributeMatchingModelstringattribute_matching_modelstrattributeMatchingModelStringAttributeMatchingModelstringAttributeMatchingModel*string required #
Configures the `AttributeMatchingModel` , you can either choose `ONE_TO_ONE` or `MANY_TO_MANY` .
emailAddressoptionalstring[]email_addressoptionaltyping.List[str]emailAddressoptionalList<String>EmailAddressoptionalstring[]EmailAddressoptional*[]*string #
The Email type.
notes

You can choose from EmailAddress , BusinessEmailAddress and PersonalEmailAddress . You only can use the EmailAddress type in the MatchingRule . For example, if you want to match profile based on PersonalEmailAddress or BusinessEmailAddress , you can choose the PersonalEmailAddress and the BusinessEmailAddress to represent the EmailAddress type and only specify the EmailAddress on the matching rule.

phoneNumberoptionalstring[]phone_numberoptionaltyping.List[str]phoneNumberoptionalList<String>PhoneNumberoptionalstring[]PhoneNumberoptional*[]*string #
The `PhoneNumber` type.
notes

You can choose from PhoneNumber , HomePhoneNumber , and MobilePhoneNumber . You only can use the PhoneNumber type in the MatchingRule . For example, if you want to match a profile based on Phone or HomePhone , you can choose the Phone and the HomePhone to represent the PhoneNumber type and only specify the PhoneNumber on the matching rule.