@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.323Z") @Stability(value=Stable) public class CodePipeline extends software.amazon.jsii.JsiiObject implements IRuleTarget
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));
| Modifier and Type | Class and Description |
|---|---|
static class |
CodePipeline.Builder
A fluent builder for
CodePipeline. |
software.amazon.jsii.JsiiObject.InitializationModeIRuleTarget.Jsii$Default, IRuleTarget.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
CodePipeline(IPipeline pipeline) |
|
CodePipeline(IPipeline pipeline,
CodePipelineTargetOptions options) |
protected |
CodePipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CodePipeline(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
RuleTargetConfig |
bind(IRule _rule)
Returns the rule target specification.
|
RuleTargetConfig |
bind(IRule _rule,
String _id)
Returns the rule target specification.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CodePipeline(software.amazon.jsii.JsiiObjectRef objRef)
protected CodePipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CodePipeline(@NotNull
IPipeline pipeline,
@Nullable
CodePipelineTargetOptions options)
pipeline - This parameter is required.options - @Stability(value=Stable)
public CodePipeline(@NotNull
IPipeline pipeline)
pipeline - This parameter is required.@Stability(value=Stable) @NotNull public RuleTargetConfig bind(@NotNull IRule _rule, @Nullable String _id)
NOTE: Do not use the various inputXxx options. They can be set in a call to addTarget.
bind in interface IRuleTarget_rule - This parameter is required._id - @Stability(value=Stable) @NotNull public RuleTargetConfig bind(@NotNull IRule _rule)
NOTE: Do not use the various inputXxx options. They can be set in a call to addTarget.
bind in interface IRuleTarget_rule - This parameter is required.Copyright © 2022. All rights reserved.