# CustomerProfileAttributesProperty

The customer profile attributes that are used with the message template.

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const customerProfileAttributesProperty: wisdom.CfnMessageTemplate.CustomerProfileAttributesProperty = {
  accountNumber: 'accountNumber',
  additionalInformation: 'additionalInformation',
  address1: 'address1',
  address2: 'address2',
  address3: 'address3',
  address4: 'address4',
  billingAddress1: 'billingAddress1',
  billingAddress2: 'billingAddress2',
  billingAddress3: 'billingAddress3',
  billingAddress4: 'billingAddress4',
  billingCity: 'billingCity',
  billingCountry: 'billingCountry',
  billingCounty: 'billingCounty',
  billingPostalCode: 'billingPostalCode',
  billingProvince: 'billingProvince',
  billingState: 'billingState',
  birthDate: 'birthDate',
  businessEmailAddress: 'businessEmailAddress',
  businessName: 'businessName',
  businessPhoneNumber: 'businessPhoneNumber',
  city: 'city',
  country: 'country',
  county: 'county',
  custom: {
    customKey: 'custom',
  },
  emailAddress: 'emailAddress',
  firstName: 'firstName',
  gender: 'gender',
  homePhoneNumber: 'homePhoneNumber',
  lastName: 'lastName',
  mailingAddress1: 'mailingAddress1',
  mailingAddress2: 'mailingAddress2',
  mailingAddress3: 'mailingAddress3',
  mailingAddress4: 'mailingAddress4',
  mailingCity: 'mailingCity',
  mailingCountry: 'mailingCountry',
  mailingCounty: 'mailingCounty',
  mailingPostalCode: 'mailingPostalCode',
  mailingProvince: 'mailingProvince',
  mailingState: 'mailingState',
  middleName: 'middleName',
  mobilePhoneNumber: 'mobilePhoneNumber',
  partyType: 'partyType',
  phoneNumber: 'phoneNumber',
  postalCode: 'postalCode',
  profileArn: 'profileArn',
  profileId: 'profileId',
  province: 'province',
  shippingAddress1: 'shippingAddress1',
  shippingAddress2: 'shippingAddress2',
  shippingAddress3: 'shippingAddress3',
  shippingAddress4: 'shippingAddress4',
  shippingCity: 'shippingCity',
  shippingCountry: 'shippingCountry',
  shippingCounty: 'shippingCounty',
  shippingPostalCode: 'shippingPostalCode',
  shippingProvince: 'shippingProvince',
  shippingState: 'shippingState',
  state: 'state',
};
```

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_wisdom as wisdom

customer_profile_attributes_property = wisdom.CfnMessageTemplate.CustomerProfileAttributesProperty(
    account_number="accountNumber",
    additional_information="additionalInformation",
    address1="address1",
    address2="address2",
    address3="address3",
    address4="address4",
    billing_address1="billingAddress1",
    billing_address2="billingAddress2",
    billing_address3="billingAddress3",
    billing_address4="billingAddress4",
    billing_city="billingCity",
    billing_country="billingCountry",
    billing_county="billingCounty",
    billing_postal_code="billingPostalCode",
    billing_province="billingProvince",
    billing_state="billingState",
    birth_date="birthDate",
    business_email_address="businessEmailAddress",
    business_name="businessName",
    business_phone_number="businessPhoneNumber",
    city="city",
    country="country",
    county="county",
    custom={
        "custom_key": "custom"
    },
    email_address="emailAddress",
    first_name="firstName",
    gender="gender",
    home_phone_number="homePhoneNumber",
    last_name="lastName",
    mailing_address1="mailingAddress1",
    mailing_address2="mailingAddress2",
    mailing_address3="mailingAddress3",
    mailing_address4="mailingAddress4",
    mailing_city="mailingCity",
    mailing_country="mailingCountry",
    mailing_county="mailingCounty",
    mailing_postal_code="mailingPostalCode",
    mailing_province="mailingProvince",
    mailing_state="mailingState",
    middle_name="middleName",
    mobile_phone_number="mobilePhoneNumber",
    party_type="partyType",
    phone_number="phoneNumber",
    postal_code="postalCode",
    profile_arn="profileArn",
    profile_id="profileId",
    province="province",
    shipping_address1="shippingAddress1",
    shipping_address2="shippingAddress2",
    shipping_address3="shippingAddress3",
    shipping_address4="shippingAddress4",
    shipping_city="shippingCity",
    shipping_country="shippingCountry",
    shipping_county="shippingCounty",
    shipping_postal_code="shippingPostalCode",
    shipping_province="shippingProvince",
    shipping_state="shippingState",
    state="state"
)
```

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.wisdom.*;

