io.github.cdklabs.cdk.cicd.wrapper.ILambdaDLQPluginProps Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk-cicd-wrapper Show documentation
Show all versions of cdk-cicd-wrapper Show documentation
This repository contains the infrastructure as code to wrap your AWS CDK project with CI/CD around it.
package io.github.cdklabs.cdk.cicd.wrapper;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-03T16:35:59.312Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.cicd.wrapper.$Module.class, fqn = "@cdklabs/cdk-cicd-wrapper.ILambdaDLQPluginProps")
@software.amazon.jsii.Jsii.Proxy(ILambdaDLQPluginProps.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface ILambdaDLQPluginProps extends software.amazon.jsii.JsiiSerializable {
/**
* The retentionPeriod for the DLQ.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.Duration getRetentionPeriod() {
return null;
}
/**
* The retentionPeriod for the DLQ.
*/
@software.amazon.jsii.Optional
default void setRetentionPeriod(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.Duration value) {
throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setRetentionPeriod(@org.jetbrains.annotations.Nullable software.amazon.awscdk.Duration)' is not implemented!");
}
/**
* 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 io.github.cdklabs.cdk.cicd.wrapper.ILambdaDLQPluginProps.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* The retentionPeriod for the DLQ.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.Nullable software.amazon.awscdk.Duration getRetentionPeriod() {
return software.amazon.jsii.Kernel.get(this, "retentionPeriod", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.Duration.class));
}
/**
* The retentionPeriod for the DLQ.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final void setRetentionPeriod(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.Duration value) {
software.amazon.jsii.Kernel.set(this, "retentionPeriod", value);
}
}
/**
* Internal default implementation for {@link ILambdaDLQPluginProps}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends ILambdaDLQPluginProps {
/**
* The retentionPeriod for the DLQ.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.Duration getRetentionPeriod() {
return software.amazon.jsii.Kernel.get(this, "retentionPeriod", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.Duration.class));
}
/**
* The retentionPeriod for the DLQ.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default void setRetentionPeriod(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.Duration value) {
software.amazon.jsii.Kernel.set(this, "retentionPeriod", value);
}
}
}