

# SourceRoleTemplate
<a name="API_SourceRoleTemplate"></a>

Contains information about the role template that a role was created from.

## Contents
<a name="API_SourceRoleTemplate_Contents"></a>

 ** TemplateArn **   
The Amazon Resource Name (ARN) of the role template that the role was created from.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Required: Yes

 ** TemplateMinorVersion **   
The minor version of the role template that was used to create the role.  
Type: Integer  
Required: Yes

## See Also
<a name="API_SourceRoleTemplate_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/iam-2010-05-08/SourceRoleTemplate) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/iam-2010-05-08/SourceRoleTemplate) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/iam-2010-05-08/SourceRoleTemplate) 