Class CodePipeline
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.targets.CodePipeline
- All Implemented Interfaces:
- IRuleTarget,- software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:47.721Z")
@Stability(Stable)
public class CodePipeline
extends software.amazon.jsii.JsiiObject
implements IRuleTarget
Allows the pipeline to be used as an EventBridge rule target.
 
Example:
 // A pipeline being used as a target for a CloudWatch event rule.
 import software.amazon.awscdk.services.events.targets.*;
 import software.amazon.awscdk.services.events.*;
 Pipeline pipeline;
 // kick off the pipeline every day
 Rule rule = Rule.Builder.create(this, "Daily")
         .schedule(Schedule.rate(Duration.days(1)))
         .build();
 rule.addTarget(new CodePipeline(pipeline));
 - 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.events.IRuleTargetIRuleTarget.Jsii$Default, IRuleTarget.Jsii$Proxy
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCodePipeline(IPipeline pipeline) CodePipeline(IPipeline pipeline, CodePipelineTargetOptions options) protectedCodePipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCodePipeline(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the rule target specification.Returns the rule target specification.Methods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
CodePipelineprotected CodePipeline(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CodePipelineprotected CodePipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CodePipeline@Stability(Stable) public CodePipeline(@NotNull IPipeline pipeline, @Nullable CodePipelineTargetOptions options) - Parameters:
- pipeline- This parameter is required.
- options-
 
- 
CodePipeline- Parameters:
- pipeline- This parameter is required.
 
 
- 
- 
Method Details- 
bind@Stability(Stable) @NotNull public RuleTargetConfig bind(@NotNull IRule _rule, @Nullable String _id) Returns the rule target specification.NOTE: Do not use the various inputXxxoptions. They can be set in a call toaddTarget.- Specified by:
- bindin interface- IRuleTarget
- Parameters:
- _rule- This parameter is required.
- _id-
 
- 
bindReturns the rule target specification.NOTE: Do not use the various inputXxxoptions. They can be set in a call toaddTarget.- Specified by:
- bindin interface- IRuleTarget
- Parameters:
- _rule- This parameter is required.
 
 
-