@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:56.607Z") @Stability(value=Experimental) public interface IAction extends software.amazon.jsii.JsiiSerializable
If you want to implement this interface, consider extending the {@link Action} class, which contains some common logic.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IAction.Jsii$Default
Internal default implementation for
IAction. |
static class |
IAction.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
ActionConfig |
bind(software.constructs.Construct scope,
IStage stage,
ActionBindOptions options)
(experimental) The callback invoked when this Action is added to a Pipeline.
|
ActionProperties |
getActionProperties()
(experimental) The simple properties of the Action, like its Owner, name, etc.
|
Rule |
onStateChange(String name)
(experimental) Creates an Event that will be triggered whenever the state of this Action changes.
|
Rule |
onStateChange(String name,
IRuleTarget target)
(experimental) Creates an Event that will be triggered whenever the state of this Action changes.
|
Rule |
onStateChange(String name,
IRuleTarget target,
RuleProps options)
(experimental) Creates an Event that will be triggered whenever the state of this Action changes.
|
@Stability(value=Experimental) @NotNull ActionProperties getActionProperties()
Note that this accessor will be called before the {@link bind} callback.
@Stability(value=Experimental) @NotNull ActionConfig bind(@NotNull software.constructs.Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options)
scope - the Construct tree scope the Action can use if it needs to create any resources. This parameter is required.stage - the IStage this Action is being added to. This parameter is required.options - additional options the Action can use, like the artifact Bucket of the pipeline it's being added to. This parameter is required.@Stability(value=Experimental) @NotNull Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target, @Nullable RuleProps options)
name - the name to use for the new Event. This parameter is required.target - the optional target for the Event.options - additional options that can be used to customize the created Event.@Stability(value=Experimental) @NotNull Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target)
name - the name to use for the new Event. This parameter is required.target - the optional target for the Event.Copyright © 2021. All rights reserved.