class Action
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodePipeline.Actions.Action |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipelineactions#Action |
Java | software.amazon.awscdk.services.codepipeline.actions.Action |
Python | aws_cdk.aws_codepipeline_actions.Action |
TypeScript (source) | aws-cdk-lib » aws_codepipeline_actions » Action |
Implements
IAction
Extends
Action
Implemented by
Alexa, Cloud, Cloud, Cloud, Cloud, Cloud, Cloud, Code, Code, Code, Code, Code, Commands, Ec2, Ecr, Ecr, Ecs, Elastic, Git, Inspector, Inspector, Jenkins, Lambda, Manual, Pipeline, S3, S3, Service, Step
Obtainable from
Code.getAction()
Low-level class for generic CodePipeline Actions.
If you're implementing your own IAction, prefer to use the Action class from the codepipeline module.
Initializer (protected)
super(actionProperties: ActionProperties)
Parameters
- actionProperties
Action— The simple properties of the Action, like its Owner, name, etc.Properties
Properties
| Name | Type | Description |
|---|---|---|
| action | Action | The simple properties of the Action, like its Owner, name, etc. |
| provided | Action | This is a renamed version of the IAction.actionProperties property. |
actionProperties
Type:
Action
The simple properties of the Action, like its Owner, name, etc.
Note that this accessor will be called before the bind callback.
providedActionProperties
Type:
Action
This is a renamed version of the IAction.actionProperties property.
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 - stage
IStage - options
ActionBind 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 - target
IRuleTarget - options
RuleProps
Returns
Creates an Event that will be triggered whenever the state of this Action changes.

.NET
Go
Java
Python
TypeScript (