

# NewRelicApiKeyConfig
<a name="API_NewRelicApiKeyConfig"></a>

API key authentication configuration for New Relic service.

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

 ** accountId **   <a name="devopsagent-Type-NewRelicApiKeyConfig-accountId"></a>
New Relic Account ID  
Type: String  
Length Constraints: Minimum length of 3. Maximum length of 7.  
Pattern: `[0-9]+`   
Required: Yes

 ** apiKey **   <a name="devopsagent-Type-NewRelicApiKeyConfig-apiKey"></a>
New Relic User API Key  
Type: String  
Length Constraints: Minimum length of 1.  
Pattern: `NRAK-[A-Z0-9]+`   
Required: Yes

 ** region **   <a name="devopsagent-Type-NewRelicApiKeyConfig-region"></a>
New Relic region (US or EU)  
Type: String  
Valid Values: `US | EU`   
Required: Yes

 ** alertPolicyIds **   <a name="devopsagent-Type-NewRelicApiKeyConfig-alertPolicyIds"></a>
List of alert policy IDs grouping related conditions  
Type: Array of strings  
Pattern: `[0-9]+`   
Required: No

 ** applicationIds **   <a name="devopsagent-Type-NewRelicApiKeyConfig-applicationIds"></a>
List of monitored APM application IDs in New Relic  
Type: Array of strings  
Pattern: `[0-9]+`   
Required: No

 ** entityGuids **   <a name="devopsagent-Type-NewRelicApiKeyConfig-entityGuids"></a>
List of globally unique IDs for New Relic resources (apps, hosts, services)  
Type: Array of strings  
Pattern: `[a-zA-Z0-9_.-]+`   
Required: No

## See Also
<a name="API_NewRelicApiKeyConfig_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/devops-agent-2026-01-01/NewRelicApiKeyConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/devops-agent-2026-01-01/NewRelicApiKeyConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/devops-agent-2026-01-01/NewRelicApiKeyConfig) 