Interface IPipelineNotifyOnOptions
Additional options to pass to the notification rule.
Inherited Members
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.AWS.CodePipeline.dll
Syntax (csharp)
public interface IPipelineNotifyOnOptions : INotificationRuleOptions
Syntax (vb)
Public Interface IPipelineNotifyOnOptions
Inherits INotificationRuleOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;
using Amazon.CDK.AWS.CodeStarNotifications;
var pipelineNotifyOnOptions = new PipelineNotifyOnOptions {
Events = new [] { PipelineNotificationEvents.PIPELINE_EXECUTION_FAILED },
// the properties below are optional
DetailType = DetailType.BASIC,
Enabled = false,
NotificationRuleName = "notificationRuleName"
};
Synopsis
Properties
Events | A list of event types associated with this notification rule for CodePipeline Pipeline. |
Properties
Events
A list of event types associated with this notification rule for CodePipeline Pipeline.
PipelineNotificationEvents[] Events { get; }
Property Value
Remarks
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
See: https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api