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

io.github.cdklabs.cdk.amazonmq.EventSourceBase Maven / Gradle / Ivy

package io.github.cdklabs.cdk.amazonmq;

/**
 * (experimental) Represents an AWS Lambda Event Source Mapping for RabbitMQ.
 * 

* This event source will add additional permissions to * the AWS Lambda function's IAM Role following https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#events-mq-permissions */ @javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-08T22:30:31.778Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.amazonmq.$Module.class, fqn = "@cdklabs/cdk-amazonmq.EventSourceBase") public abstract class EventSourceBase extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.services.lambda.IEventSource { protected EventSourceBase(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected EventSourceBase(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** * (experimental) Instantiates an AWS Lambda Event Source Mapping for RabbitMQ. *

* This event source will add additional permissions to * the AWS Lambda function's IAM Role following https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#events-mq-permissions *

* @param props properties of the RabbitMQ event source. This parameter is required. * @param mqType This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected EventSourceBase(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.EventSourceBaseProps props, final @org.jetbrains.annotations.NotNull java.lang.String mqType) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required"), java.util.Objects.requireNonNull(mqType, "mqType is required") }); } /** * @param config This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected void addToSourceAccessConfigurations(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.lambda.SourceAccessConfiguration config) { software.amazon.jsii.Kernel.call(this, "addToSourceAccessConfigurations", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(config, "config is required") }); } /** * (experimental) Called by lambda.addEventSource to allow the event source to bind to this function. *

* @param target This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void bind(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.lambda.IFunction target) { software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(target, "target is required") }); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.NotNull java.lang.String getMqType() { return software.amazon.jsii.Kernel.get(this, "mqType", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * (experimental) properties of the RabbitMQ event source. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.EventSourceBaseProps getProps() { return software.amazon.jsii.Kernel.get(this, "props", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.EventSourceBaseProps.class)); } /** * A proxy class which represents a concrete javascript instance of this type. */ @software.amazon.jsii.Internal private static final class Jsii$Proxy extends io.github.cdklabs.cdk.amazonmq.EventSourceBase implements software.amazon.awscdk.services.lambda.IEventSource.Jsii$Default { protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy