@@ -27,7 +27,7 @@ The HuggingFaceSageMakerEndpoint class.
27
27
- [ cfnEndpoint] ( HuggingFaceSageMakerEndpoint.md#cfnendpoint )
28
28
- [ cfnEndpointConfig] ( HuggingFaceSageMakerEndpoint.md#cfnendpointconfig )
29
29
- [ cfnModel] ( HuggingFaceSageMakerEndpoint.md#cfnmodel )
30
- - [ constructTrackingCode ] ( HuggingFaceSageMakerEndpoint.md#constructtrackingcode )
30
+ - [ constructUsageMetric ] ( HuggingFaceSageMakerEndpoint.md#constructusagemetric )
31
31
- [ enablexray] ( HuggingFaceSageMakerEndpoint.md#enablexray )
32
32
- [ endpointArn] ( HuggingFaceSageMakerEndpoint.md#endpointarn )
33
33
- [ environment] ( HuggingFaceSageMakerEndpoint.md#environment )
@@ -42,6 +42,7 @@ The HuggingFaceSageMakerEndpoint class.
42
42
- [ role] ( HuggingFaceSageMakerEndpoint.md#role )
43
43
- [ stage] ( HuggingFaceSageMakerEndpoint.md#stage )
44
44
- [ startupHealthCheckTimeoutInSeconds] ( HuggingFaceSageMakerEndpoint.md#startuphealthchecktimeoutinseconds )
45
+ - [ usageMetricMap] ( HuggingFaceSageMakerEndpoint.md#usagemetricmap )
45
46
46
47
### Methods
47
48
@@ -50,7 +51,7 @@ The HuggingFaceSageMakerEndpoint class.
50
51
- [ createSageMakerRole] ( HuggingFaceSageMakerEndpoint.md#createsagemakerrole )
51
52
- [ grantInvoke] ( HuggingFaceSageMakerEndpoint.md#grantinvoke )
52
53
- [ toString] ( HuggingFaceSageMakerEndpoint.md#tostring )
53
- - [ updateConstructTrackingCode ] ( HuggingFaceSageMakerEndpoint.md#updateconstructtrackingcode )
54
+ - [ updateConstructUsageMetricCode ] ( HuggingFaceSageMakerEndpoint.md#updateconstructusagemetriccode )
54
55
- [ updateEnvSuffix] ( HuggingFaceSageMakerEndpoint.md#updateenvsuffix )
55
56
- [ isConstruct] ( HuggingFaceSageMakerEndpoint.md#isconstruct )
56
57
96
97
97
98
___
98
99
99
- ### constructTrackingCode
100
+ ### constructUsageMetric
100
101
101
- • ` Readonly ` ** constructTrackingCode ** : `` "uksb-1tupboc45" ``
102
+ • ` Readonly ` ** constructUsageMetric ** : `` "uksb-1tupboc45" ``
102
103
103
- construct tracking code , added in template description
104
+ construct usage metric , added in template description
104
105
105
106
#### Inherited from
106
107
107
- [ SageMakerEndpointBase] ( SageMakerEndpointBase.md ) .[ constructTrackingCode ] ( SageMakerEndpointBase.md#constructtrackingcode )
108
+ [ SageMakerEndpointBase] ( SageMakerEndpointBase.md ) .[ constructUsageMetric ] ( SageMakerEndpointBase.md#constructusagemetric )
108
109
109
110
___
110
111
252
253
253
254
• ` Private ` ` Readonly ` ** startupHealthCheckTimeoutInSeconds** : ` number `
254
255
256
+ ___
257
+
258
+ ### usageMetricMap
259
+
260
+ ▪ ` Static ` ` Protected ` ** usageMetricMap** : ` Record ` \< ` string ` , ` number ` \>
261
+
262
+ Record<string, number> , maps construct name with number of deployments
263
+
264
+ #### Inherited from
265
+
266
+ [ SageMakerEndpointBase] ( SageMakerEndpointBase.md ) .[ usageMetricMap] ( SageMakerEndpointBase.md#usagemetricmap )
267
+
255
268
## Methods
256
269
257
270
### addObservabilityToConstruct
@@ -336,9 +349,9 @@ Returns a string representation of this construct.
336
349
337
350
___
338
351
339
- ### updateConstructTrackingCode
352
+ ### updateConstructUsageMetricCode
340
353
341
- ▸ ** updateConstructTrackingCode ** (` props ` , ` scope ` , ` lambdaFunctions ` ): ` void `
354
+ ▸ ** updateConstructUsageMetricCode ** (` props ` , ` scope ` , ` lambdaFunctions ` ): ` void `
342
355
343
356
#### Parameters
344
357
354
367
355
368
#### Inherited from
356
369
357
- [ SageMakerEndpointBase] ( SageMakerEndpointBase.md ) .[ updateConstructTrackingCode ] ( SageMakerEndpointBase.md#updateconstructtrackingcode )
370
+ [ SageMakerEndpointBase] ( SageMakerEndpointBase.md ) .[ updateConstructUsageMetricCode ] ( SageMakerEndpointBase.md#updateconstructusagemetriccode )
358
371
359
372
___
360
373
0 commit comments