/
Create_Deployment_Group_CLI_Param.json
48 lines (48 loc) · 1.22 KB
/
Create_Deployment_Group_CLI_Param.json
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
{
"applicationName": "TestCodeDeployApplication",
"autoRollbackConfiguration": {
"enabled": true,
"events": ["DEPLOYMENT_FAILURE"]
},
"blueGreenDeploymentConfiguration": {
"deploymentReadyOption": {
"actionOnTimeout": "CONTINUE_DEPLOYMENT",
"waitTimeInMinutes": 0
},
"terminateBlueInstancesOnDeploymentSuccess": {
"action": "TERMINATE",
"terminationWaitTimeInMinutes": 5
}
},
"deploymentGroupName": "TestCodeDeployDeploymentGroup",
"deploymentStyle": {
"deploymentOption": "WITH_TRAFFIC_CONTROL",
"deploymentType": "BLUE_GREEN"
},
"loadBalancerInfo": {
"targetGroupPairInfoList": [
{
"targetGroups": [
{
"name": "TargetGroup01"
},
{
"name": "TargetGroup02"
}
],
"prodTrafficRoute": {
"listenerArns": [
"arn:aws:elasticloadbalancing:us-east-1:174304792831:listener/app/TestALB/a8cafcec8f307a78/02c89168206f1d21"
]
}
}
]
},
"serviceRoleArn": "arn:aws:iam::174304792831:role/service-role/CodeDeployServiceRole",
"ecsServices": [
{
"serviceName": "PostCodeECSService",
"clusterName": "TestECSCluster"
}
]
}