Class IPipeline.Jsii$Proxy
- All Implemented Interfaces:
IConstruct
,IConstruct.Jsii$Default
,IDependable
,IDependable.Jsii$Default
,IResource
,IResource.Jsii$Default
,IPipeline
,IPipeline.Jsii$Default
,INotificationRuleSource
,INotificationRuleSource.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
- Enclosing interface:
IPipeline
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.bindAsNotificationRuleSource
(software.constructs.Construct scope) Returns a source configuration for notification rule.final ResourceEnvironment
getEnv()
The environment this resource belongs to.final ConstructNode
getNode()
The construct tree node for this construct.final String
The ARN of the Pipeline.final String
The name of the Pipeline.final Stack
getStack()
The stack in which this resource is defined.final 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.final INotificationRule
Define an notification rule triggered by the set of the "Action execution" events emitted from this pipeline.final 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.final INotificationRule
Define an notification rule triggered by the set of the "Manual approval" events emitted from this pipeline.final 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.final INotificationRule
notifyOnAnyStageStateChange
(String id, INotificationRuleTarget target) Define an notification rule triggered by the set of the "Stage execution" events emitted from this pipeline.final 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.final INotificationRule
Define an notification rule triggered by the set of the "Pipeline execution" events emitted from this pipeline.final 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.final Rule
Define an event rule triggered by this CodePipeline.final Rule
onEvent
(String id, OnEventOptions options) Define an event rule triggered by this CodePipeline.final Rule
onStateChange
(String id) Define an event rule triggered by the "CodePipeline Pipeline Execution State Change" event emitted from this pipeline.final 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 class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
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 interfaceIPipeline.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 interfaceIPipeline.Jsii$Default
- 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 interfaceIPipeline.Jsii$Default
- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getPipelineArn
The ARN of the Pipeline.- Specified by:
getPipelineArn
in interfaceIPipeline
- Specified by:
getPipelineArn
in interfaceIPipeline.Jsii$Default
-
getPipelineName
The name of the Pipeline.- Specified by:
getPipelineName
in interfaceIPipeline
- Specified by:
getPipelineName
in interfaceIPipeline.Jsii$Default
-
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 interfaceIPipeline.Jsii$Default
- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
bindAsNotificationRuleSource
@Stability(Stable) @NotNull public final 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
- Specified by:
bindAsNotificationRuleSource
in interfaceIPipeline.Jsii$Default
- Parameters:
scope
- This parameter is required.
-
notifyOn
@Stability(Stable) @NotNull public final 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
- Specified by:
notifyOn
in interfaceIPipeline.Jsii$Default
- 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 public final 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
- Specified by:
notifyOnAnyActionStateChange
in interfaceIPipeline.Jsii$Default
- 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:
-
notifyOnAnyActionStateChange
@Stability(Stable) @NotNull public final INotificationRule notifyOnAnyActionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target) 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.- See Also:
-
notifyOnAnyManualApprovalStateChange
@Stability(Stable) @NotNull public final 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
- Specified by:
notifyOnAnyManualApprovalStateChange
in interfaceIPipeline.Jsii$Default
- 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 public final INotificationRule notifyOnAnyManualApprovalStateChange(@NotNull String id, @NotNull INotificationRuleTarget target) 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.- See Also:
-
notifyOnAnyStageStateChange
@Stability(Stable) @NotNull public final 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
- Specified by:
notifyOnAnyStageStateChange
in interfaceIPipeline.Jsii$Default
- 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 public final INotificationRule notifyOnAnyStageStateChange(@NotNull String id, @NotNull INotificationRuleTarget target) 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.- See Also:
-
notifyOnExecutionStateChange
@Stability(Stable) @NotNull public final 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
- Specified by:
notifyOnExecutionStateChange
in interfaceIPipeline.Jsii$Default
- 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 public final INotificationRule notifyOnExecutionStateChange(@NotNull String id, @NotNull INotificationRuleTarget target) 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.- See Also:
-
onEvent
@Stability(Stable) @NotNull public final Rule onEvent(@NotNull String id, @Nullable OnEventOptions options) Define an event rule triggered by this CodePipeline.- Specified by:
onEvent
in interfaceIPipeline
- Specified by:
onEvent
in interfaceIPipeline.Jsii$Default
- Parameters:
id
- Identifier for this event handler. This parameter is required.options
- Additional options to pass to the event rule.
-
onEvent
Define an event rule triggered by this CodePipeline. -
onStateChange
@Stability(Stable) @NotNull public final 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
- Specified by:
onStateChange
in interfaceIPipeline.Jsii$Default
- Parameters:
id
- Identifier for this event handler. This parameter is required.options
- Additional options to pass to the event rule.
-
onStateChange
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.
-