@awboost/cfn-resource-types 0.1.282 → 0.1.283

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html}
6
6
  */
7
7
  export type SageMakerInferenceComponentProperties = {
8
+ /**
9
+ * The deployment config for the inference component
10
+ */
11
+ DeploymentConfig?: InferenceComponentDeploymentConfig;
8
12
  /**
9
13
  * The Amazon Resource Name (ARN) of the endpoint the inference component is associated with
10
14
  * @minLength `1`
@@ -100,6 +104,29 @@ export type SageMakerInferenceComponentAttributes = {
100
104
  };
101
105
  };
102
106
  };
107
+ /**
108
+ * Type definition for `AWS::SageMaker::InferenceComponent.Alarm`.
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-alarm.html}
110
+ */
111
+ export type Alarm = {
112
+ /**
113
+ * @minLength `1`
114
+ * @maxLength `255`
115
+ * @pattern `^(?!\s*$).+`
116
+ */
117
+ AlarmName: string;
118
+ };
119
+ /**
120
+ * Type definition for `AWS::SageMaker::InferenceComponent.AutoRollbackConfiguration`.
121
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-autorollbackconfiguration.html}
122
+ */
123
+ export type AutoRollbackConfiguration = {
124
+ /**
125
+ * @minLength `1`
126
+ * @maxLength `10`
127
+ */
128
+ Alarms: Alarm[];
129
+ };
103
130
  /**
104
131
  * Type definition for `AWS::SageMaker::InferenceComponent.DeployedImage`.
105
132
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-deployedimage.html}
@@ -125,6 +152,23 @@ export type DeployedImage = {
125
152
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-environmentmap.html}
126
153
  */
127
154
  export type EnvironmentMap = Record<string, string>;
155
+ /**
156
+ * Type definition for `AWS::SageMaker::InferenceComponent.InferenceComponentCapacitySize`.
157
+ * Capacity size configuration for the inference component
158
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcapacitysize.html}
159
+ */
160
+ export type InferenceComponentCapacitySize = {
161
+ Type: InferenceComponentCapacitySizeType;
162
+ /**
163
+ * The number of copies for the inference component
164
+ */
165
+ Value: number;
166
+ };
167
+ /**
168
+ * Type definition for `AWS::SageMaker::InferenceComponent.InferenceComponentCapacitySizeType`.
169
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcapacitysizetype.html}
170
+ */
171
+ export type InferenceComponentCapacitySizeType = "COPY_COUNT" | "CAPACITY_PERCENT";
128
172
  /**
129
173
  * Type definition for `AWS::SageMaker::InferenceComponent.InferenceComponentComputeResourceRequirements`.
130
174
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcomputeresourcerequirements.html}
@@ -168,6 +212,43 @@ export type InferenceComponentContainerSpecification = {
168
212
  */
169
213
  Image?: string;
170
214
  };
215
+ /**
216
+ * Type definition for `AWS::SageMaker::InferenceComponent.InferenceComponentDeploymentConfig`.
217
+ * The deployment config for the inference component
218
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentdeploymentconfig.html}
219
+ */
220
+ export type InferenceComponentDeploymentConfig = {
221
+ AutoRollbackConfiguration?: AutoRollbackConfiguration;
222
+ /**
223
+ * The rolling update policy for the inference component
224
+ */
225
+ RollingUpdatePolicy?: InferenceComponentRollingUpdatePolicy;
226
+ };
227
+ /**
228
+ * Type definition for `AWS::SageMaker::InferenceComponent.InferenceComponentRollingUpdatePolicy`.
229
+ * The rolling update policy for the inference component
230
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy.html}
231
+ */
232
+ export type InferenceComponentRollingUpdatePolicy = {
233
+ /**
234
+ * Capacity size configuration for the inference component
235
+ */
236
+ MaximumBatchSize?: InferenceComponentCapacitySize;
237
+ /**
238
+ * @min `600`
239
+ * @max `28800`
240
+ */
241
+ MaximumExecutionTimeoutInSeconds?: number;
242
+ /**
243
+ * Capacity size configuration for the inference component
244
+ */
245
+ RollbackMaximumBatchSize?: InferenceComponentCapacitySize;
246
+ /**
247
+ * @min `0`
248
+ * @max `3600`
249
+ */
250
+ WaitIntervalInSeconds?: number;
251
+ };
171
252
  /**
172
253
  * Type definition for `AWS::SageMaker::InferenceComponent.InferenceComponentRuntimeConfig`.
173
254
  * The runtime config for the inference component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.282",
3
+ "version": "0.1.283",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },