interface IAction
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodePipeline.IAction |
Java | software.amazon.awscdk.services.codepipeline.IAction |
Python | aws_cdk.aws_codepipeline.IAction |
TypeScript (source) | @aws-cdk/aws-codepipeline » IAction |
Implemented by
Pipeline, Alexa, Bit, Cloud, Cloud, Cloud, Cloud, Cloud, Cloud, Code, Code, Code, Code, Code, Ecr, Ecs, Git, Jenkins, Lambda, Manual, S3, S3, Service, Step, Deploy, Publish, Shell, Simple, Update
A Pipeline Action.
If you want to implement this interface, consider extending the {@link Action} class, which contains some common logic.
Properties
| Name | Type | Description |
|---|---|---|
| action | Action | The simple properties of the Action, like its Owner, name, etc. |
actionProperties
Type:
Action
The simple properties of the Action, like its Owner, name, etc.
Note that this accessor will be called before the {@link bind} callback.
Methods
| Name | Description |
|---|---|
| bind(scope, stage, options) | The callback invoked when this Action is added to a Pipeline. |
| on | Creates an Event that will be triggered whenever the state of this Action changes. |
bind(scope, stage, options)
public bind(scope: Construct, stage: IStage, options: ActionBindOptions): ActionConfig
Parameters
- scope
Construct— the Construct tree scope the Action can use if it needs to create any resources. - stage
IStage— the {@link IStage} this Action is being added to. - options
Action— additional options the Action can use, like the artifact Bucket of the pipeline it's being added to.Bind Options
Returns
The callback invoked when this Action is added to a Pipeline.
onStateChange(name, target?, options?)
public onStateChange(name: string, target?: IRuleTarget, options?: RuleProps): Rule
Parameters
- name
string— the name to use for the new Event. - target
IRule— the optional target for the Event.Target - options
Rule— additional options that can be used to customize the created Event.Props
Returns
Creates an Event that will be triggered whenever the state of this Action changes.

.NET
Java
Python
TypeScript (