CustomerProfileAttributesProperty customerProfileAttributesProperty = CustomerProfileAttributesProperty.builder()
        .accountNumber("accountNumber")
        .additionalInformation("additionalInformation")
        .address1("address1")
        .address2("address2")
        .address3("address3")
        .address4("address4")
        .billingAddress1("billingAddress1")
        .billingAddress2("billingAddress2")
        .billingAddress3("billingAddress3")
        .billingAddress4("billingAddress4")
        .billingCity("billingCity")
        .billingCountry("billingCountry")
        .billingCounty("billingCounty")
        .billingPostalCode("billingPostalCode")
        .billingProvince("billingProvince")
        .billingState("billingState")
        .birthDate("birthDate")
        .businessEmailAddress("businessEmailAddress")
        .businessName("businessName")
        .businessPhoneNumber("businessPhoneNumber")
        .city("city")
        .country("country")
        .county("county")
        .custom(Map.of(
                "customKey", "custom"))
        .emailAddress("emailAddress")
        .firstName("firstName")
        .gender("gender")
        .homePhoneNumber("homePhoneNumber")
        .lastName("lastName")
        .mailingAddress1("mailingAddress1")
        .mailingAddress2("mailingAddress2")
        .mailingAddress3("mailingAddress3")
        .mailingAddress4("mailingAddress4")
        .mailingCity("mailingCity")
        .mailingCountry("mailingCountry")
        .mailingCounty("mailingCounty")
        .mailingPostalCode("mailingPostalCode")
        .mailingProvince("mailingProvince")
        .mailingState("mailingState")
        .middleName("middleName")
        .mobilePhoneNumber("mobilePhoneNumber")
        .partyType("partyType")
        .phoneNumber("phoneNumber")
        .postalCode("postalCode")
        .profileArn("profileArn")
        .profileId("profileId")
        .province("province")
        .shippingAddress1("shippingAddress1")
        .shippingAddress2("shippingAddress2")
        .shippingAddress3("shippingAddress3")
        .shippingAddress4("shippingAddress4")
        .shippingCity("shippingCity")
        .shippingCountry("shippingCountry")
        .shippingCounty("shippingCounty")
        .shippingPostalCode("shippingPostalCode")
        .shippingProvince("shippingProvince")
        .shippingState("shippingState")
        .state("state")
        .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.Wisdom;

