interface StackSteps
Language | Type name |
---|---|
.NET | Amazon.CDK.Pipelines.StackSteps |
Java | software.amazon.awscdk.pipelines.StackSteps |
Python | aws_cdk.pipelines.StackSteps |
TypeScript (source) | @aws-cdk/pipelines » StackSteps |
Instructions for additional steps that are run at stack level.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from '@aws-cdk/core';
import * as pipelines from '@aws-cdk/pipelines';
declare const stack: cdk.Stack;
declare const step: pipelines.Step;
const stackSteps: pipelines.StackSteps = {
stack: stack,
// the properties below are optional
changeSet: [step],
post: [step],
pre: [step],
};
Properties
Name | Type | Description |
---|---|---|
stack | Stack | The stack you want the steps to run in. |
change | Step [] | Steps that execute after stack is prepared but before stack is deployed. |
post? | Step [] | Steps that execute after stack is deployed. |
pre? | Step [] | Steps that execute before stack is prepared. |
stack
Type:
Stack
The stack you want the steps to run in.
changeSet?
Type:
Step
[]
(optional, default: no additional steps)
Steps that execute after stack is prepared but before stack is deployed.
post?
Type:
Step
[]
(optional, default: no additional steps)
Steps that execute after stack is deployed.
pre?
Type:
Step
[]
(optional, default: no additional steps)
Steps that execute before stack is prepared.