@@ -123,15 +123,15 @@ export class ExternalService extends BaseService implements IExternalService {
123
123
}
124
124
125
125
if ( props . cluster . defaultCloudMapNamespace !== undefined ) {
126
- throw new Error ( `Cloud map integration is not supported for External service ${ props . cluster . defaultCloudMapNamespace } ` ) ;
126
+ throw new Error ( `Cloud map integration is not supported for External service ${ props . cluster . defaultCloudMapNamespace } ` ) ;
127
127
}
128
128
129
129
if ( props . cloudMapOptions !== undefined ) {
130
- throw new Error ( 'Cloud map options are not supported for External service' ) ;
130
+ throw new Error ( 'Cloud map options are not supported for External service' ) ;
131
131
}
132
132
133
133
if ( props . capacityProviderStrategies !== undefined ) {
134
- throw new Error ( 'Capacity Providers are not supported for External service' ) ;
134
+ throw new Error ( 'Capacity Providers are not supported for External service' ) ;
135
135
}
136
136
137
137
const propagateTagsFromSource = props . propagateTags ?? PropagatedTagSource . NONE ;
@@ -167,55 +167,55 @@ export class ExternalService extends BaseService implements IExternalService {
167
167
}
168
168
169
169
/**
170
- * Overriden method to throw error as `attachToApplicationTargetGroup` is not supported for external service
170
+ * Overridden method to throw error as `attachToApplicationTargetGroup` is not supported for external service
171
171
*/
172
172
@MethodMetadata ( )
173
173
public attachToApplicationTargetGroup ( _targetGroup : elbv2 . IApplicationTargetGroup ) : elbv2 . LoadBalancerTargetProps {
174
174
throw new Error ( 'Application load balancer cannot be attached to an external service' ) ;
175
175
}
176
176
177
177
/**
178
- * Overriden method to throw error as `loadBalancerTarget` is not supported for external service
178
+ * Overridden method to throw error as `loadBalancerTarget` is not supported for external service
179
179
*/
180
180
@MethodMetadata ( )
181
181
public loadBalancerTarget ( _options : LoadBalancerTargetOptions ) : IEcsLoadBalancerTarget {
182
182
throw new Error ( 'External service cannot be attached as load balancer targets' ) ;
183
183
}
184
184
185
185
/**
186
- * Overriden method to throw error as `registerLoadBalancerTargets` is not supported for external service
186
+ * Overridden method to throw error as `registerLoadBalancerTargets` is not supported for external service
187
187
*/
188
188
@MethodMetadata ( )
189
189
public registerLoadBalancerTargets ( ..._targets : EcsTarget [ ] ) {
190
190
throw new Error ( 'External service cannot be registered as load balancer targets' ) ;
191
191
}
192
192
193
193
/**
194
- * Overriden method to throw error as `configureAwsVpcNetworkingWithSecurityGroups` is not supported for external service
194
+ * Overridden method to throw error as `configureAwsVpcNetworkingWithSecurityGroups` is not supported for external service
195
195
*/
196
196
// eslint-disable-next-line max-len, no-unused-vars
197
197
protected configureAwsVpcNetworkingWithSecurityGroups ( _vpc : ec2 . IVpc , _assignPublicIp ?: boolean , _vpcSubnets ?: ec2 . SubnetSelection , _securityGroups ?: ec2 . ISecurityGroup [ ] ) {
198
- throw new Error ( 'Only Bridge network mode is supported for external service' ) ;
198
+ throw new Error ( 'Only Bridge network mode is supported for external service' ) ;
199
199
}
200
200
201
201
/**
202
- * Overriden method to throw error as `autoScaleTaskCount` is not supported for external service
202
+ * Overridden method to throw error as `autoScaleTaskCount` is not supported for external service
203
203
*/
204
204
@MethodMetadata ( )
205
205
public autoScaleTaskCount ( _props : appscaling . EnableScalingProps ) : ScalableTaskCount {
206
206
throw new Error ( 'Autoscaling not supported for external service' ) ;
207
207
}
208
208
209
209
/**
210
- * Overriden method to throw error as `enableCloudMap` is not supported for external service
210
+ * Overridden method to throw error as `enableCloudMap` is not supported for external service
211
211
*/
212
212
@MethodMetadata ( )
213
213
public enableCloudMap ( _options : CloudMapOptions ) : cloudmap . Service {
214
214
throw new Error ( 'Cloud map integration not supported for an external service' ) ;
215
215
}
216
216
217
217
/**
218
- * Overriden method to throw error as `associateCloudMapService` is not supported for external service
218
+ * Overridden method to throw error as `associateCloudMapService` is not supported for external service
219
219
*/
220
220
@MethodMetadata ( )
221
221
public associateCloudMapService ( _options : AssociateCloudMapServiceOptions ) : void {
0 commit comments