class Action
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodePipeline.Action |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#Action |
![]() | software.amazon.awscdk.services.codepipeline.Action |
![]() | aws_cdk.aws_codepipeline.Action |
![]() | aws-cdk-lib » aws_codepipeline » Action |
Implements
IAction
Implemented by
Alexa
, Cloud
, Cloud
, Cloud
, Cloud
, Cloud
, Cloud
, Code
, Code
, Code
, Code
, Code
, Commands
, Ecr
, Ecs
, Elastic
, Git
, Jenkins
, Lambda
, Manual
, 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
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.
protected bound(scope, stage, options)
protected bound(scope: Construct, stage: IStage, options: ActionBindOptions): ActionConfig
Parameters
- scope
Construct
- stage
IStage
- options
Action
Bind 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