Interface IPipeline.Jsii$Default
- All Superinterfaces:
IConstruct,software.constructs.IConstruct,IConstruct.Jsii$Default,software.constructs.IConstruct.Jsii$Default,IDependable,IDependable.Jsii$Default,INotificationRuleSource,INotificationRuleSource.Jsii$Default,IPipeline,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IPipeline.Jsii$Proxy
- Enclosing interface:
- IPipeline
IPipeline.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleSource
INotificationRuleSource.Jsii$Default, INotificationRuleSource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IPipeline
IPipeline.Jsii$Default, IPipeline.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default NotificationRuleSourceConfigbindAsNotificationRuleSource(software.constructs.Construct scope) Returns a source configuration for notification rule.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default ConstructNodegetNode()The construct tree node for this construct.default StringThe ARN of the Pipeline.default StringThe name of the Pipeline.default StackgetStack()The stack in which this resource is defined.default INotificationRulenotifyOn(String id, INotificationRuleTarget target, PipelineNotifyOnOptions options) Defines a CodeStar notification rule triggered when the pipeline events emitted by you specified, it very similar toonEventAPI.default INotificationRulenotifyOnAnyActionStateChange(String id, INotificationRuleTarget target, NotificationRuleOptions options) Define an notification rule triggered by the set of the "Action execution" events emitted from this pipeline.default INotificationRulenotifyOnAnyManualApprovalStateChange(String id, INotificationRuleTarget target, NotificationRuleOptions options) Define an notification rule triggered by the set of the "Manual approval" events emitted from this pipeline.default INotificationRulenotifyOnAnyStageStateChange(String id, INotificationRuleTarget target, NotificationRuleOptions options) Define an notification rule triggered by the set of the "Stage execution" events emitted from this pipeline.default INotificationRulenotifyOnExecutionStateChange(String id, INotificationRuleTarget target, NotificationRuleOptions options) Define an notification rule triggered by the set of the "Pipeline execution" events emitted from this pipeline.default RuleonEvent(String id, OnEventOptions options) Define an event rule triggered by this CodePipeline.default RuleonStateChange(String id, OnEventOptions options) Define an event rule triggered by the "CodePipeline Pipeline Execution State Change" event emitted from this pipeline.Methods inherited from interface software.amazon.awscdk.services.codepipeline.IPipeline
notifyOnAnyActionStateChange, notifyOnAnyManualApprovalStateChange, notifyOnAnyStageStateChange, notifyOnExecutionStateChange, onEvent, onStateChangeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNodein interfaceIConstruct- Specified by:
getNodein interfaceIConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.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.
- Specified by:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getPipelineArn
The ARN of the Pipeline.- Specified by:
getPipelineArnin interfaceIPipeline
-
getPipelineName
The name of the Pipeline.- Specified by:
getPipelineNamein interfaceIPipeline
-
applyRemovalPolicy
Apply the given removal policy to this resource.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).- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
bindAsNotificationRuleSource
@Stability(Stable) @NotNull default NotificationRuleSourceConfig bindAsNotificationRuleSource(@NotNull software.constructs.Construct scope) Returns a source configuration for notification rule.- Specified by:
bindAsNotificationRuleSourcein interfaceINotificationRuleSource- Specified by:
bindAsNotificationRuleSourcein interfaceINotificationRuleSource.Jsii$Default- Parameters:
scope- This parameter is required.
-
notifyOn
@Stability(Stable) @NotNull default INotificationRule notifyOn(@NotNull String id, @NotNull INotificationRuleTarget target, @NotNull PipelineNotifyOnOptions options) Defines a CodeStar notification rule triggered when the pipeline events emitted by you specified, it very similar toonEventAPI.You can also use the methods
notifyOnExecutionStateChange,notifyOnAnyStageStateChange,notifyOnAnyActionStateChangeandnotifyOnAnyManualApprovalStateChangeto define rules for these specific event emitted.- Specified by:
notifyOnin interfaceIPipeline- Parameters:
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.- Returns:
- CodeStar notification rule associated with this build project.
-
notifyOnAnyActionStateChange
@Stability(Stable) @NotNull default INotificationRule notifyOnAnyActionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Define an notification rule triggered by the set of the "Action execution" events emitted from this pipeline.- Specified by:
notifyOnAnyActionStateChangein interfaceIPipeline- Parameters:
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.- See Also:
-
notifyOnAnyManualApprovalStateChange
@Stability(Stable) @NotNull default INotificationRule notifyOnAnyManualApprovalStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Define an notification rule triggered by the set of the "Manual approval" events emitted from this pipeline.- Specified by:
notifyOnAnyManualApprovalStateChangein interfaceIPipeline- Parameters:
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.- See Also:
-
notifyOnAnyStageStateChange
@Stability(Stable) @NotNull default INotificationRule notifyOnAnyStageStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Define an notification rule triggered by the set of the "Stage execution" events emitted from this pipeline.- Specified by:
notifyOnAnyStageStateChangein interfaceIPipeline- Parameters:
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.- See Also:
-
notifyOnExecutionStateChange
@Stability(Stable) @NotNull default INotificationRule notifyOnExecutionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target, @Nullable NotificationRuleOptions options) Define an notification rule triggered by the set of the "Pipeline execution" events emitted from this pipeline.- Specified by:
notifyOnExecutionStateChangein interfaceIPipeline- Parameters:
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.- See Also:
-
onEvent
@Stability(Stable) @NotNull default Rule onEvent(@NotNull String id, @Nullable OnEventOptions options) Define an event rule triggered by this CodePipeline. -
onStateChange
@Stability(Stable) @NotNull default Rule onStateChange(@NotNull String id, @Nullable OnEventOptions options) Define an event rule triggered by the "CodePipeline Pipeline Execution State Change" event emitted from this pipeline.- Specified by:
onStateChangein interfaceIPipeline- Parameters:
id- Identifier for this event handler. This parameter is required.options- Additional options to pass to the event rule.
-