

# WorkloadIdentityTemplateDefinitionType

Names a service-owned template definition and carries only the values that definition leaves open.

This data type is used as a request parameter in the [CreateWorkloadIdentityTemplate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateWorkloadIdentityTemplate.html) operation, where supplying it selects the template definition mode. In that mode the service renders `PathPattern` and `AttestationPolicy` from the definition, so you author neither.

There is no `Tags` member here. Tags are the request's top-level `Tags` parameter in both modes, as on every other create operation, so a definition carries only the values it leaves open and `ReplacementValues` is never a channel for tags.

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

 ** TemplateDefinitionArn **   
The Amazon Resource Name (ARN) of the service-owned template definition to render from.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Required: Yes

 ** ReplacementValues **  ReplacementValues.entry.N.key (key)  ReplacementValues.entry.N.value (value)   
The values the definition leaves open, keyed by the name the definition gives each one.  
Type: String to [WorkloadIdentityReplacementValueEntry](API_WorkloadIdentityReplacementValueEntry.md) object map  
Map Entries: Maximum number of 30 items.  
Required: No

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

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