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$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codestarnotifications.INotificationRuleSource
INotificationRuleSource.Jsii$Default, INotificationRuleSource.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IPipeline
IPipeline.Jsii$Default, IPipeline.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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
The ARN of the Pipeline.default String
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 toonEvent
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.Methods inherited from interface software.amazon.awscdk.services.codepipeline.IPipeline
notifyOnAnyActionStateChange, notifyOnAnyManualApprovalStateChange, notifyOnAnyStageStateChange, notifyOnExecutionStateChange, onEvent, onStateChange
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNode
in interfaceIConstruct
- Specified by:
getNode
in interfaceIConstruct.Jsii$Default
- Specified by:
getNode
in 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:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getPipelineArn
The ARN of the Pipeline.- Specified by:
getPipelineArn
in interfaceIPipeline
-
getPipelineName
The name of the Pipeline.- Specified by:
getPipelineName
in 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:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in 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:
bindAsNotificationRuleSource
in interfaceINotificationRuleSource
- Specified by:
bindAsNotificationRuleSource
in 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 toonEvent
API.You can also use the methods
notifyOnExecutionStateChange
,notifyOnAnyStageStateChange
,notifyOnAnyActionStateChange
andnotifyOnAnyManualApprovalStateChange
to define rules for these specific event emitted.- Specified by:
notifyOn
in 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:
notifyOnAnyActionStateChange
in 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:
notifyOnAnyManualApprovalStateChange
in 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:
notifyOnAnyStageStateChange
in 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:
notifyOnExecutionStateChange
in 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:
onStateChange
in interfaceIPipeline
- Parameters:
id
- Identifier for this event handler. This parameter is required.options
- Additional options to pass to the event rule.
-