var customerProfileAttributesProperty = new CustomerProfileAttributesProperty {
    AccountNumber = "accountNumber",
    AdditionalInformation = "additionalInformation",
    Address1 = "address1",
    Address2 = "address2",
    Address3 = "address3",
    Address4 = "address4",
    BillingAddress1 = "billingAddress1",
    BillingAddress2 = "billingAddress2",
    BillingAddress3 = "billingAddress3",
    BillingAddress4 = "billingAddress4",
    BillingCity = "billingCity",
    BillingCountry = "billingCountry",
    BillingCounty = "billingCounty",
    BillingPostalCode = "billingPostalCode",
    BillingProvince = "billingProvince",
    BillingState = "billingState",
    BirthDate = "birthDate",
    BusinessEmailAddress = "businessEmailAddress",
    BusinessName = "businessName",
    BusinessPhoneNumber = "businessPhoneNumber",
    City = "city",
    Country = "country",
    County = "county",
    Custom = new Dictionary<string, string> {
        { "customKey", "custom" }
    },
    EmailAddress = "emailAddress",
    FirstName = "firstName",
    Gender = "gender",
    HomePhoneNumber = "homePhoneNumber",
    LastName = "lastName",
    MailingAddress1 = "mailingAddress1",
    MailingAddress2 = "mailingAddress2",
    MailingAddress3 = "mailingAddress3",
    MailingAddress4 = "mailingAddress4",
    MailingCity = "mailingCity",
    MailingCountry = "mailingCountry",
    MailingCounty = "mailingCounty",
    MailingPostalCode = "mailingPostalCode",
    MailingProvince = "mailingProvince",
    MailingState = "mailingState",
    MiddleName = "middleName",
    MobilePhoneNumber = "mobilePhoneNumber",
    PartyType = "partyType",
    PhoneNumber = "phoneNumber",
    PostalCode = "postalCode",
    ProfileArn = "profileArn",
    ProfileId = "profileId",
    Province = "province",
    ShippingAddress1 = "shippingAddress1",
    ShippingAddress2 = "shippingAddress2",
    ShippingAddress3 = "shippingAddress3",
    ShippingAddress4 = "shippingAddress4",
    ShippingCity = "shippingCity",
    ShippingCountry = "shippingCountry",
    ShippingCounty = "shippingCounty",
    ShippingPostalCode = "shippingPostalCode",
    ShippingProvince = "shippingProvince",
    ShippingState = "shippingState",
    State = "state"
};
```

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"

customerProfileAttributesProperty := &CustomerProfileAttributesProperty{
	AccountNumber: jsii.String("accountNumber"),
	AdditionalInformation: jsii.String("additionalInformation"),
	Address1: jsii.String("address1"),
	Address2: jsii.String("address2"),
	Address3: jsii.String("address3"),
	Address4: jsii.String("address4"),
	BillingAddress1: jsii.String("billingAddress1"),
	BillingAddress2: jsii.String("billingAddress2"),
	BillingAddress3: jsii.String("billingAddress3"),
	BillingAddress4: jsii.String("billingAddress4"),
	BillingCity: jsii.String("billingCity"),
	BillingCountry: jsii.String("billingCountry"),
	BillingCounty: jsii.String("billingCounty"),
	BillingPostalCode: jsii.String("billingPostalCode"),
	BillingProvince: jsii.String("billingProvince"),
	BillingState: jsii.String("billingState"),
	BirthDate: jsii.String("birthDate"),
	BusinessEmailAddress: jsii.String("businessEmailAddress"),
	BusinessName: jsii.String("businessName"),
	BusinessPhoneNumber: jsii.String("businessPhoneNumber"),
	City: jsii.String("city"),
	Country: jsii.String("country"),
	County: jsii.String("county"),
	Custom: map[string]*string{
		"customKey": jsii.String("custom"),
	},
	EmailAddress: jsii.String("emailAddress"),
	FirstName: jsii.String("firstName"),
	Gender: jsii.String("gender"),
	HomePhoneNumber: jsii.String("homePhoneNumber"),
	LastName: jsii.String("lastName"),
	MailingAddress1: jsii.String("mailingAddress1"),
	MailingAddress2: jsii.String("mailingAddress2"),
	MailingAddress3: jsii.String("mailingAddress3"),
	MailingAddress4: jsii.String("mailingAddress4"),
	MailingCity: jsii.String("mailingCity"),
	MailingCountry: jsii.String("mailingCountry"),
	MailingCounty: jsii.String("mailingCounty"),
	MailingPostalCode: jsii.String("mailingPostalCode"),
	MailingProvince: jsii.String("mailingProvince"),
	MailingState: jsii.String("mailingState"),
	MiddleName: jsii.String("middleName"),
	MobilePhoneNumber: jsii.String("mobilePhoneNumber"),
	PartyType: jsii.String("partyType"),
	PhoneNumber: jsii.String("phoneNumber"),
	PostalCode: jsii.String("postalCode"),
	ProfileArn: jsii.String("profileArn"),
	ProfileId: jsii.String("profileId"),
	Province: jsii.String("province"),
	ShippingAddress1: jsii.String("shippingAddress1"),
	ShippingAddress2: jsii.String("shippingAddress2"),
	ShippingAddress3: jsii.String("shippingAddress3"),
	ShippingAddress4: jsii.String("shippingAddress4"),
	ShippingCity: jsii.String("shippingCity"),
	ShippingCountry: jsii.String("shippingCountry"),
	ShippingCounty: jsii.String("shippingCounty"),
	ShippingPostalCode: jsii.String("shippingPostalCode"),
	ShippingProvince: jsii.String("shippingProvince"),
	ShippingState: jsii.String("shippingState"),
	State: jsii.String("state"),
}
```

