/
StageDeploymentProps.go
59 lines (56 loc) · 1.51 KB
/
StageDeploymentProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package pipelines
// Properties for a `StageDeployment`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import cdk "github.com/aws/aws-cdk-go/awscdk"
// import "github.com/aws/aws-cdk-go/awscdk"
//
// var stack stack
// var step step
//
// stageDeploymentProps := &StageDeploymentProps{
// Post: []*step{
// step,
// },
// Pre: []*step{
// step,
// },
// StackSteps: []stackSteps{
// &stackSteps{
// Stack: stack,
//
// // the properties below are optional
// ChangeSet: []*step{
// step,
// },
// Post: []*step{
// step,
// },
// Pre: []*step{
// step,
// },
// },
// },
// StageName: jsii.String("stageName"),
// }
//
type StageDeploymentProps struct {
// Additional steps to run after all of the stacks in the stage.
// Default: - No additional steps.
//
Post *[]Step `field:"optional" json:"post" yaml:"post"`
// Additional steps to run before any of the stacks in the stage.
// Default: - No additional steps.
//
Pre *[]Step `field:"optional" json:"pre" yaml:"pre"`
// Instructions for additional steps that are run at the stack level.
// Default: - No additional instructions.
//
StackSteps *[]*StackSteps `field:"optional" json:"stackSteps" yaml:"stackSteps"`
// Stage name to use in the pipeline.
// Default: - Use Stage's construct ID.
//
StageName *string `field:"optional" json:"stageName" yaml:"stageName"`
}