tech.condense.cdkconstructs.TargetGroupMonitoringAspect Maven / Gradle / Ivy
Show all versions of cdkconstructs Show documentation
package tech.condense.cdkconstructs;
/**
* (experimental) The TargetGroupMonitoringAspect iterates over the target groups and adds monitoring widgets and alarms.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-12T08:57:01.502Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = tech.condense.cdkconstructs.$Module.class, fqn = "@condensetech/cdk-constructs.TargetGroupMonitoringAspect")
public class TargetGroupMonitoringAspect extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.IAspect {
protected TargetGroupMonitoringAspect(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected TargetGroupMonitoringAspect(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 TargetGroupMonitoringAspect(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 target group.
*
* @param node The target group 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.elasticloadbalancingv2.ApplicationTargetGroup node, final @org.jetbrains.annotations.NotNull tech.condense.cdkconstructs.TargetGroupMonitoringConfig 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") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull tech.condense.cdkconstructs.ICondenseMonitoringFacade getMonitoringFacade() {
return software.amazon.jsii.Kernel.get(this, "monitoringFacade", software.amazon.jsii.NativeType.forClass(tech.condense.cdkconstructs.ICondenseMonitoringFacade.class));
}
}