@awboost/cfn-resource-types 0.1.173 → 0.1.174

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,12 +5,29 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html}
6
6
  */
7
7
  export type SageMakerEndpointProperties = {
8
+ /**
9
+ * Specifies deployment configuration for updating the SageMaker endpoint. Includes rollback and update policies.
10
+ */
8
11
  DeploymentConfig?: DeploymentConfig;
12
+ /**
13
+ * The name of the endpoint configuration for the SageMaker endpoint. This is a required property.
14
+ */
9
15
  EndpointConfigName: string;
10
- EndpointName?: string;
16
+ /**
17
+ * Specifies a list of variant properties that you want to exclude when updating an endpoint.
18
+ */
11
19
  ExcludeRetainedVariantProperties?: VariantProperty[];
20
+ /**
21
+ * When set to true, retains all variant properties for an endpoint when it is updated.
22
+ */
12
23
  RetainAllVariantProperties?: boolean;
24
+ /**
25
+ * When set to true, retains the deployment configuration during endpoint updates.
26
+ */
13
27
  RetainDeploymentConfig?: boolean;
28
+ /**
29
+ * An array of key-value pairs to apply to this resource.
30
+ */
14
31
  Tags?: Tag[];
15
32
  };
16
33
  /**
@@ -18,13 +35,23 @@ export type SageMakerEndpointProperties = {
18
35
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#aws-resource-sagemaker-endpoint-return-values}
19
36
  */
20
37
  export type SageMakerEndpointAttributes = {
21
- Id: string;
38
+ /**
39
+ * The Amazon Resource Name (ARN) of the endpoint.
40
+ */
41
+ EndpointArn: string;
42
+ /**
43
+ * The name of the SageMaker endpoint. This name must be unique within an AWS Region.
44
+ */
45
+ EndpointName: string;
22
46
  };
23
47
  /**
24
48
  * Type definition for `AWS::SageMaker::Endpoint.Alarm`.
25
49
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-alarm.html}
26
50
  */
27
51
  export type Alarm = {
52
+ /**
53
+ * The name of the CloudWatch alarm.
54
+ */
28
55
  AlarmName: string;
29
56
  };
30
57
  /**
@@ -32,6 +59,9 @@ export type Alarm = {
32
59
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-autorollbackconfig.html}
33
60
  */
34
61
  export type AutoRollbackConfig = {
62
+ /**
63
+ * List of CloudWatch alarms to monitor during the deployment. If any alarm goes off, the deployment is rolled back.
64
+ */
35
65
  Alarms: Alarm[];
36
66
  };
37
67
  /**
@@ -39,8 +69,17 @@ export type AutoRollbackConfig = {
39
69
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-bluegreenupdatepolicy.html}
40
70
  */
41
71
  export type BlueGreenUpdatePolicy = {
72
+ /**
73
+ * The maximum time allowed for the blue/green update, in seconds.
74
+ */
42
75
  MaximumExecutionTimeoutInSeconds?: number;
76
+ /**
77
+ * The wait time before terminating the old endpoint during a blue/green deployment.
78
+ */
43
79
  TerminationWaitInSeconds?: number;
80
+ /**
81
+ * The traffic routing configuration for the blue/green deployment.
82
+ */
44
83
  TrafficRoutingConfiguration: TrafficRoutingConfig;
45
84
  };
46
85
  /**
@@ -48,7 +87,13 @@ export type BlueGreenUpdatePolicy = {
48
87
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-capacitysize.html}
49
88
  */
50
89
  export type CapacitySize = {
90
+ /**
91
+ * Specifies whether the `Value` is an instance count or a capacity unit.
92
+ */
51
93
  Type: string;
94
+ /**
95
+ * The value representing either the number of instances or the number of capacity units.
96
+ */
52
97
  Value: number;
53
98
  };
54
99
  /**
@@ -56,8 +101,17 @@ export type CapacitySize = {
56
101
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html}
57
102
  */
58
103
  export type DeploymentConfig = {
104
+ /**
105
+ * Configuration for automatic rollback if an error occurs during deployment.
106
+ */
59
107
  AutoRollbackConfiguration?: AutoRollbackConfig;
108
+ /**
109
+ * Configuration for blue-green update deployment policies.
110
+ */
60
111
  BlueGreenUpdatePolicy?: BlueGreenUpdatePolicy;
112
+ /**
113
+ * Configuration for rolling update deployment policies.
114
+ */
61
115
  RollingUpdatePolicy?: RollingUpdatePolicy;
62
116
  };
63
117
  /**
@@ -65,9 +119,21 @@ export type DeploymentConfig = {
65
119
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-rollingupdatepolicy.html}
66
120
  */
67
121
  export type RollingUpdatePolicy = {
122
+ /**
123
+ * Specifies the maximum batch size for each rolling update.
124
+ */
68
125
  MaximumBatchSize: CapacitySize;
126
+ /**
127
+ * The maximum time allowed for the rolling update, in seconds.
128
+ */
69
129
  MaximumExecutionTimeoutInSeconds?: number;
130
+ /**
131
+ * The maximum batch size for rollback during an update failure.
132
+ */
70
133
  RollbackMaximumBatchSize?: CapacitySize;
134
+ /**
135
+ * The time to wait between steps during the rolling update, in seconds.
136
+ */
71
137
  WaitIntervalInSeconds: number;
72
138
  };
73
139
  /**
@@ -75,7 +141,13 @@ export type RollingUpdatePolicy = {
75
141
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-tag.html}
76
142
  */
77
143
  export type Tag = {
144
+ /**
145
+ * The key of the tag.
146
+ */
78
147
  Key: string;
148
+ /**
149
+ * The value of the tag.
150
+ */
79
151
  Value: string;
80
152
  };
81
153
  /**
@@ -83,9 +155,21 @@ export type Tag = {
83
155
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-trafficroutingconfig.html}
84
156
  */
85
157
  export type TrafficRoutingConfig = {
158
+ /**
159
+ * Specifies the size of the canary traffic in a canary deployment.
160
+ */
86
161
  CanarySize?: CapacitySize;
162
+ /**
163
+ * Specifies the step size for linear traffic routing.
164
+ */
87
165
  LinearStepSize?: CapacitySize;
166
+ /**
167
+ * Specifies the type of traffic routing (e.g., 'AllAtOnce', 'Canary', 'Linear').
168
+ */
88
169
  Type: string;
170
+ /**
171
+ * Specifies the wait interval between traffic shifts, in seconds.
172
+ */
89
173
  WaitIntervalInSeconds?: number;
90
174
  };
91
175
  /**
@@ -93,6 +177,9 @@ export type TrafficRoutingConfig = {
93
177
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html}
94
178
  */
95
179
  export type VariantProperty = {
180
+ /**
181
+ * The type of variant property (e.g., 'DesiredInstanceCount', 'DesiredWeight', 'DataCaptureConfig').
182
+ */
96
183
  VariantPropertyType?: string;
97
184
  };
98
185
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.173",
3
+ "version": "0.1.174",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },