Class LambdaEnrichment
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.pipes.enrichments.alpha.LambdaEnrichment
- All Implemented Interfaces:
IEnrichment,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:41.179Z")
@Stability(Experimental)
public class LambdaEnrichment
extends software.amazon.jsii.JsiiObject
implements IEnrichment
(experimental) A Lambda enrichment for a pipe.
Example:
Queue sourceQueue;
Queue targetQueue;
Function enrichmentFunction;
LambdaEnrichment enrichment = new LambdaEnrichment(enrichmentFunction);
Pipe pipe = Pipe.Builder.create(this, "Pipe")
.source(new SomeSource(sourceQueue))
.enrichment(enrichment)
.target(new SomeTarget(targetQueue))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forLambdaEnrichment.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.pipes.alpha.IEnrichment
IEnrichment.Jsii$Default, IEnrichment.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionLambdaEnrichment(IFunction lambda) LambdaEnrichment(IFunction lambda, LambdaEnrichmentProps props) protectedLambdaEnrichment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedLambdaEnrichment(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Bind this enrichment to a pipe.(experimental) The ARN of the enrichment resource.voidgrantInvoke(IRole pipeRole) (experimental) Grant the pipes role to invoke the enrichment.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
LambdaEnrichment
protected LambdaEnrichment(software.amazon.jsii.JsiiObjectRef objRef) -
LambdaEnrichment
protected LambdaEnrichment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
LambdaEnrichment
@Stability(Experimental) public LambdaEnrichment(@NotNull IFunction lambda, @Nullable LambdaEnrichmentProps props) - Parameters:
lambda- This parameter is required.props-
-
LambdaEnrichment
- Parameters:
lambda- This parameter is required.
-
-
Method Details
-
bind
(experimental) Bind this enrichment to a pipe.- Specified by:
bindin interfaceIEnrichment- Parameters:
pipe- This parameter is required.
-
grantInvoke
(experimental) Grant the pipes role to invoke the enrichment.- Specified by:
grantInvokein interfaceIEnrichment- Parameters:
pipeRole- This parameter is required.
-
getEnrichmentArn
(experimental) The ARN of the enrichment resource.Length Constraints: Minimum length of 0. Maximum length of 1600.
- Specified by:
getEnrichmentArnin interfaceIEnrichment- See Also:
-