# MessageTemplateAttributesProperty

The attributes that are used with the message template.

- Source: Generated code
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

```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 messageTemplateAttributesProperty: wisdom.CfnMessageTemplate.MessageTemplateAttributesProperty = {
  agentAttributes: {
    firstName: 'firstName',
    lastName: 'lastName',
  },
  customAttributes: {
    customAttributesKey: 'customAttributes',
  },
  customerProfileAttributes: {
    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',
  },
  systemAttributes: {
    customerEndpoint: {
      address: 'address',
    },
    name: 'name',
    systemEndpoint: {
      address: 'address',
    },
  },
};
```

## Properties

- `agentAttributes`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMessageTemplate.AgentAttributesProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnMessageTemplate.AgentAttributesProperty.html) — The agent attributes that are used with the message template.

- `customAttributes`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — The custom attributes that are used with the message template.

- `customerProfileAttributes`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMessageTemplate.CustomerProfileAttributesProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnMessageTemplate.CustomerProfileAttributesProperty.html) — The customer profile attributes that are used with the message template.

- `systemAttributes`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMessageTemplate.SystemAttributesProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnMessageTemplate.SystemAttributesProperty.html) — The system attributes that are used with the message template.
