@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:03.417Z") @Stability(value=Experimental) 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)
(experimental) 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=Experimental)
public QueueHook(@NotNull
IQueue queue)
queue - This parameter is required.@Stability(value=Experimental) @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.