-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paths3.json
More file actions
86 lines (68 loc) · 1.58 KB
/
Copy paths3.json
File metadata and controls
86 lines (68 loc) · 1.58 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[
{
"DomainName": "cloudworkmates.com",
"Records": [
{
}
]
}
]
{
"Users": [
{
"UserName": "Krishna",
"AttachedPolicies": [
{
"UserPolicy":[{
"PolicyName":"AWSCloudwatchFullAccess"
}],
"InlinePolicy":[{
"PolicyName":"AWSCloudwatchFullAccess"
}],
"GroupPolicy":[{
"PolicyName":"AWSCloudwatchFullAccess"
}]
}],
"CreationDate": "2021-03-13T12:30:31",
"LastActivity":{
"PasswordLastUsed": "2021-03-13T23:00",
"AccessKeyLastUsed": "2021-03-13T23:00"
},
"PasswordAge":"23Days",
"AccessKeyAge":"23days",
"MFA": "Enabled"
}]
}
{
"LoadBalancerDetails": [
{
"LBName":"",
"LBStatus":"",
"LBType":"",
"TargetGroups":[
{
"TargetName":"",
"TargetPort":"",
"TargetInstance":[{
"InstanceId": "",
"Status":"Healthy|Unhealthy"
}]
}
]
}]
}
lb_list=[]
for i in loadbalancer:
target_list=[]
for q in target_response:
result={
targetName
}
target_list.append(result)
lb_result={
lbname,
lbstatus,
targetgroups:target_list
}
lb_list.append(lb_result)
{x:value, y:value},