

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Wisdom::MessageTemplate AgentAttributes
<a name="aws-properties-wisdom-messagetemplate-agentattributes"></a>

Information about an agent.

## Syntax
<a name="aws-properties-wisdom-messagetemplate-agentattributes-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-wisdom-messagetemplate-agentattributes-syntax.json"></a>

```
{
  "[FirstName](#cfn-wisdom-messagetemplate-agentattributes-firstname)" : {{String}},
  "[LastName](#cfn-wisdom-messagetemplate-agentattributes-lastname)" : {{String}}
}
```

### YAML
<a name="aws-properties-wisdom-messagetemplate-agentattributes-syntax.yaml"></a>

```
  [FirstName](#cfn-wisdom-messagetemplate-agentattributes-firstname): {{String}}
  [LastName](#cfn-wisdom-messagetemplate-agentattributes-lastname): {{String}}
```

## Properties
<a name="aws-properties-wisdom-messagetemplate-agentattributes-properties"></a>

`FirstName`  <a name="cfn-wisdom-messagetemplate-agentattributes-firstname"></a>
The agent’s first name as entered in their Amazon Connect user account.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `32767`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LastName`  <a name="cfn-wisdom-messagetemplate-agentattributes-lastname"></a>
The agent’s last name as entered in their Amazon Connect user account.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `32767`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)