Skip to content

Commit f12982e

Browse files
author
AWS
committed
Amazon Elastic Kubernetes Service Update: Added waiters for EKS FargateProfiles.
1 parent c328c07 commit f12982e

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Kubernetes Service",
4+
"contributor": "",
5+
"description": "Added waiters for EKS FargateProfiles."
6+
}

services/eks/src/main/resources/codegen-resources/waiters-2.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,43 @@
129129
"state": "success"
130130
}
131131
]
132+
},
133+
"FargateProfileActive": {
134+
"delay": 10,
135+
"operation": "DescribeFargateProfile",
136+
"maxAttempts": 60,
137+
"acceptors": [
138+
{
139+
"expected": "CREATE_FAILED",
140+
"matcher": "path",
141+
"state": "failure",
142+
"argument": "fargateProfile.status"
143+
},
144+
{
145+
"expected": "ACTIVE",
146+
"matcher": "path",
147+
"state": "success",
148+
"argument": "fargateProfile.status"
149+
}
150+
]
151+
},
152+
"FargateProfileDeleted": {
153+
"delay": 30,
154+
"operation": "DescribeFargateProfile",
155+
"maxAttempts": 60,
156+
"acceptors": [
157+
{
158+
"expected": "DELETE_FAILED",
159+
"matcher": "path",
160+
"state": "failure",
161+
"argument": "fargateProfile.status"
162+
},
163+
{
164+
"expected": "ResourceNotFoundException",
165+
"matcher": "error",
166+
"state": "success"
167+
}
168+
]
132169
}
133170
}
134171
}

0 commit comments

Comments
 (0)