

# AuthorizedPrincipal


Information about an AWS account or service that has access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

## Contents


 ** Principal **   <a name="opensearchservice-Type-AuthorizedPrincipal-Principal"></a>
The [IAM principal](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html) that is allowed access to the domain.  
Type: String  
Required: No

 ** PrincipalType **   <a name="opensearchservice-Type-AuthorizedPrincipal-PrincipalType"></a>
The type of principal.  
Type: String  
Valid Values: `AWS_ACCOUNT | AWS_SERVICE`   
Required: No

## See Also


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/opensearch-2021-01-01/AuthorizedPrincipal) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/opensearch-2021-01-01/AuthorizedPrincipal) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/opensearch-2021-01-01/AuthorizedPrincipal) 