@Internal public static interface IPipeline.Jsii$Default extends IPipeline, IResource.Jsii$Default
IPipeline.IPipeline.Jsii$Default, IPipeline.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default ConstructNode |
getNode()
The construct tree node for this construct.
|
default String |
getPipelineArn()
The ARN of the Pipeline.
|
default String |
getPipelineName()
The name of the Pipeline.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
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.
|
onEvent, onStateChange@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode in interface IConstruct.Jsii$DefaultgetNode in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default ResourceEnvironment getEnv()
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.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default String getPipelineArn()
getPipelineArn in interface IPipeline@Stability(value=Stable) @NotNull default String getPipelineName()
getPipelineName in interface IPipeline@Stability(value=Stable) @NotNull default Rule onEvent(@NotNull String id, @Nullable OnEventOptions options)
@Stability(value=Stable) @NotNull default Rule onStateChange(@NotNull String id, @Nullable OnEventOptions options)
onStateChange in interface IPipelineid - Identifier for this event handler. This parameter is required.options - Additional options to pass to the event rule.Copyright © 2020. All rights reserved.