Interface CfnMonitorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMonitorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:07.377Z")
@Stability(Stable)
public interface CfnMonitorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMonitor.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkflowmonitor.*;
CfnMonitorProps cfnMonitorProps = CfnMonitorProps.builder()
.localResources(List.of(MonitorLocalResourceProperty.builder()
.identifier("identifier")
.type("type")
.build()))
.monitorName("monitorName")
// the properties below are optional
.remoteResources(List.of(MonitorRemoteResourceProperty.builder()
.identifier("identifier")
.type("type")
.build()))
.scopeArn("scopeArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMonitorPropsstatic final classAn implementation forCfnMonitorProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMonitorProps.Builderbuilder()The local resources to monitor.The name of the monitor.default ObjectThe remote resources to monitor.default StringThe Amazon Resource Name (ARN) of the scope for the monitor.getTags()The tags for the monitor.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLocalResources
The local resources to monitor.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMonitor.MonitorLocalResourceProperty>- See Also:
-
getMonitorName
The name of the monitor.- See Also:
-
getRemoteResources
The remote resources to monitor.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMonitor.MonitorRemoteResourceProperty>- See Also:
-
getScopeArn
The Amazon Resource Name (ARN) of the scope for the monitor.- See Also:
-
getTags
The tags for the monitor.- See Also:
-
builder
- Returns:
- a
CfnMonitorProps.BuilderofCfnMonitorProps
-