-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscdk_CfnCodeDeployBlueGreenApplication.go
48 lines (45 loc) · 1.57 KB
/
awscdk_CfnCodeDeployBlueGreenApplication.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
// Version 2 of the AWS Cloud Development Kit library
package awscdk
// The application actually being deployed.
//
// Type of the {@link CfnCodeDeployBlueGreenHookProps.applications} property.
//
// 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"
//
// cfnCodeDeployBlueGreenApplication := &cfnCodeDeployBlueGreenApplication{
// ecsAttributes: &cfnCodeDeployBlueGreenEcsAttributes{
// taskDefinitions: []*string{
// jsii.String("taskDefinitions"),
// },
// taskSets: []*string{
// jsii.String("taskSets"),
// },
// trafficRouting: &cfnTrafficRouting{
// prodTrafficRoute: &cfnTrafficRoute{
// logicalId: jsii.String("logicalId"),
// type: jsii.String("type"),
// },
// targetGroups: []*string{
// jsii.String("targetGroups"),
// },
// testTrafficRoute: &cfnTrafficRoute{
// logicalId: jsii.String("logicalId"),
// type: jsii.String("type"),
// },
// },
// },
// target: &cfnCodeDeployBlueGreenApplicationTarget{
// logicalId: jsii.String("logicalId"),
// type: jsii.String("type"),
// },
// }
//
type CfnCodeDeployBlueGreenApplication struct {
// The detailed attributes of the deployed target.
EcsAttributes *CfnCodeDeployBlueGreenEcsAttributes `field:"required" json:"ecsAttributes" yaml:"ecsAttributes"`
// The target that is being deployed.
Target *CfnCodeDeployBlueGreenApplicationTarget `field:"required" json:"target" yaml:"target"`
}