@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.134Z") @Stability(value=Experimental) public class FunctionHook extends software.amazon.jsii.JsiiObject implements ILifecycleHookTarget
Internally creates a Topic to make the connection.
software.amazon.jsii.JsiiObject.InitializationModeILifecycleHookTarget.Jsii$Default, ILifecycleHookTarget.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
FunctionHook(IFunction fn) |
|
FunctionHook(IFunction fn,
IKey encryptionKey) |
protected |
FunctionHook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
FunctionHook(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
LifecycleHookTargetConfig |
bind(software.constructs.Construct scope,
ILifecycleHook lifecycleHook)
(experimental) Called when this object is used as the target of a lifecycle hook.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected FunctionHook(software.amazon.jsii.JsiiObjectRef objRef)
protected FunctionHook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public FunctionHook(@NotNull
IFunction fn,
@Nullable
IKey encryptionKey)
fn - Function to invoke in response to a lifecycle event. This parameter is required.encryptionKey - If provided, this key is used to encrypt the contents of the SNS topic.@Stability(value=Experimental)
public FunctionHook(@NotNull
IFunction fn)
fn - Function to invoke in response to a lifecycle event. This parameter is required.@Stability(value=Experimental) @NotNull public LifecycleHookTargetConfig bind(@NotNull software.constructs.Construct scope, @NotNull ILifecycleHook lifecycleHook)
bind in interface ILifecycleHookTargetscope - This parameter is required.lifecycleHook - This parameter is required.Copyright © 2021. All rights reserved.