# NewRelicApiKeyConfigProperty

New Relic API key configuration.

- Source: Generated code
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const newRelicApiKeyConfigProperty: devopsagent.CfnService.NewRelicApiKeyConfigProperty = {
  accountId: 'accountId',
  apiKey: 'apiKey',
  region: 'region',

  // the properties below are optional
  alertPolicyIds: ['alertPolicyIds'],
  applicationIds: ['applicationIds'],
  entityGuids: ['entityGuids'],
};
```

## Properties

- `accountId`: string (required) — New Relic Account ID.

- `alertPolicyIds`: string[] — List of alert policy IDs.

- `apiKey`: string (required) — New Relic User API Key.

- `applicationIds`: string[] — List of monitored APM application IDs.

- `entityGuids`: string[] — List of globally unique IDs for New Relic resources.

- `region`: string (required) — New Relic region.
