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

com.thedesignium.cdklognotifier.ILogNotifier Maven / Gradle / Ivy

The newest version!
package com.thedesignium.cdklognotifier;

@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-31T07:21:45.554Z")
@software.amazon.jsii.Jsii(module = com.thedesignium.cdklognotifier.$Module.class, fqn = "@thedesignium/cdk-log-notifier.ILogNotifier")
@software.amazon.jsii.Jsii.Proxy(ILogNotifier.Jsii$Proxy.class)
public interface ILogNotifier extends software.amazon.jsii.JsiiSerializable {

    @org.jetbrains.annotations.NotNull java.lang.String getDestinationFunctionArn();

    @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.logs.IFilterPattern getFilterPattern();

    void watch(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.logs.ILogGroup logGroup);

    /**
     * A proxy class which represents a concrete javascript instance of this type.
     */
    @software.amazon.jsii.Internal
    final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements com.thedesignium.cdklognotifier.ILogNotifier.Jsii$Default {
        protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
            super(objRef);
        }

        @Override
        public final @org.jetbrains.annotations.NotNull java.lang.String getDestinationFunctionArn() {
            return software.amazon.jsii.Kernel.get(this, "destinationFunctionArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        @Override
        public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.logs.IFilterPattern getFilterPattern() {
            return software.amazon.jsii.Kernel.get(this, "filterPattern", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.logs.IFilterPattern.class));
        }

        @Override
        public final void watch(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.logs.ILogGroup logGroup) {
            software.amazon.jsii.Kernel.call(this, "watch", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(logGroup, "logGroup is required") });
        }
    }

    /**
     * Internal default implementation for {@link ILogNotifier}.
     */
    @software.amazon.jsii.Internal
    interface Jsii$Default extends ILogNotifier {

        @Override
        default @org.jetbrains.annotations.NotNull java.lang.String getDestinationFunctionArn() {
            return software.amazon.jsii.Kernel.get(this, "destinationFunctionArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        @Override
        default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.logs.IFilterPattern getFilterPattern() {
            return software.amazon.jsii.Kernel.get(this, "filterPattern", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.logs.IFilterPattern.class));
        }

        @Override
        default void watch(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.logs.ILogGroup logGroup) {
            software.amazon.jsii.Kernel.call(this, "watch", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(logGroup, "logGroup is required") });
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy