

# KeySchemaElement
<a name="API_KeySchemaElement"></a>

A partition key pair consisting of a name and a type.

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

 ** Name **   <a name="Glue-Type-KeySchemaElement-Name"></a>
The name of a partition key.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*`   
Required: Yes

 ** Type **   <a name="Glue-Type-KeySchemaElement-Type"></a>
The type of a partition key.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 131072.  
Pattern: `[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*`   
Required: Yes

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