@awboost/cfn-resource-types 0.1.137 → 0.1.139
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.
- package/lib/AWS-Amplify-App.d.ts +8 -0
- package/lib/AWS-ECS-TaskDefinition.d.ts +53 -32
- package/lib/AWS-MediaConnect-Flow.d.ts +15 -0
- package/lib/AWS-MediaLive-ChannelPlacementGroup.d.ts +70 -0
- package/lib/AWS-MediaLive-ChannelPlacementGroup.js +12 -0
- package/lib/AWS-MediaLive-CloudWatchAlarmTemplate.d.ts +139 -0
- package/lib/AWS-MediaLive-CloudWatchAlarmTemplate.js +12 -0
- package/lib/AWS-MediaLive-CloudWatchAlarmTemplateGroup.d.ts +61 -0
- package/lib/AWS-MediaLive-CloudWatchAlarmTemplateGroup.js +12 -0
- package/lib/AWS-MediaLive-Cluster.d.ts +112 -0
- package/lib/AWS-MediaLive-Cluster.js +12 -0
- package/lib/AWS-MediaLive-EventBridgeRuleTemplate.d.ts +110 -0
- package/lib/AWS-MediaLive-EventBridgeRuleTemplate.js +12 -0
- package/lib/AWS-MediaLive-EventBridgeRuleTemplateGroup.d.ts +61 -0
- package/lib/AWS-MediaLive-EventBridgeRuleTemplateGroup.js +12 -0
- package/lib/AWS-MediaLive-Network.d.ts +91 -0
- package/lib/AWS-MediaLive-Network.js +12 -0
- package/lib/AWS-MediaLive-SdiSource.d.ts +82 -0
- package/lib/AWS-MediaLive-SdiSource.js +12 -0
- package/lib/AWS-MediaLive-SignalMap.d.ts +307 -0
- package/lib/AWS-MediaLive-SignalMap.js +12 -0
- package/lib/AWS-PCAConnectorSCEP-Challenge.d.ts +43 -0
- package/lib/AWS-PCAConnectorSCEP-Challenge.js +13 -0
- package/lib/AWS-PCAConnectorSCEP-Connector.d.ts +94 -0
- package/lib/AWS-PCAConnectorSCEP-Connector.js +13 -0
- package/lib/AWS-QuickSight-Analysis.d.ts +13 -0
- package/lib/AWS-QuickSight-Template.d.ts +13 -0
- package/lib/AWS-SNS-Subscription.d.ts +41 -5
- package/lib/AWS-SageMaker-Cluster.d.ts +241 -0
- package/lib/AWS-SageMaker-Cluster.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::SageMaker::Cluster
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SageMakerClusterProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the HyperPod Cluster.
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `63`
|
|
12
|
+
* @pattern `^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$`
|
|
13
|
+
*/
|
|
14
|
+
ClusterName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The instance groups of the SageMaker HyperPod cluster.
|
|
17
|
+
* @minLength `1`
|
|
18
|
+
*/
|
|
19
|
+
InstanceGroups: ClusterInstanceGroup[];
|
|
20
|
+
/**
|
|
21
|
+
* If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
|
|
22
|
+
*/
|
|
23
|
+
NodeRecovery?: "Automatic" | "None";
|
|
24
|
+
/**
|
|
25
|
+
* Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.
|
|
26
|
+
*/
|
|
27
|
+
Orchestrator?: Orchestrator;
|
|
28
|
+
/**
|
|
29
|
+
* Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
|
|
30
|
+
* @maxLength `50`
|
|
31
|
+
*/
|
|
32
|
+
Tags?: Tag[];
|
|
33
|
+
/**
|
|
34
|
+
* Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC.
|
|
35
|
+
*/
|
|
36
|
+
VpcConfig?: VpcConfig;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Attribute type definition for `AWS::SageMaker::Cluster`.
|
|
40
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html#aws-resource-sagemaker-cluster-return-values}
|
|
41
|
+
*/
|
|
42
|
+
export type SageMakerClusterAttributes = {
|
|
43
|
+
/**
|
|
44
|
+
* The Amazon Resource Name (ARN) of the HyperPod Cluster.
|
|
45
|
+
* @maxLength `256`
|
|
46
|
+
* @pattern `^arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:cluster/[a-z0-9]{12}$`
|
|
47
|
+
*/
|
|
48
|
+
ClusterArn: string;
|
|
49
|
+
/**
|
|
50
|
+
* The status of the HyperPod Cluster.
|
|
51
|
+
*/
|
|
52
|
+
ClusterStatus: "Creating" | "Deleting" | "Failed" | "InService" | "RollingBack" | "SystemUpdating" | "Updating";
|
|
53
|
+
/**
|
|
54
|
+
* The time at which the HyperPod cluster was created.
|
|
55
|
+
*/
|
|
56
|
+
CreationTime: string;
|
|
57
|
+
/**
|
|
58
|
+
* The failure message of the HyperPod Cluster.
|
|
59
|
+
*/
|
|
60
|
+
FailureMessage: string;
|
|
61
|
+
/**
|
|
62
|
+
* The instance groups of the SageMaker HyperPod cluster.
|
|
63
|
+
* @minLength `1`
|
|
64
|
+
*/
|
|
65
|
+
InstanceGroups: {
|
|
66
|
+
/**
|
|
67
|
+
* The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
|
|
68
|
+
* @min `0`
|
|
69
|
+
*/
|
|
70
|
+
CurrentCount: number;
|
|
71
|
+
}[];
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Type definition for `AWS::SageMaker::Cluster.ClusterEbsVolumeConfig`.
|
|
75
|
+
* Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
|
|
76
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterebsvolumeconfig.html}
|
|
77
|
+
*/
|
|
78
|
+
export type ClusterEbsVolumeConfig = {
|
|
79
|
+
/**
|
|
80
|
+
* The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
|
|
81
|
+
* @min `1`
|
|
82
|
+
* @max `16384`
|
|
83
|
+
*/
|
|
84
|
+
VolumeSizeInGB?: number;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Type definition for `AWS::SageMaker::Cluster.ClusterInstanceGroup`.
|
|
88
|
+
* Details of an instance group in a SageMaker HyperPod cluster.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html}
|
|
90
|
+
*/
|
|
91
|
+
export type ClusterInstanceGroup = {
|
|
92
|
+
/**
|
|
93
|
+
* The execution role for the instance group to assume.
|
|
94
|
+
* @minLength `20`
|
|
95
|
+
* @maxLength `2048`
|
|
96
|
+
* @pattern `^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$`
|
|
97
|
+
*/
|
|
98
|
+
ExecutionRole: string;
|
|
99
|
+
/**
|
|
100
|
+
* The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
|
|
101
|
+
* @min `1`
|
|
102
|
+
*/
|
|
103
|
+
InstanceCount: number;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the instance group of a SageMaker HyperPod cluster.
|
|
106
|
+
* @minLength `1`
|
|
107
|
+
* @maxLength `63`
|
|
108
|
+
* @pattern `^[a-zA-Z0-9](-*[a-zA-Z0-9])*$`
|
|
109
|
+
*/
|
|
110
|
+
InstanceGroupName: string;
|
|
111
|
+
/**
|
|
112
|
+
* The instance storage configuration for the instance group.
|
|
113
|
+
* @maxLength `1`
|
|
114
|
+
*/
|
|
115
|
+
InstanceStorageConfigs?: ClusterInstanceStorageConfig[];
|
|
116
|
+
/**
|
|
117
|
+
* The instance type of the instance group of a SageMaker HyperPod cluster.
|
|
118
|
+
*/
|
|
119
|
+
InstanceType: string;
|
|
120
|
+
/**
|
|
121
|
+
* The lifecycle configuration for a SageMaker HyperPod cluster.
|
|
122
|
+
*/
|
|
123
|
+
LifeCycleConfig: ClusterLifeCycleConfig;
|
|
124
|
+
/**
|
|
125
|
+
* Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in.
|
|
126
|
+
*/
|
|
127
|
+
OnStartDeepHealthChecks?: DeepHealthCheckType[];
|
|
128
|
+
/**
|
|
129
|
+
* The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
|
|
130
|
+
* @min `1`
|
|
131
|
+
* @max `2`
|
|
132
|
+
*/
|
|
133
|
+
ThreadsPerCore?: number;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Type definition for `AWS::SageMaker::Cluster.ClusterInstanceStorageConfig`.
|
|
137
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancestorageconfig.html}
|
|
138
|
+
*/
|
|
139
|
+
export type ClusterInstanceStorageConfig = {
|
|
140
|
+
/**
|
|
141
|
+
* Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
|
|
142
|
+
*/
|
|
143
|
+
EbsVolumeConfig?: ClusterEbsVolumeConfig;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Type definition for `AWS::SageMaker::Cluster.ClusterLifeCycleConfig`.
|
|
147
|
+
* The lifecycle configuration for a SageMaker HyperPod cluster.
|
|
148
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterlifecycleconfig.html}
|
|
149
|
+
*/
|
|
150
|
+
export type ClusterLifeCycleConfig = {
|
|
151
|
+
/**
|
|
152
|
+
* The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
|
|
153
|
+
* @minLength `1`
|
|
154
|
+
* @maxLength `128`
|
|
155
|
+
* @pattern `^[\S\s]+$`
|
|
156
|
+
*/
|
|
157
|
+
OnCreate: string;
|
|
158
|
+
/**
|
|
159
|
+
* An Amazon S3 bucket path where your lifecycle scripts are stored.
|
|
160
|
+
* @maxLength `1024`
|
|
161
|
+
* @pattern `^(https|s3)://([^/]+)/?(.*)$`
|
|
162
|
+
*/
|
|
163
|
+
SourceS3Uri: string;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Type definition for `AWS::SageMaker::Cluster.ClusterOrchestratorEksConfig`.
|
|
167
|
+
* Specifies parameter(s) related to EKS as orchestrator, e.g. the EKS cluster nodes will attach to,
|
|
168
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterorchestratoreksconfig.html}
|
|
169
|
+
*/
|
|
170
|
+
export type ClusterOrchestratorEksConfig = {
|
|
171
|
+
/**
|
|
172
|
+
* The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster
|
|
173
|
+
*/
|
|
174
|
+
ClusterArn: string;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Type definition for `AWS::SageMaker::Cluster.DeepHealthCheckType`.
|
|
178
|
+
* The type of deep health check(s) to be performed on the instances in the SageMaker HyperPod cluster instance group.
|
|
179
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-deephealthchecktype.html}
|
|
180
|
+
*/
|
|
181
|
+
export type DeepHealthCheckType = "InstanceStress" | "InstanceConnectivity";
|
|
182
|
+
/**
|
|
183
|
+
* Type definition for `AWS::SageMaker::Cluster.Orchestrator`.
|
|
184
|
+
* Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.
|
|
185
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-orchestrator.html}
|
|
186
|
+
*/
|
|
187
|
+
export type Orchestrator = {
|
|
188
|
+
/**
|
|
189
|
+
* Specifies parameter(s) related to EKS as orchestrator, e.g. the EKS cluster nodes will attach to,
|
|
190
|
+
*/
|
|
191
|
+
Eks: ClusterOrchestratorEksConfig;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Type definition for `AWS::SageMaker::Cluster.Tag`.
|
|
195
|
+
* A key-value pair to associate with a resource.
|
|
196
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-tag.html}
|
|
197
|
+
*/
|
|
198
|
+
export type Tag = {
|
|
199
|
+
/**
|
|
200
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
201
|
+
* @minLength `1`
|
|
202
|
+
* @maxLength `128`
|
|
203
|
+
* @pattern `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
|
|
204
|
+
*/
|
|
205
|
+
Key: string;
|
|
206
|
+
/**
|
|
207
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
208
|
+
* @minLength `0`
|
|
209
|
+
* @maxLength `256`
|
|
210
|
+
* @pattern `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
|
|
211
|
+
*/
|
|
212
|
+
Value: string;
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* Type definition for `AWS::SageMaker::Cluster.VpcConfig`.
|
|
216
|
+
* Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC.
|
|
217
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-vpcconfig.html}
|
|
218
|
+
*/
|
|
219
|
+
export type VpcConfig = {
|
|
220
|
+
/**
|
|
221
|
+
* The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
|
|
222
|
+
* @minLength `1`
|
|
223
|
+
* @maxLength `5`
|
|
224
|
+
*/
|
|
225
|
+
SecurityGroupIds: string[];
|
|
226
|
+
/**
|
|
227
|
+
* The ID of the subnets in the VPC to which you want to connect your training job or model.
|
|
228
|
+
* @minLength `1`
|
|
229
|
+
* @maxLength `16`
|
|
230
|
+
*/
|
|
231
|
+
Subnets: string[];
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* Resource Type definition for AWS::SageMaker::Cluster
|
|
235
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html}
|
|
236
|
+
*/
|
|
237
|
+
export declare class SageMakerCluster extends $Resource<"AWS::SageMaker::Cluster", SageMakerClusterProperties, SageMakerClusterAttributes> {
|
|
238
|
+
static readonly Type = "AWS::SageMaker::Cluster";
|
|
239
|
+
constructor(logicalId: string, properties: SageMakerClusterProperties, options?: $ResourceOptions);
|
|
240
|
+
}
|
|
241
|
+
//# sourceMappingURL=AWS-SageMaker-Cluster.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::SageMaker::Cluster
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SageMakerCluster extends $Resource {
|
|
7
|
+
static Type = "AWS::SageMaker::Cluster";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SageMakerCluster.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SageMaker-Cluster.js.map
|