Interface CfnMonitorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMonitorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:56.474Z")
@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.networkmonitor.*;
CfnMonitorProps cfnMonitorProps = CfnMonitorProps.builder()
.monitorName("monitorName")
// the properties below are optional
.aggregationPeriod(123)
.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()default NumberThe time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch.The name identifying the monitor.getTags()The tags for the monitor.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMonitorName
The name identifying the monitor.It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
- See Also:
-
getAggregationPeriod
The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch.Valid values are either 30 or 60.
- See Also:
-
getTags
The tags for the monitor.- See Also:
-
builder
- Returns:
- a
CfnMonitorProps.BuilderofCfnMonitorProps
-