@Internal public static interface IPipeline.Jsii$Default extends IPipeline, IResource.Jsii$Default, INotificationRuleSource.Jsii$Default
IPipeline.IPipeline.Jsii$Default, IPipeline.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
default NotificationRuleSourceConfig |
bindAsNotificationRuleSource(software.constructs.Construct scope)
Returns a source configuration for notification rule.
|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default ConstructNode |
getNode()
The construct tree node for this construct.
|
default String |
getPipelineArn()
The ARN of the Pipeline.
|
default String |
getPipelineName()
The name of the Pipeline.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
default 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.
|
default 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.
|
default 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.
|
default 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.
|
default 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.
|
default Rule |
onEvent(String id,
OnEventOptions options)
Define an event rule triggered by this CodePipeline.
|
default Rule |
onStateChange(String id,
OnEventOptions options)
Define an event rule triggered by the "CodePipeline Pipeline Execution State Change" event emitted from this pipeline.
|
notifyOnAnyActionStateChange, notifyOnAnyManualApprovalStateChange, notifyOnAnyStageStateChange, notifyOnExecutionStateChange, onEvent, onStateChange@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default String getPipelineArn()
getPipelineArn in interface IPipeline@Stability(value=Stable) @NotNull default String getPipelineName()
getPipelineName in interface IPipeline@Stability(value=Stable)
default void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Stable) @NotNull default NotificationRuleSourceConfig bindAsNotificationRuleSource(@NotNull software.constructs.Construct scope)
bindAsNotificationRuleSource in interface INotificationRuleSourcebindAsNotificationRuleSource in interface INotificationRuleSource.Jsii$Defaultscope - This parameter is required.@Stability(value=Stable) @NotNull default 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.
notifyOn in interface IPipelineid - 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 default INotificationRule notifyOnAnyActionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
notifyOnAnyActionStateChange in interface IPipelineid - 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 default INotificationRule notifyOnAnyManualApprovalStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
notifyOnAnyManualApprovalStateChange in interface IPipelineid - 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 default INotificationRule notifyOnAnyStageStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
notifyOnAnyStageStateChange in interface IPipelineid - 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 default INotificationRule notifyOnExecutionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
notifyOnExecutionStateChange in interface IPipelineid - 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 default Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
@Stability(value=Stable) @NotNull default Rule onStateChange(@NotNull String id, @Nullable OnEventOptions options)
onStateChange in interface IPipelineid - Identifier for this event handler. This parameter is required.options - Additional options to pass to the event rule.Copyright © 2022. All rights reserved.