

# Expiry
<a name="API_Expiry"></a>

An object to specify the expiration of a routing step.

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

 ** DurationInSeconds **   <a name="connect-Type-Expiry-DurationInSeconds"></a>
The number of seconds to wait before expiring the routing step.  
Type: Integer  
Required: No

 ** ExpiryTimestamp **   <a name="connect-Type-Expiry-ExpiryTimestamp"></a>
The timestamp indicating when the routing step expires.  
Type: Timestamp  
Required: No

## See Also
<a name="API_Expiry_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/connect-2017-08-08/Expiry) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connect-2017-08-08/Expiry) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connect-2017-08-08/Expiry) 