The abstract interface of a Pipeline Stage that is used by Actions.
on_state_change(name, target=None, *, description=None, enabled=None, event_bus=None, event_pattern=None, rule_name=None, schedule=None, targets=None)¶
str]) – A description of the rule’s purpose. Default: - No description.
bool]) – Indicates whether the rule is enabled. Default: true
IEventBus]) – The event bus to associate with this rule. Default: - The default event bus.
EventPattern]) – Describes which events EventBridge routes to the specified target. These routed events are matched events. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide. Default: - None.
str]) – A name for the rule. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the rule name. For more information, see Name Type.
Schedule]) – The schedule or rate (frequency) that determines when EventBridge runs the rule. For more information, see Schedule Expression Syntax for Rules in the Amazon EventBridge User Guide. Default: - None.
IRuleTarget]]) – Targets to invoke when this rule matches an event. Input will be the full matched event. If you wish to specify custom target input, use
addTarget(target[, inputOptions]). Default: - No targets.
- Return type
The physical, human-readable name of this Pipeline Stage.
- Return type