class ServiceCatalogDeployActionBeta1
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodePipeline.Actions.ServiceCatalogDeployActionBeta1 |
![]() | software.amazon.awscdk.services.codepipeline.actions.ServiceCatalogDeployActionBeta1 |
![]() | aws_cdk.aws_codepipeline_actions.ServiceCatalogDeployActionBeta1 |
![]() | @aws-cdk/aws-codepipeline-actions » ServiceCatalogDeployActionBeta1 |
Implements
IAction
Extends
Action
CodePipeline action to connect to an existing ServiceCatalog product.
Note: this class is still experimental, and may have breaking changes in the future!
Example
const cdkBuildOutput = new codepipeline.Artifact();
const serviceCatalogDeployAction = new codepipeline_actions.ServiceCatalogDeployActionBeta1({
actionName: 'ServiceCatalogDeploy',
templatePath: cdkBuildOutput.atPath("Sample.template.json"),
productVersionName: "Version - " + Date.now.toString,
productVersionDescription: "This is a version from the pipeline with a new description.",
productId: "prod-XXXXXXXX",
});
Initializer
new ServiceCatalogDeployActionBeta1(props: ServiceCatalogDeployActionBeta1Props)
Parameters
Properties
Name | Type | Description |
---|---|---|
action | Action | The simple properties of the Action, like its Owner, name, etc. |
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.
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 {@link IAction.bind} method. |
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 {@link IAction.bind} method.