@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-14T20:30:48.393Z") @Stability(value=Stable) public interface IPipeline extends software.amazon.jsii.JsiiSerializable, IResource, INotificationRuleSource
It extends {@link events.IRuleTarget}, so this interface can be used as a Target for CloudWatch Events.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IPipeline.Jsii$Default
Internal default implementation for
IPipeline. |
static class |
IPipeline.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPipelineArn()
The ARN of the Pipeline.
|
String |
getPipelineName()
The name of the Pipeline.
|
INotificationRule |
notifyOn(String id,
INotificationRuleTarget target,
PipelineNotifyOnOptions options)
Defines a CodeStar notification rule triggered when the pipeline events emitted by you specified, it very similar to `onEvent` API.
|
INotificationRule |
notifyOnAnyActionStateChange(String id,
INotificationRuleTarget target)
Define an notification rule triggered by the set of the "Action execution" events emitted from this pipeline.
|
INotificationRule |
notifyOnAnyActionStateChange(String id,
INotificationRuleTarget target,
NotificationRuleOptions options)
Define an notification rule triggered by the set of the "Action execution" events emitted from this pipeline.
|
INotificationRule |
notifyOnAnyManualApprovalStateChange(String id,
INotificationRuleTarget target)
Define an notification rule triggered by the set of the "Manual approval" events emitted from this pipeline.
|
INotificationRule |
notifyOnAnyManualApprovalStateChange(String id,
INotificationRuleTarget target,
NotificationRuleOptions options)
Define an notification rule triggered by the set of the "Manual approval" events emitted from this pipeline.
|
INotificationRule |
notifyOnAnyStageStateChange(String id,
INotificationRuleTarget target)
Define an notification rule triggered by the set of the "Stage execution" events emitted from this pipeline.
|
INotificationRule |
notifyOnAnyStageStateChange(String id,
INotificationRuleTarget target,
NotificationRuleOptions options)
Define an notification rule triggered by the set of the "Stage execution" events emitted from this pipeline.
|
INotificationRule |
notifyOnExecutionStateChange(String id,
INotificationRuleTarget target)
Define an notification rule triggered by the set of the "Pipeline execution" events emitted from this pipeline.
|
INotificationRule |
notifyOnExecutionStateChange(String id,
INotificationRuleTarget target,
NotificationRuleOptions options)
Define an notification rule triggered by the set of the "Pipeline execution" events emitted from this pipeline.
|
Rule |
onEvent(String id)
Define an event rule triggered by this CodePipeline.
|
Rule |
onEvent(String id,
OnEventOptions options)
Define an event rule triggered by this CodePipeline.
|
Rule |
onStateChange(String id)
Define an event rule triggered by the "CodePipeline Pipeline Execution State Change" event emitted from this pipeline.
|
Rule |
onStateChange(String id,
OnEventOptions options)
Define an event rule triggered by the "CodePipeline Pipeline Execution State Change" event emitted from this pipeline.
|
applyRemovalPolicy, getEnv, getStackgetNodebindAsNotificationRuleSource@Stability(value=Stable) @NotNull String getPipelineArn()
@Stability(value=Stable) @NotNull String getPipelineName()
@Stability(value=Stable) @NotNull INotificationRule notifyOn(@NotNull String id, @NotNull INotificationRuleTarget target, @NotNull PipelineNotifyOnOptions options)
You can also use the methods notifyOnExecutionStateChange, notifyOnAnyStageStateChange,
notifyOnAnyActionStateChange and notifyOnAnyManualApprovalStateChange
to define rules for these specific event emitted.
id - The id of the CodeStar notification rule. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.options - Customization options for CodeStar notification rule. This parameter is required.@Stability(value=Stable) @NotNull INotificationRule notifyOnAnyActionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
id - Identifier for this notification handler. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.options - Additional options to pass to the notification rule.@Stability(value=Stable) @NotNull INotificationRule notifyOnAnyActionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target)
id - Identifier for this notification handler. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.@Stability(value=Stable) @NotNull INotificationRule notifyOnAnyManualApprovalStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
id - Identifier for this notification handler. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.options - Additional options to pass to the notification rule.@Stability(value=Stable) @NotNull INotificationRule notifyOnAnyManualApprovalStateChange(@NotNull String id, @NotNull INotificationRuleTarget target)
id - Identifier for this notification handler. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.@Stability(value=Stable) @NotNull INotificationRule notifyOnAnyStageStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
id - Identifier for this notification handler. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.options - Additional options to pass to the notification rule.@Stability(value=Stable) @NotNull INotificationRule notifyOnAnyStageStateChange(@NotNull String id, @NotNull INotificationRuleTarget target)
id - Identifier for this notification handler. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.@Stability(value=Stable) @NotNull INotificationRule notifyOnExecutionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
id - Identifier for this notification handler. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.options - Additional options to pass to the notification rule.@Stability(value=Stable) @NotNull INotificationRule notifyOnExecutionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target)
id - Identifier for this notification handler. This parameter is required.target - The target to register for the CodeStar Notifications destination. This parameter is required.@Stability(value=Stable) @NotNull Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
id - Identifier for this event handler. This parameter is required.options - Additional options to pass to the event rule.@Stability(value=Stable) @NotNull Rule onEvent(@NotNull String id)
id - Identifier for this event handler. This parameter is required.@Stability(value=Stable) @NotNull Rule onStateChange(@NotNull String id, @Nullable OnEventOptions options)
id - Identifier for this event handler. This parameter is required.options - Additional options to pass to the event rule.Copyright © 2022. All rights reserved.