

# ContextAttribute

An attribute used to analyze a principal's access.

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

 ** Key **   <a name="lakeformation-Type-ContextAttribute-Key"></a>
The key of the attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: No

 ** ProviderType **   <a name="lakeformation-Type-ContextAttribute-ProviderType"></a>
The source of the attribute: `IAM` for IAM principal tags or `IDP` for identity provider claims.  
Type: String  
Valid Values: `IAM | IDP`   
Required: No

 ** Value **   <a name="lakeformation-Type-ContextAttribute-Value"></a>
The value of the attribute.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

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