

# Duration
<a name="API_Duration"></a>

An object that represents a duration of time.

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

 ** unit **   <a name="appmesh-Type-Duration-unit"></a>
A unit of time.  
Type: String  
Valid Values: `s | ms`   
Required: No

 ** value **   <a name="appmesh-Type-Duration-value"></a>
A number of time units.  
Type: Long  
Valid Range: Minimum value of 0.  
Required: No

## See Also
<a name="API_Duration_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/appmesh-2019-01-25/Duration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmesh-2019-01-25/Duration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmesh-2019-01-25/Duration) 