@Internal public static final class IPipeline.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IPipeline.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIPipeline.Jsii$Default, IPipeline.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
NotificationRuleSourceConfig |
bindAsNotificationRuleSource(software.constructs.Construct scope)
Returns a source configuration for notification rule.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
ConstructNode |
getNode()
The construct tree node for this construct.
|
String |
getPipelineArn()
The ARN of the Pipeline.
|
String |
getPipelineName()
The name of the Pipeline.
|
Stack |
getStack()
The stack in which this resource is defined.
|
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.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final ConstructNode getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IPipeline.Jsii$Default@Stability(value=Stable) @NotNull public final 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$DefaultgetEnv in interface IPipeline.Jsii$Default@Stability(value=Stable) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IPipeline.Jsii$Default@Stability(value=Stable) @NotNull public final String getPipelineArn()
getPipelineArn in interface IPipelinegetPipelineArn in interface IPipeline.Jsii$Default@Stability(value=Stable) @NotNull public final String getPipelineName()
getPipelineName in interface IPipelinegetPipelineName in interface IPipeline.Jsii$Default@Stability(value=Stable)
public final 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$DefaultapplyRemovalPolicy in interface IPipeline.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Stable) @NotNull public final NotificationRuleSourceConfig bindAsNotificationRuleSource(@NotNull software.constructs.Construct scope)
bindAsNotificationRuleSource in interface IPipeline.Jsii$DefaultbindAsNotificationRuleSource in interface INotificationRuleSourcebindAsNotificationRuleSource in interface INotificationRuleSource.Jsii$Defaultscope - This parameter is required.@Stability(value=Stable) @NotNull public final 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 IPipelinenotifyOn in interface IPipeline.Jsii$Defaultid - 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 public final INotificationRule notifyOnAnyActionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
notifyOnAnyActionStateChange in interface IPipelinenotifyOnAnyActionStateChange in interface IPipeline.Jsii$Defaultid - 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 public final INotificationRule notifyOnAnyActionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target)
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.@Stability(value=Stable) @NotNull public final INotificationRule notifyOnAnyManualApprovalStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
notifyOnAnyManualApprovalStateChange in interface IPipelinenotifyOnAnyManualApprovalStateChange in interface IPipeline.Jsii$Defaultid - 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 public final INotificationRule notifyOnAnyManualApprovalStateChange(@NotNull String id, @NotNull INotificationRuleTarget target)
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.@Stability(value=Stable) @NotNull public final INotificationRule notifyOnAnyStageStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
notifyOnAnyStageStateChange in interface IPipelinenotifyOnAnyStageStateChange in interface IPipeline.Jsii$Defaultid - 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 public final INotificationRule notifyOnAnyStageStateChange(@NotNull String id, @NotNull INotificationRuleTarget target)
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.@Stability(value=Stable) @NotNull public final INotificationRule notifyOnExecutionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options)
notifyOnExecutionStateChange in interface IPipelinenotifyOnExecutionStateChange in interface IPipeline.Jsii$Defaultid - 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 public final INotificationRule notifyOnExecutionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target)
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.@Stability(value=Stable) @NotNull public final Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
onEvent in interface IPipelineonEvent in interface IPipeline.Jsii$Defaultid - Identifier for this event handler. This parameter is required.options - Additional options to pass to the event rule.@Stability(value=Stable) @NotNull public final Rule onEvent(@NotNull String id)
@Stability(value=Stable) @NotNull public final Rule onStateChange(@NotNull String id, @Nullable OnEventOptions options)
onStateChange in interface IPipelineonStateChange in interface IPipeline.Jsii$Defaultid - Identifier for this event handler. This parameter is required.options - Additional options to pass to the event rule.@Stability(value=Stable) @NotNull public final Rule onStateChange(@NotNull String id)
onStateChange in interface IPipelineid - Identifier for this event handler. This parameter is required.Copyright © 2022. All rights reserved.