

Amazon Cloud Directory will no longer be open to new customers starting on November 7, 2025. For alternatives to Cloud Directory, explore [Amazon DynamoDB](https://aws.amazon.com/dynamodb/) and [Amazon Neptune](https://aws.amazon.com/neptune/). If you need help choosing the right alternative for your use case, or for any other questions, contact [AWS Support](https://aws.amazon.com/support/).

# TypedAttributeValue
<a name="API_TypedAttributeValue"></a>

Represents the data for a typed attribute. You can set one, and only one, of the elements. Each attribute in an item is a name-value pair. Attributes have a single value.

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

 ** BinaryValue **   <a name="amazoncds-Type-TypedAttributeValue-BinaryValue"></a>
A binary data value.  
Type: Base64-encoded binary data object  
Required: No

 ** BooleanValue **   <a name="amazoncds-Type-TypedAttributeValue-BooleanValue"></a>
A Boolean data value.  
Type: Boolean  
Required: No

 ** DatetimeValue **   <a name="amazoncds-Type-TypedAttributeValue-DatetimeValue"></a>
A date and time value.  
Type: Timestamp  
Required: No

 ** NumberValue **   <a name="amazoncds-Type-TypedAttributeValue-NumberValue"></a>
A number data value.  
Type: String  
Required: No

 ** StringValue **   <a name="amazoncds-Type-TypedAttributeValue-StringValue"></a>
A string data value.  
Type: String  
Required: No

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