Class CfnMonitorPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.internetmonitor.CfnMonitorPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:00.120Z")
@Stability(Stable)
public class CfnMonitorPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::InternetMonitor::Monitor resource is an Internet Monitor resource type that contains information about how you create a monitor in Amazon CloudWatch Internet Monitor.
A monitor in Internet Monitor provides visibility into performance and availability between your applications hosted on AWS and your end users, using a traffic profile that it creates based on the application resources that you add: Virtual Private Clouds (VPCs), Amazon CloudFront distributions, or WorkSpaces directories.
Internet Monitor also alerts you to internet issues that impact your application in the city-networks (geographies and networks) where your end users use it. With Internet Monitor, you can quickly pinpoint the locations and providers that are affected, so that you can address the issue.
For more information, see Using Amazon CloudWatch Internet Monitor in the Amazon CloudWatch User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.internetmonitor.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnMonitorPropsMixin cfnMonitorPropsMixin = CfnMonitorPropsMixin.Builder.create(CfnMonitorMixinProps.builder()
.healthEventsConfig(HealthEventsConfigProperty.builder()
.availabilityLocalHealthEventsConfig(LocalHealthEventsConfigProperty.builder()
.healthScoreThreshold(123)
.minTrafficImpact(123)
.status("status")
.build())
.availabilityScoreThreshold(123)
.performanceLocalHealthEventsConfig(LocalHealthEventsConfigProperty.builder()
.healthScoreThreshold(123)
.minTrafficImpact(123)
.status("status")
.build())
.performanceScoreThreshold(123)
.build())
.includeLinkedAccounts(false)
.internetMeasurementsLogDelivery(InternetMeasurementsLogDeliveryProperty.builder()
.s3Config(S3ConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.logDeliveryStatus("logDeliveryStatus")
.build())
.build())
.linkedAccountId("linkedAccountId")
.maxCityNetworksToMonitor(123)
.monitorName("monitorName")
.resources(List.of("resources"))
.resourcesToAdd(List.of("resourcesToAdd"))
.resourcesToRemove(List.of("resourcesToRemove"))
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.trafficPercentageToMonitor(123)
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnMonitorPropsMixin.static interfaceDefine the health event threshold percentages for the performance score and availability score for your application's monitor.static interfacePublish internet measurements to an Amazon S3 bucket in addition to CloudWatch Logs.static interfaceConfiguration information that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance or availability issue, when scores cross a threshold for one or more city-networks.static interfaceThe configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::InternetMonitor::Monitor.CfnMonitorPropsMixin(CfnMonitorMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::InternetMonitor::Monitor.protectedCfnMonitorPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnMonitorPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnMonitorMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnMonitorPropsMixin
protected CfnMonitorPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMonitorPropsMixin
protected CfnMonitorPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMonitorPropsMixin
@Stability(Stable) public CfnMonitorPropsMixin(@NotNull CfnMonitorMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::InternetMonitor::Monitor.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnMonitorPropsMixin
Create a mixin to apply properties toAWS::InternetMonitor::Monitor.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-