

# Location
<a name="API_Location"></a>

A location in a policy that is represented as a path through the JSON representation and a corresponding span.

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

 ** path **   <a name="accessanalyzer-Type-Location-path"></a>
A path in a policy, represented as a sequence of path elements.  
Type: Array of [PathElement](API_PathElement.md) objects  
Required: Yes

 ** span **   <a name="accessanalyzer-Type-Location-span"></a>
A span in a policy.  
Type: [Span](API_Span.md) object  
Required: Yes

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