# ResourceConfigProperty

This structure contains configuration details about an integration between CloudWatch Logs and another entity.

- Source: Generated code
- Type last changed: v2.173.0 · 12 Dec 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const resourceConfigProperty: logs.CfnIntegration.ResourceConfigProperty = {
  openSearchResourceConfig: {
    dashboardViewerPrincipals: ['dashboardViewerPrincipals'],
    dataSourceRoleArn: 'dataSourceRoleArn',

    // the properties below are optional
    applicationArn: 'applicationArn',
    kmsKeyArn: 'kmsKeyArn',
    retentionDays: 123,
  },
};
```

## Properties

- `openSearchResourceConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIntegration.OpenSearchResourceConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_logs.CfnIntegration.OpenSearchResourceConfigProperty.html) — This structure contains configuration details about an integration between CloudWatch Logs and OpenSearch Service.
