-
Notifications
You must be signed in to change notification settings - Fork 17
/
ActionPoint.go
34 lines (30 loc) · 1.16 KB
/
ActionPoint.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
package awsappconfig
// Defines Extension action points.
//
// Example:
// var fn function
//
//
// appconfig.NewExtension(this, jsii.String("MyExtension"), &ExtensionProps{
// Actions: []action{
// appconfig.NewAction(&ActionProps{
// ActionPoints: []actionPoint{
// appconfig.*actionPoint_ON_DEPLOYMENT_START,
// },
// EventDestination: appconfig.NewLambdaDestination(fn),
// }),
// },
// })
//
// See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions-about.html#working-with-appconfig-extensions-how-it-works-step-2
//
type ActionPoint string
const (
ActionPoint_PRE_CREATE_HOSTED_CONFIGURATION_VERSION ActionPoint = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION"
ActionPoint_PRE_START_DEPLOYMENT ActionPoint = "PRE_START_DEPLOYMENT"
ActionPoint_ON_DEPLOYMENT_START ActionPoint = "ON_DEPLOYMENT_START"
ActionPoint_ON_DEPLOYMENT_STEP ActionPoint = "ON_DEPLOYMENT_STEP"
ActionPoint_ON_DEPLOYMENT_BAKING ActionPoint = "ON_DEPLOYMENT_BAKING"
ActionPoint_ON_DEPLOYMENT_COMPLETE ActionPoint = "ON_DEPLOYMENT_COMPLETE"
ActionPoint_ON_DEPLOYMENT_ROLLED_BACK ActionPoint = "ON_DEPLOYMENT_ROLLED_BACK"
)