@Generated(value="jsii-pacmak/0.8.2 (build e9eb3c9)", date="2019-03-28T21:35:49.710Z") public abstract class Action extends software.amazon.jsii.JsiiObject
codecommit.PipelineSourceAction or
codebuild.PipelineBuildAction.| Modifier | Constructor and Description |
|---|---|
|
Action(ActionProps props) |
protected |
Action(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
protected Action |
addInputArtifact(Artifact artifact) |
protected Artifact |
addOutputArtifact(String name) |
protected abstract void |
bind(IStage stage,
software.amazon.awscdk.Construct scope)
The method called when an Action is attached to a Pipeline.
|
String |
getActionName() |
ActionCategory |
getCategory()
The category of the action.
|
Object |
getConfiguration()
The action's configuration.
|
String |
getOwner() |
String |
getProvider()
The service provider that the action calls.
|
String |
getRegion()
The AWS region the given Action resides in.
|
software.amazon.awscdk.services.iam.IRole |
getRole()
The service role that is assumed during execution of action.
|
Number |
getRunOrder()
The order in which AWS CodePipeline runs this action.
|
protected software.amazon.awscdk.Construct |
getScope()
Retrieves the Construct scope of this Action.
|
String |
getVersion() |
software.amazon.awscdk.services.events.EventRule |
onStateChange(String name) |
software.amazon.awscdk.services.events.EventRule |
onStateChange(String name,
software.amazon.awscdk.services.events.IEventRuleTarget target) |
software.amazon.awscdk.services.events.EventRule |
onStateChange(String name,
software.amazon.awscdk.services.events.IEventRuleTarget target,
software.amazon.awscdk.services.events.EventRuleProps options) |
protected List<String> |
validate() |
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected Action(software.amazon.jsii.JsiiObject.InitializationMode mode)
public Action(ActionProps props)
protected abstract void bind(IStage stage, software.amazon.awscdk.Construct scope)
stage - the stage this action has been added to
(includes a reference to the pipeline as well)scope - the scope construct for this action,
can be used by the action implementation to create any resources it needs to work correctlypublic software.amazon.awscdk.services.events.EventRule onStateChange(String name, @Nullable software.amazon.awscdk.services.events.IEventRuleTarget target, @Nullable software.amazon.awscdk.services.events.EventRuleProps options)
public software.amazon.awscdk.services.events.EventRule onStateChange(String name, @Nullable software.amazon.awscdk.services.events.IEventRuleTarget target)
public software.amazon.awscdk.services.events.EventRule onStateChange(String name)
public String getActionName()
public ActionCategory getCategory()
public String getOwner()
public String getProvider()
public Number getRunOrder()
protected software.amazon.awscdk.Construct getScope()
public String getVersion()
@Nullable public Object getConfiguration()
@Nullable public String getRegion()
PipelineProps#crossRegionReplicationBuckets property.
If you don't, the CodePipeline Construct will create new Stacks in your CDK app containing those buckets,
that you will need to `cdk deploy` before deploying the main, Pipeline-containing Stack.@Nullable public software.amazon.awscdk.services.iam.IRole getRole()
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.htmlCopyright © 2019. All rights reserved.