Skip to content
v2.278.0

InstrumentationConfigReference ​

Struct External

A reference to a InstrumentationConfig resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationsignals as interfaces_applicationsignals } from 'aws-cdk-lib/interfaces';
const instrumentationConfigReference: interfaces_applicationsignals.InstrumentationConfigReference = {
  environment: 'environment',
  instrumentationConfigArn: 'instrumentationConfigArn',
  instrumentationType: 'instrumentationType',
  locationHash: 'locationHash',
  service: 'service',
  signalType: 'signalType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_applicationsignals as interfaces_applicationsignals

instrumentation_config_reference = interfaces_applicationsignals.InstrumentationConfigReference(
    environment="environment",
    instrumentation_config_arn="instrumentationConfigArn",
    instrumentation_type="instrumentationType",
    location_hash="locationHash",
    service="service",
    signal_type="signalType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.applicationsignals.*;

InstrumentationConfigReference instrumentationConfigReference = InstrumentationConfigReference.builder()
        .environment("environment")
        .instrumentationConfigArn("instrumentationConfigArn")
        .instrumentationType("instrumentationType")
        .locationHash("locationHash")
        .service("service")
        .signalType("signalType")
        .build();
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.Interfaces.ApplicationSignals;

var instrumentationConfigReference = new InstrumentationConfigReference {
    Environment = "environment",
    InstrumentationConfigArn = "instrumentationConfigArn",
    InstrumentationType = "instrumentationType",
    LocationHash = "locationHash",
    Service = "service",
    SignalType = "signalType"
};
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"

instrumentationConfigReference := &InstrumentationConfigReference{
	Environment: jsii.String("environment"),
	InstrumentationConfigArn: jsii.String("instrumentationConfigArn"),
	InstrumentationType: jsii.String("instrumentationType"),
	LocationHash: jsii.String("locationHash"),
	Service: jsii.String("service"),
	SignalType: jsii.String("signalType"),
}

Properties ​

environmentstringenvironmentstrenvironmentStringEnvironmentstringEnvironment*string required #
The Environment of the InstrumentationConfig resource.
instrumentationConfigArnstringinstrumentation_config_arnstrinstrumentationConfigArnStringInstrumentationConfigArnstringInstrumentationConfigArn*string required #
The ARN of the InstrumentationConfig resource.
instrumentationTypestringinstrumentation_typestrinstrumentationTypeStringInstrumentationTypestringInstrumentationType*string required #
The InstrumentationType of the InstrumentationConfig resource.
locationHashstringlocation_hashstrlocationHashStringLocationHashstringLocationHash*string required #
The LocationHash of the InstrumentationConfig resource.
servicestringservicestrserviceStringServicestringService*string required #
The Service of the InstrumentationConfig resource.
signalTypestringsignal_typestrsignalTypeStringSignalTypestringSignalType*string required #
The SignalType of the InstrumentationConfig resource.