@@ -57,6 +57,185 @@ class AutoScalingGroupProvider(AWSProperty):
5757 }
5858
5959
60+ class AcceleratorCountRequest (AWSProperty ):
61+ """
62+ `AcceleratorCountRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-acceleratorcountrequest.html>`__
63+ """
64+
65+ props : PropsDictType = {
66+ "Max" : (integer , False ),
67+ "Min" : (integer , False ),
68+ }
69+
70+
71+ class AcceleratorTotalMemoryMiBRequest (AWSProperty ):
72+ """
73+ `AcceleratorTotalMemoryMiBRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-acceleratortotalmemorymibrequest.html>`__
74+ """
75+
76+ props : PropsDictType = {
77+ "Max" : (integer , False ),
78+ "Min" : (integer , False ),
79+ }
80+
81+
82+ class BaselineEbsBandwidthMbpsRequest (AWSProperty ):
83+ """
84+ `BaselineEbsBandwidthMbpsRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-baselineebsbandwidthmbpsrequest.html>`__
85+ """
86+
87+ props : PropsDictType = {
88+ "Max" : (integer , False ),
89+ "Min" : (integer , False ),
90+ }
91+
92+
93+ class MemoryGiBPerVCpuRequest (AWSProperty ):
94+ """
95+ `MemoryGiBPerVCpuRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-memorygibpervcpurequest.html>`__
96+ """
97+
98+ props : PropsDictType = {
99+ "Max" : (double , False ),
100+ "Min" : (double , False ),
101+ }
102+
103+
104+ class MemoryMiBRequest (AWSProperty ):
105+ """
106+ `MemoryMiBRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-memorymibrequest.html>`__
107+ """
108+
109+ props : PropsDictType = {
110+ "Max" : (integer , False ),
111+ "Min" : (integer , True ),
112+ }
113+
114+
115+ class NetworkBandwidthGbpsRequest (AWSProperty ):
116+ """
117+ `NetworkBandwidthGbpsRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-networkbandwidthgbpsrequest.html>`__
118+ """
119+
120+ props : PropsDictType = {
121+ "Max" : (double , False ),
122+ "Min" : (double , False ),
123+ }
124+
125+
126+ class NetworkInterfaceCountRequest (AWSProperty ):
127+ """
128+ `NetworkInterfaceCountRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-networkinterfacecountrequest.html>`__
129+ """
130+
131+ props : PropsDictType = {
132+ "Max" : (integer , False ),
133+ "Min" : (integer , False ),
134+ }
135+
136+
137+ class TotalLocalStorageGBRequest (AWSProperty ):
138+ """
139+ `TotalLocalStorageGBRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-totallocalstoragegbrequest.html>`__
140+ """
141+
142+ props : PropsDictType = {
143+ "Max" : (double , False ),
144+ "Min" : (double , False ),
145+ }
146+
147+
148+ class VCpuCountRangeRequest (AWSProperty ):
149+ """
150+ `VCpuCountRangeRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-vcpucountrangerequest.html>`__
151+ """
152+
153+ props : PropsDictType = {
154+ "Max" : (integer , False ),
155+ "Min" : (integer , True ),
156+ }
157+
158+
159+ class InstanceRequirementsRequest (AWSProperty ):
160+ """
161+ `InstanceRequirementsRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancerequirementsrequest.html>`__
162+ """
163+
164+ props : PropsDictType = {
165+ "AcceleratorCount" : (AcceleratorCountRequest , False ),
166+ "AcceleratorManufacturers" : ([str ], False ),
167+ "AcceleratorNames" : ([str ], False ),
168+ "AcceleratorTotalMemoryMiB" : (AcceleratorTotalMemoryMiBRequest , False ),
169+ "AcceleratorTypes" : ([str ], False ),
170+ "AllowedInstanceTypes" : ([str ], False ),
171+ "BareMetal" : (str , False ),
172+ "BaselineEbsBandwidthMbps" : (BaselineEbsBandwidthMbpsRequest , False ),
173+ "BurstablePerformance" : (str , False ),
174+ "CpuManufacturers" : ([str ], False ),
175+ "ExcludedInstanceTypes" : ([str ], False ),
176+ "InstanceGenerations" : ([str ], False ),
177+ "LocalStorage" : (str , False ),
178+ "LocalStorageTypes" : ([str ], False ),
179+ "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice" : (integer , False ),
180+ "MemoryGiBPerVCpu" : (MemoryGiBPerVCpuRequest , False ),
181+ "MemoryMiB" : (MemoryMiBRequest , True ),
182+ "NetworkBandwidthGbps" : (NetworkBandwidthGbpsRequest , False ),
183+ "NetworkInterfaceCount" : (NetworkInterfaceCountRequest , False ),
184+ "OnDemandMaxPricePercentageOverLowestPrice" : (integer , False ),
185+ "RequireHibernateSupport" : (boolean , False ),
186+ "SpotMaxPricePercentageOverLowestPrice" : (integer , False ),
187+ "TotalLocalStorageGB" : (TotalLocalStorageGBRequest , False ),
188+ "VCpuCount" : (VCpuCountRangeRequest , True ),
189+ }
190+
191+
192+ class ManagedInstancesNetworkConfiguration (AWSProperty ):
193+ """
194+ `ManagedInstancesNetworkConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesnetworkconfiguration.html>`__
195+ """
196+
197+ props : PropsDictType = {
198+ "SecurityGroups" : ([str ], False ),
199+ "Subnets" : ([str ], True ),
200+ }
201+
202+
203+ class ManagedInstancesStorageConfiguration (AWSProperty ):
204+ """
205+ `ManagedInstancesStorageConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesstorageconfiguration.html>`__
206+ """
207+
208+ props : PropsDictType = {
209+ "StorageSizeGiB" : (integer , True ),
210+ }
211+
212+
213+ class InstanceLaunchTemplate (AWSProperty ):
214+ """
215+ `InstanceLaunchTemplate <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancelaunchtemplate.html>`__
216+ """
217+
218+ props : PropsDictType = {
219+ "Ec2InstanceProfileArn" : (str , True ),
220+ "InstanceRequirements" : (InstanceRequirementsRequest , False ),
221+ "Monitoring" : (str , False ),
222+ "NetworkConfiguration" : (ManagedInstancesNetworkConfiguration , True ),
223+ "StorageConfiguration" : (ManagedInstancesStorageConfiguration , False ),
224+ }
225+
226+
227+ class ManagedInstancesProvider (AWSProperty ):
228+ """
229+ `ManagedInstancesProvider <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesprovider.html>`__
230+ """
231+
232+ props : PropsDictType = {
233+ "InfrastructureRoleArn" : (str , True ),
234+ "InstanceLaunchTemplate" : (InstanceLaunchTemplate , True ),
235+ "PropagateTags" : (str , False ),
236+ }
237+
238+
60239class CapacityProvider (AWSObject ):
61240 """
62241 `CapacityProvider <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html>`__
@@ -66,6 +245,8 @@ class CapacityProvider(AWSObject):
66245
67246 props : PropsDictType = {
68247 "AutoScalingGroupProvider" : (AutoScalingGroupProvider , False ),
248+ "ClusterName" : (str , False ),
249+ "ManagedInstancesProvider" : (ManagedInstancesProvider , False ),
69250 "Name" : (str , False ),
70251 "Tags" : (Tags , False ),
71252 }
0 commit comments