# OpenSearchConfigurationProperty

Configuration for OpenSearch exporter.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const openSearchConfigurationProperty: aps.CfnScraper.OpenSearchConfigurationProperty = {
  domainArn: 'domainArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_aps as aps

open_search_configuration_property = aps.CfnScraper.OpenSearchConfigurationProperty(
    domain_arn="domainArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.aps.*;

OpenSearchConfigurationProperty openSearchConfigurationProperty = OpenSearchConfigurationProperty.builder()
        .domainArn("domainArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APS;

var openSearchConfigurationProperty = new OpenSearchConfigurationProperty {
    DomainArn = "domainArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

openSearchConfigurationProperty := &OpenSearchConfigurationProperty{
	DomainArn: jsii.String("domainArn"),
}
```

## Properties

- `domainArn`: string (required) — ARN of an OpenSearch Service domain.
