@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.968Z") @Stability(value=Stable) public interface TriggerOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.triggers.*;
import software.constructs.*;
Construct construct;
TriggerOptions triggerOptions = TriggerOptions.builder()
.executeAfter(List.of(construct))
.executeBefore(List.of(construct))
.executeOnHandlerChange(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
TriggerOptions.Builder
A builder for
TriggerOptions |
static class |
TriggerOptions.Jsii$Proxy
An implementation for
TriggerOptions |
| Modifier and Type | Method and Description |
|---|---|
static TriggerOptions.Builder |
builder() |
default List<software.constructs.Construct> |
getExecuteAfter()
Adds trigger dependencies.
|
default List<software.constructs.Construct> |
getExecuteBefore()
Adds this trigger as a dependency on other constructs.
|
default Boolean |
getExecuteOnHandlerChange()
Re-executes the trigger every time the handler changes.
|
@Stability(value=Stable) @Nullable default List<software.constructs.Construct> getExecuteAfter()
You can also use trigger.executeAfter() to add additional dependencies.
Default: []
@Stability(value=Stable) @Nullable default List<software.constructs.Construct> getExecuteBefore()
This means that this trigger will get executed before the given construct(s).
You can also use trigger.executeBefore() to add additional dependants.
Default: []
@Stability(value=Stable) @Nullable default Boolean getExecuteOnHandlerChange()
This implies that the trigger is associated with the currentVersion of
the handler, which gets recreated every time the handler or its
configuration is updated.
Default: true
@Stability(value=Stable) static TriggerOptions.Builder builder()
TriggerOptions.Builder of TriggerOptionsCopyright © 2022. All rights reserved.