> **Experimental**
>
> `@aws-cdk/aws-applicationsignals-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# JavaInstrumentation

Java-specific OpenTelemetry instrumentation configurations.

Contains constants for Java agent setup and tool options.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/enablement/constants.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-applicationsignals-alpha/lib/enablement/constants.ts#L102)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as applicationsignals_alpha from '@aws-cdk/aws-applicationsignals-alpha';
const javaInstrumentation = new applicationsignals_alpha.JavaInstrumentation();
```

Python:

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

java_instrumentation = applicationsignals_alpha.JavaInstrumentation()
```

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.applicationsignals.alpha.*;

JavaInstrumentation javaInstrumentation = new JavaInstrumentation();
```

C# / .NET:

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

var javaInstrumentation = new JavaInstrumentation();
```

Golang:

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

javaInstrumentation := applicationsignals_alpha.NewJavaInstrumentation()
```

## Initializer

TypeScript:

```ts
new JavaInstrumentation()
```

Python:

```python
JavaInstrumentation()
```

Java:

```java
new JavaInstrumentation()
```

C# / .NET:

```csharp
new JavaInstrumentation()
```

Golang:

```go
NewJavaInstrumentation()
```

## Properties

- `JAVA_TOOL_OPTIONS`: string (static) — Java tool options environment variable.
