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

io.github.cdklabs.cdknag.SuppressionIgnoreAnd Maven / Gradle / Ivy

Go to download

Check CDK v2 applications for best practices using a combination on available rule packs.

There is a newer version: 2.34.1
Show newest version
package io.github.cdklabs.cdknag;

/**
 * Ignore the suppression if all of the given INagSuppressionIgnore return a non-empty message.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-22T00:13:27.190Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdknag.$Module.class, fqn = "cdk-nag.SuppressionIgnoreAnd")
public class SuppressionIgnoreAnd extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdknag.INagSuppressionIgnore {

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

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

    /**
     * @param SuppressionIgnoreAnds This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public SuppressionIgnoreAnd(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdknag.INagSuppressionIgnore... SuppressionIgnoreAnds) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, java.util.Arrays.stream(SuppressionIgnoreAnds).toArray(Object[]::new));
    }

    /**
     * @param input This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @Override
    public @org.jetbrains.annotations.NotNull java.lang.String createMessage(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdknag.SuppressionIgnoreInput input) {
        return software.amazon.jsii.Kernel.call(this, "createMessage", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { java.util.Objects.requireNonNull(input, "input is required") });
    }
}