@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.240Z") @Stability(value=Experimental) public class LambdaFunction extends software.amazon.jsii.JsiiObject implements IRuleTarget
| Modifier and Type | Class and Description |
|---|---|
static class |
LambdaFunction.Builder
(experimental) A fluent builder for
LambdaFunction. |
software.amazon.jsii.JsiiObject.InitializationModeIRuleTarget.Jsii$Default, IRuleTarget.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
LambdaFunction(IFunction handler) |
|
LambdaFunction(IFunction handler,
LambdaFunctionProps props) |
protected |
LambdaFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaFunction(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
RuleTargetConfig |
bind(IRule rule)
(experimental) Returns a RuleTarget that can be used to trigger this Lambda as a result from an EventBridge event.
|
RuleTargetConfig |
bind(IRule rule,
String _id)
(experimental) Returns a RuleTarget that can be used to trigger this Lambda as a result from an EventBridge event.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected LambdaFunction(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public LambdaFunction(@NotNull
IFunction handler,
@Nullable
LambdaFunctionProps props)
handler - This parameter is required.props - @Stability(value=Experimental)
public LambdaFunction(@NotNull
IFunction handler)
handler - This parameter is required.@Stability(value=Experimental) @NotNull public RuleTargetConfig bind(@NotNull IRule rule, @Nullable String _id)
bind in interface IRuleTargetrule - This parameter is required._id - @Stability(value=Experimental) @NotNull public RuleTargetConfig bind(@NotNull IRule rule)
bind in interface IRuleTargetrule - This parameter is required.Copyright © 2021. All rights reserved.