class Action
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodePipeline.Action |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#Action |
Java | software.amazon.awscdk.services.codepipeline.Action |
Python | aws_cdk.aws_codepipeline.Action |
TypeScript (source) | aws-cdk-lib » aws_codepipeline » Action |
Implements
IAction
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
Low-level class for generic CodePipeline Actions implementing the IAction interface.
Contains some common logic that can be re-used by all IAction implementations.
If you're writing your own Action class,
feel free to extend this class.
Initializer
new Action()
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. |
| protected bound(scope, stage, options) | This is a renamed version of the IAction.bind method. |
| protected variable |
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.
protected bound(scope, stage, options)
protected bound(scope: Construct, stage: IStage, options: ActionBindOptions): ActionConfig
Parameters
- scope
Construct - stage
IStage - options
ActionBind Options
Returns
This is a renamed version of the IAction.bind method.
protected variableExpression(variableName)
protected variableExpression(variableName: string): string
Parameters
- variableName
string
Returns
string

.NET
Go
Java
Python
TypeScript (