Skip to content
v2.274.0

Experimental

@aws-cdk/aws-applicationsignals-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

JavaInstrumentation Class ​

Java-specific OpenTelemetry instrumentation configurations.

Contains constants for Java agent setup and tool options.

Example ​

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
# 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
// 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();
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();
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 ​

ts
new JavaInstrumentation()
python
JavaInstrumentation()
java
new JavaInstrumentation()
csharp
new JavaInstrumentation()
go
NewJavaInstrumentation()

Properties ​

JAVA_TOOL_OPTIONSstringjava_tool_optionsstrJAVA_TOOL_OPTIONSStringJAVA_TOOL_OPTIONSstringJAVA_TOOL_OPTIONS*stringrequiredstatic#
Java tool options environment variable.