

# PolicyGenerationDetails
<a name="API_PolicyGenerationDetails"></a>

Contains the ARN details about the IAM entity for which the policy is generated.

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

 ** principalArn **   <a name="accessanalyzer-Type-PolicyGenerationDetails-principalArn"></a>
The ARN of the IAM entity (user or role) for which you are generating a policy.  
Type: String  
Pattern: `arn:[^:]*:iam::[^:]*:(role|user)/.{1,576}`   
Required: Yes

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