Skip to content
v2.276.0

ProbeReference Struct Added in v2.276.0 ​

A reference to a Probe resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmonitor as interfaces_networkmonitor } from 'aws-cdk-lib/interfaces';
const probeReference: interfaces_networkmonitor.ProbeReference = {
  monitorName: 'monitorName',
  probeArn: 'probeArn',
  probeId: 'probeId',
};
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_networkmonitor as interfaces_networkmonitor

probe_reference = interfaces_networkmonitor.ProbeReference(
    monitor_name="monitorName",
    probe_arn="probeArn",
    probe_id="probeId"
)
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.networkmonitor.*;

ProbeReference probeReference = ProbeReference.builder()
        .monitorName("monitorName")
        .probeArn("probeArn")
        .probeId("probeId")
        .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.NetworkMonitor;

var probeReference = new ProbeReference {
    MonitorName = "monitorName",
    ProbeArn = "probeArn",
    ProbeId = "probeId"
};
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"

probeReference := &ProbeReference{
	MonitorName: jsii.String("monitorName"),
	ProbeArn: jsii.String("probeArn"),
	ProbeId: jsii.String("probeId"),
}

Properties ​

monitorNamestringmonitor_namestrmonitorNameStringMonitorNamestringMonitorName*stringrequired#
The MonitorName of the Probe resource.
probeArnstringprobe_arnstrprobeArnStringProbeArnstringProbeArn*stringrequired#
The ARN of the Probe resource.
probeIdstringprobe_idstrprobeIdStringProbeIdstringProbeId*stringrequired#
The ProbeId of the Probe resource.