

# UpdateExperimentTemplateTargetInput
<a name="API_UpdateExperimentTemplateTargetInput"></a>

Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both.

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

 ** resourceType **   <a name="fis-Type-UpdateExperimentTemplateTargetInput-resourceType"></a>
The resource type. The resource type must be supported for the specified action.  
Type: String  
Length Constraints: Maximum length of 128.  
Pattern: `[\S]+`   
Required: Yes

 ** selectionMode **   <a name="fis-Type-UpdateExperimentTemplateTargetInput-selectionMode"></a>
Scopes the identified resources to a specific count or percentage.  
Type: String  
Length Constraints: Maximum length of 64.  
Pattern: `[\S]+`   
Required: Yes

 ** filters **   <a name="fis-Type-UpdateExperimentTemplateTargetInput-filters"></a>
The filters to apply to identify target resources using specific attributes.  
Type: Array of [ExperimentTemplateTargetInputFilter](API_ExperimentTemplateTargetInputFilter.md) objects  
Required: No

 ** parameters **   <a name="fis-Type-UpdateExperimentTemplateTargetInput-parameters"></a>
The resource type parameters.  
Type: String to string map  
Key Length Constraints: Maximum length of 64.  
Key Pattern: `[\S]+`   
Value Length Constraints: Minimum length of 1. Maximum length of 1024.  
Value Pattern: `^[\p{L}\p{Z}\p{N}_.:/=+\-@]+$`   
Required: No

 ** resourceArns **   <a name="fis-Type-UpdateExperimentTemplateTargetInput-resourceArns"></a>
The Amazon Resource Names (ARNs) of the targets.  
Type: Array of strings  
Array Members: Maximum number of 5 items.  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Pattern: `[\S]+`   
Required: No

 ** resourceTags **   <a name="fis-Type-UpdateExperimentTemplateTargetInput-resourceTags"></a>
The tags for the target resources.  
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Maximum length of 128.  
Key Pattern: `[\s\S]+`   
Value Length Constraints: Maximum length of 256.  
Value Pattern: `[\s\S]*`   
Required: No

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

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/fis-2020-12-01/UpdateExperimentTemplateTargetInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/fis-2020-12-01/UpdateExperimentTemplateTargetInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/fis-2020-12-01/UpdateExperimentTemplateTargetInput) 