Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package io.github.cdklabs.cdkmonitoringconstructs;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.93.0 (build 1706ca5)", date = "2024-01-08T00:34:46.670Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdkmonitoringconstructs.$Module.class, fqn = "cdk-monitoring-constructs.KinesisAlarmFactory")
public class KinesisAlarmFactory extends software.amazon.jsii.JsiiObject {
protected KinesisAlarmFactory(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected KinesisAlarmFactory(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param alarmFactory This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public KinesisAlarmFactory(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmFactory alarmFactory) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(alarmFactory, "alarmFactory is required") });
}
/**
* @param metric This parameter is required.
* @param metricName This parameter is required.
* @param quotaName This parameter is required.
* @param props This parameter is required.
* @param disambiguator
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addFirehoseStreamExceedSafetyThresholdAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull java.lang.String metricName, final @org.jetbrains.annotations.NotNull java.lang.String quotaName, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.FirehoseStreamLimitThreshold props, final @org.jetbrains.annotations.Nullable java.lang.String disambiguator) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addFirehoseStreamExceedSafetyThresholdAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(metricName, "metricName is required"), java.util.Objects.requireNonNull(quotaName, "quotaName is required"), java.util.Objects.requireNonNull(props, "props is required"), disambiguator });
}
/**
* @param metric This parameter is required.
* @param metricName This parameter is required.
* @param quotaName This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addFirehoseStreamExceedSafetyThresholdAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull java.lang.String metricName, final @org.jetbrains.annotations.NotNull java.lang.String quotaName, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.FirehoseStreamLimitThreshold props) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addFirehoseStreamExceedSafetyThresholdAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(metricName, "metricName is required"), java.util.Objects.requireNonNull(quotaName, "quotaName is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* @param metric This parameter is required.
* @param props This parameter is required.
* @param disambiguator
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addIteratorMaxAgeAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.MaxIteratorAgeThreshold props, final @org.jetbrains.annotations.Nullable java.lang.String disambiguator) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addIteratorMaxAgeAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(props, "props is required"), disambiguator });
}
/**
* @param metric This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addIteratorMaxAgeAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.MaxIteratorAgeThreshold props) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addIteratorMaxAgeAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* @param metric This parameter is required.
* @param props This parameter is required.
* @param disambiguator This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addProvisionedReadThroughputExceededAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.RecordsThrottledThreshold props, final @org.jetbrains.annotations.NotNull java.lang.String disambiguator) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addProvisionedReadThroughputExceededAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(props, "props is required"), java.util.Objects.requireNonNull(disambiguator, "disambiguator is required") });
}
/**
* @param metric This parameter is required.
* @param props This parameter is required.
* @param disambiguator This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addProvisionedWriteThroughputExceededAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.RecordsThrottledThreshold props, final @org.jetbrains.annotations.NotNull java.lang.String disambiguator) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addProvisionedWriteThroughputExceededAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(props, "props is required"), java.util.Objects.requireNonNull(disambiguator, "disambiguator is required") });
}
/**
* @param metric This parameter is required.
* @param props This parameter is required.
* @param disambiguator
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addPutRecordsFailedAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.RecordsFailedThreshold props, final @org.jetbrains.annotations.Nullable java.lang.String disambiguator) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addPutRecordsFailedAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(props, "props is required"), disambiguator });
}
/**
* @param metric This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addPutRecordsFailedAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.RecordsFailedThreshold props) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addPutRecordsFailedAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* @param metric This parameter is required.
* @param props This parameter is required.
* @param disambiguator
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addPutRecordsThrottledAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.RecordsThrottledThreshold props, final @org.jetbrains.annotations.Nullable java.lang.String disambiguator) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addPutRecordsThrottledAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(props, "props is required"), disambiguator });
}
/**
* @param metric This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation addPutRecordsThrottledAlarm(final @org.jetbrains.annotations.NotNull java.lang.Object metric, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.RecordsThrottledThreshold props) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
if (
!(metric instanceof software.amazon.awscdk.services.cloudwatch.Metric)
&& !(metric instanceof software.amazon.awscdk.services.cloudwatch.MathExpression)
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("metric")
.append(" to be one of: software.amazon.awscdk.services.cloudwatch.Metric, software.amazon.awscdk.services.cloudwatch.MathExpression; received ")
.append(metric.getClass()).toString());
}
}
return software.amazon.jsii.Kernel.call(this, "addPutRecordsThrottledAlarm", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmWithAnnotation.class), new Object[] { java.util.Objects.requireNonNull(metric, "metric is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmFactory getAlarmFactory() {
return software.amazon.jsii.Kernel.get(this, "alarmFactory", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.AlarmFactory.class));
}
}