## Properties

- `accountNumber`: string — A unique account number that you have given to the customer.

- `additionalInformation`: string — Any additional information relevant to the customer's profile.

- `address1`: string — The first line of a customer address.

- `address2`: string — The second line of a customer address.

- `address3`: string — The third line of a customer address.

- `address4`: string — The fourth line of a customer address.

- `billingAddress1`: string — The first line of a customer’s billing address.

- `billingAddress2`: string — The second line of a customer’s billing address.

- `billingAddress3`: string — The third line of a customer’s billing address.

- `billingAddress4`: string — The fourth line of a customer’s billing address.

- `billingCity`: string — The city of a customer’s billing address.

- `billingCountry`: string — The country of a customer’s billing address.

- `billingCounty`: string — The county of a customer’s billing address.

- `billingPostalCode`: string — The postal code of a customer’s billing address.

- `billingProvince`: string — The province of a customer’s billing address.

- `billingState`: string — The state of a customer’s billing address.

- `birthDate`: string — The customer's birth date.

- `businessEmailAddress`: string — The customer's business email address.

- `businessName`: string — The name of the customer's business.

- `businessPhoneNumber`: string — The customer's business phone number.

- `city`: string — The city in which a customer lives.

- `country`: string — The country in which a customer lives.

- `county`: string — The county in which a customer lives.

- `custom`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — The custom attributes in customer profile attributes.

- `emailAddress`: string — The customer's email address, which has not been specified as a personal or business address.

- `firstName`: string — The customer's first name.

- `gender`: string — The customer's gender.

- `homePhoneNumber`: string — The customer's mobile phone number.

- `lastName`: string — The customer's last name.

- `mailingAddress1`: string — The first line of a customer’s mailing address.

- `mailingAddress2`: string — The second line of a customer’s mailing address.

- `mailingAddress3`: string — The third line of a customer’s mailing address.

- `mailingAddress4`: string — The fourth line of a customer’s mailing address.

- `mailingCity`: string — The city of a customer’s mailing address.

- `mailingCountry`: string — The country of a customer’s mailing address.

- `mailingCounty`: string — The county of a customer’s mailing address.

- `mailingPostalCode`: string — The postal code of a customer’s mailing address.

- `mailingProvince`: string — The province of a customer’s mailing address.

- `mailingState`: string — The state of a customer’s mailing address.

- `middleName`: string — The customer's middle name.

- `mobilePhoneNumber`: string — The customer's mobile phone number.

- `partyType`: string — The customer's party type.

- `phoneNumber`: string — The customer's phone number, which has not been specified as a mobile, home, or business number.

- `postalCode`: string — The postal code of a customer address.

- `profileArn`: string — The ARN of a customer profile.

- `profileId`: string — The unique identifier of a customer profile.

- `province`: string — The province in which a customer lives.

- `shippingAddress1`: string — The first line of a customer’s shipping address.

- `shippingAddress2`: string — The second line of a customer’s shipping address.

- `shippingAddress3`: string — The third line of a customer’s shipping address.

- `shippingAddress4`: string — The fourth line of a customer’s shipping address.

- `shippingCity`: string — The city of a customer’s shipping address.

- `shippingCountry`: string — The country of a customer’s shipping address.

- `shippingCounty`: string — The county of a customer’s shipping address.

- `shippingPostalCode`: string — The postal code of a customer’s shipping address.

- `shippingProvince`: string — The province of a customer’s shipping address.

- `shippingState`: string — The state of a customer’s shipping address.

- `state`: string — The state in which a customer lives.
