interface StackSteps
Language | Type name |
---|---|
![]() | Amazon.CDK.Pipelines.StackSteps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/pipelines#StackSteps |
![]() | software.amazon.awscdk.pipelines.StackSteps |
![]() | aws_cdk.pipelines.StackSteps |
![]() | aws-cdk-lib » 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-lib';
import { pipelines } from 'aws-cdk-lib';
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.