All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.condense.cdkconstructs.RdsClusterMonitoringAspect Maven / Gradle / Ivy

There is a newer version: 0.5.2
Show newest version
package tech.condense.cdkconstructs;

/**
 * (experimental) The RdsClusterMonitoringAspect iterates over the RDS clusters and adds monitoring widgets and alarms.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-29T09:27:04.637Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = tech.condense.cdkconstructs.$Module.class, fqn = "@condensetech/cdk-constructs.RdsClusterMonitoringAspect")
public class RdsClusterMonitoringAspect extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.IAspect {

    protected RdsClusterMonitoringAspect(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected RdsClusterMonitoringAspect(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * @param monitoringFacade This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public RdsClusterMonitoringAspect(final @org.jetbrains.annotations.NotNull tech.condense.cdkconstructs.ICondenseMonitoringFacade monitoringFacade) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(monitoringFacade, "monitoringFacade is required") });
    }

    /**
     * (experimental) Overrides the default configuration for a specific RDS cluster.
     * 

* @param node The RDS cluster to monitor. This parameter is required. * @param config The configuration to apply. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void overrideConfig(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.rds.DatabaseCluster node, final @org.jetbrains.annotations.NotNull tech.condense.cdkconstructs.RdsClusterMonitoringConfig config) { software.amazon.jsii.Kernel.call(this, "overrideConfig", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(node, "node is required"), java.util.Objects.requireNonNull(config, "config is required") }); } /** * (experimental) All aspects can visit an IConstruct. *

* @param node This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void visit(final @org.jetbrains.annotations.NotNull software.constructs.IConstruct node) { software.amazon.jsii.Kernel.call(this, "visit", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(node, "node is required") }); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy