Skip to content
v2.278.0

PerformanceMonitorReference Struct ​

A reference to a PerformanceMonitor resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkflowmonitor as interfaces_networkflowmonitor } from 'aws-cdk-lib/interfaces';
const performanceMonitorReference: interfaces_networkflowmonitor.PerformanceMonitorReference = {
  performanceMonitorArn: 'performanceMonitorArn',
};
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_networkflowmonitor as interfaces_networkflowmonitor

performance_monitor_reference = interfaces_networkflowmonitor.PerformanceMonitorReference(
    performance_monitor_arn="performanceMonitorArn"
)
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.networkflowmonitor.*;

PerformanceMonitorReference performanceMonitorReference = PerformanceMonitorReference.builder()
        .performanceMonitorArn("performanceMonitorArn")
        .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.NetworkFlowMonitor;

var performanceMonitorReference = new PerformanceMonitorReference {
    PerformanceMonitorArn = "performanceMonitorArn"
};
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"

performanceMonitorReference := &PerformanceMonitorReference{
	PerformanceMonitorArn: jsii.String("performanceMonitorArn"),
}

Properties ​

performanceMonitorArnstringperformance_monitor_arnstrperformanceMonitorArnStringPerformanceMonitorArnstringPerformanceMonitorArn*string required #
The Arn of the PerformanceMonitor resource.