@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.827Z") @Stability(value=Stable) public class QueueHook extends software.amazon.jsii.JsiiObject implements ILifecycleHookTarget
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.autoscaling.hooktargets.*; import software.amazon.awscdk.services.sqs.*; Queue queue; QueueHook queueHook = new QueueHook(queue);
software.amazon.jsii.JsiiObject.InitializationModeILifecycleHookTarget.Jsii$Default, ILifecycleHookTarget.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
QueueHook(IQueue queue) |
protected |
QueueHook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
QueueHook(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
LifecycleHookTargetConfig |
bind(software.constructs.Construct _scope,
BindHookTargetOptions options)
If an `IRole` is found in `options`, grant it access to send messages.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected QueueHook(software.amazon.jsii.JsiiObjectRef objRef)
protected QueueHook(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public QueueHook(@NotNull
IQueue queue)
queue - This parameter is required.@Stability(value=Stable) @NotNull public LifecycleHookTargetConfig bind(@NotNull software.constructs.Construct _scope, @NotNull BindHookTargetOptions options)
Otherwise, create a new IRole and grant it access to send messages.
bind in interface ILifecycleHookTarget_scope - This parameter is required.options - This parameter is required.Copyright © 2022. All rights reserved.