class Action
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodePipeline.Actions.Action |
Java | software.amazon.awscdk.services.codepipeline.actions.Action |
Python | aws_cdk.aws_codepipeline_actions.Action |
TypeScript (source) | @aws-cdk/aws-codepipeline-actions » Action |
Implements
IAction
Extends
Action
Implemented by
Alexa
, Cloud
, Cloud
, Cloud
, Cloud
, Cloud
, Cloud
, Code
, Code
, Code
, Code
, Code
, Ecr
, Ecs
, Git
, Jenkins
, Lambda
, Manual
, 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
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 {@link 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 {@link bind} callback.
providedActionProperties
Type:
Action
This is a renamed version of the {@link 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
Action
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
- target
IRule
Target - options
Rule
Props
Returns
Creates an Event that will be triggered whenever the state of this Action changes.