MessageTemplateAttributesProperty Struct
The attributes that are used with the message template.
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
agentAttributesoptionalIResolvable | CfnMessageTemplate.AgentAttributesPropertyagent_attributesoptionaltyping.Union[IResolvable, AgentAttributesProperty]agentAttributesoptionalIResolvableAgentAttributesoptionalIResolvableAgentAttributesoptionalinterface{}#The agent attributes that are used with the message template.
customAttributesoptionalIResolvable | { [key: string]: string }custom_attributesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]customAttributesoptionalIResolvableCustomAttributesoptionalIResolvableCustomAttributesoptionalinterface{}#The custom attributes that are used with the message template.
customerProfileAttributesoptionalIResolvable | CfnMessageTemplate.CustomerProfileAttributesPropertycustomer_profile_attributesoptionaltyping.Union[IResolvable, CustomerProfileAttributesProperty]customerProfileAttributesoptionalIResolvableCustomerProfileAttributesoptionalIResolvableCustomerProfileAttributesoptionalinterface{}#The customer profile attributes that are used with the message template.
systemAttributesoptionalIResolvable | CfnMessageTemplate.SystemAttributesPropertysystem_attributesoptionaltyping.Union[IResolvable, SystemAttributesProperty]systemAttributesoptionalIResolvableSystemAttributesoptionalIResolvableSystemAttributesoptionalinterface{}#The system attributes that are used with the message template.