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.104.0 (build e79254c)",
date="2024-10-31T19:13:08.267Z")
@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
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forLambdaEnrichment
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.pipes.alpha.IEnrichment
IEnrichment.Jsii$Default, IEnrichment.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionLambdaEnrichment
(IFunction lambda) LambdaEnrichment
(IFunction lambda, LambdaEnrichmentProps props) protected
LambdaEnrichment
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
LambdaEnrichment
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Bind this enrichment to a pipe.(experimental) The ARN of the enrichment resource.void
grantInvoke
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
bind
in interfaceIEnrichment
- Parameters:
pipe
- This parameter is required.
-
grantInvoke
(experimental) Grant the pipes role to invoke the enrichment.- Specified by:
grantInvoke
in 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:
getEnrichmentArn
in interfaceIEnrichment
- See Also:
-