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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::InternetMonitor::Monitor.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnMonitorPropsMixin

      @Stability(Stable) public CfnMonitorPropsMixin(@NotNull CfnMonitorMixinProps props)
      Create a mixin to apply properties to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnMonitorMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()