

# EnvironmentLookup

The criteria used to identify the environment. Provide exactly one of `environmentArn` or `domain`.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** domain **   <a name="assurance-Type-EnvironmentLookup-domain"></a>
Specifies lookup by domain prefix or UUID.  
Type: String  
Length Constraints: Minimum length of 3. Maximum length of 64.  
Pattern: `[a-z][a-z0-9-]{1,62}[a-z0-9]$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}`   
Required: No

 ** environmentArn **   <a name="assurance-Type-EnvironmentLookup-environmentArn"></a>
Specifies lookup by environment ARN.  
Type: String  
Length Constraints: Minimum length of 3. Maximum length of 2048.  
Pattern: `(arn:aws[a-zA-Z-]*:assurance:[a-z0-9-]+:[0-9]{12}:environment/[a-zA-Z0-9][a-zA-Z0-9\-]*|[a-zA-Z0-9][a-zA-Z0-9\-]*)`   
Required: No

## See Also
<a name="API_EnvironmentLookup_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/assurance-2022-07-26/EnvironmentLookup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/EnvironmentLookup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/EnvironmentLookup) 