

# Template


An object that defines the email template to use for an email message, and the values to use for any message variables in that template. An *email template* is a type of message template that contains content that you want to define, save, and reuse in email messages that you send for any of your Amazon Pinpoint projects.

## Contents


 ** TemplateArn **   <a name="pinpoint-Type-Template-TemplateArn"></a>
The Amazon Resource Name (ARN) of the template.  
Type: String  
Required: No

 ** TemplateData **   <a name="pinpoint-Type-Template-TemplateData"></a>
An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable.  
Type: String  
Length Constraints: Maximum length of 262144.  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/pinpoint-email-2018-07-26/Template) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/pinpoint-email-2018-07-26/Template) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/pinpoint-email-2018-07-26/Template) 