ros-cdk-paiplugin 1.9.0__py3-none-any.whl
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.
- ros_cdk_paiplugin/__init__.py +4627 -0
- ros_cdk_paiplugin/_jsii/__init__.py +27 -0
- ros_cdk_paiplugin/_jsii/ros-cdk-paiplugin@1.9.0.jsii.tgz +0 -0
- ros_cdk_paiplugin/py.typed +1 -0
- ros_cdk_paiplugin-1.9.0.dist-info/LICENSE +73 -0
- ros_cdk_paiplugin-1.9.0.dist-info/METADATA +37 -0
- ros_cdk_paiplugin-1.9.0.dist-info/NOTICE +2 -0
- ros_cdk_paiplugin-1.9.0.dist-info/RECORD +10 -0
- ros_cdk_paiplugin-1.9.0.dist-info/WHEEL +5 -0
- ros_cdk_paiplugin-1.9.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,4627 @@
|
|
|
1
|
+
'''
|
|
2
|
+
## Aliyun ROS PAIPLUGIN Construct Library
|
|
3
|
+
|
|
4
|
+
This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
import * as PAIPLUGIN from '@alicloud/ros-cdk-paiplugin';
|
|
8
|
+
```
|
|
9
|
+
'''
|
|
10
|
+
import abc
|
|
11
|
+
import builtins
|
|
12
|
+
import datetime
|
|
13
|
+
import enum
|
|
14
|
+
import typing
|
|
15
|
+
|
|
16
|
+
import jsii
|
|
17
|
+
import publication
|
|
18
|
+
import typing_extensions
|
|
19
|
+
|
|
20
|
+
from typeguard import check_type
|
|
21
|
+
|
|
22
|
+
from ._jsii import *
|
|
23
|
+
|
|
24
|
+
import ros_cdk_core as _ros_cdk_core_7adfd82f
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@jsii.data_type(
|
|
28
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.CampaignProps",
|
|
29
|
+
jsii_struct_bases=[],
|
|
30
|
+
name_mapping={"name": "name", "remark": "remark"},
|
|
31
|
+
)
|
|
32
|
+
class CampaignProps:
|
|
33
|
+
def __init__(
|
|
34
|
+
self,
|
|
35
|
+
*,
|
|
36
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
37
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
38
|
+
) -> None:
|
|
39
|
+
'''Properties for defining a ``Campaign``.
|
|
40
|
+
|
|
41
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-campaign
|
|
42
|
+
|
|
43
|
+
:param name: Property name: The name of the campaign.
|
|
44
|
+
:param remark: Property remark: The remark of the campaign.
|
|
45
|
+
'''
|
|
46
|
+
if __debug__:
|
|
47
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f8e38e3cd88b8ac2db7f2d55350f92df7bad6c692f6d56decc6d8257578cad9d)
|
|
48
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
49
|
+
check_type(argname="argument remark", value=remark, expected_type=type_hints["remark"])
|
|
50
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
51
|
+
"name": name,
|
|
52
|
+
}
|
|
53
|
+
if remark is not None:
|
|
54
|
+
self._values["remark"] = remark
|
|
55
|
+
|
|
56
|
+
@builtins.property
|
|
57
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
58
|
+
'''Property name: The name of the campaign.'''
|
|
59
|
+
result = self._values.get("name")
|
|
60
|
+
assert result is not None, "Required property 'name' is missing"
|
|
61
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
62
|
+
|
|
63
|
+
@builtins.property
|
|
64
|
+
def remark(
|
|
65
|
+
self,
|
|
66
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
67
|
+
'''Property remark: The remark of the campaign.'''
|
|
68
|
+
result = self._values.get("remark")
|
|
69
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
70
|
+
|
|
71
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
72
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
73
|
+
|
|
74
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
75
|
+
return not (rhs == self)
|
|
76
|
+
|
|
77
|
+
def __repr__(self) -> str:
|
|
78
|
+
return "CampaignProps(%s)" % ", ".join(
|
|
79
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
@jsii.data_type(
|
|
84
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.GroupProps",
|
|
85
|
+
jsii_struct_bases=[],
|
|
86
|
+
name_mapping={
|
|
87
|
+
"name": "name",
|
|
88
|
+
"source": "source",
|
|
89
|
+
"algorithm": "algorithm",
|
|
90
|
+
"column": "column",
|
|
91
|
+
"filter": "filter",
|
|
92
|
+
"inference_job_id": "inferenceJobId",
|
|
93
|
+
"phone_number": "phoneNumber",
|
|
94
|
+
"project": "project",
|
|
95
|
+
"remark": "remark",
|
|
96
|
+
"table": "table",
|
|
97
|
+
"text": "text",
|
|
98
|
+
"uri": "uri",
|
|
99
|
+
},
|
|
100
|
+
)
|
|
101
|
+
class GroupProps:
|
|
102
|
+
def __init__(
|
|
103
|
+
self,
|
|
104
|
+
*,
|
|
105
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
106
|
+
source: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
107
|
+
algorithm: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
108
|
+
column: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
109
|
+
filter: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
110
|
+
inference_job_id: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
111
|
+
phone_number: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
112
|
+
project: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
113
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
114
|
+
table: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
115
|
+
text: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
116
|
+
uri: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
117
|
+
) -> None:
|
|
118
|
+
'''Properties for defining a ``Group``.
|
|
119
|
+
|
|
120
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-group
|
|
121
|
+
|
|
122
|
+
:param name: Property name: The name of the user group.
|
|
123
|
+
:param source: Property source: Crowd source. Valid values: 0: Enter phone numbers. 1: Single-column CSV File (Phone Numbers). 2: Multi-column CSV File. 3: MaxCompute Table. 4: Algorithm.
|
|
124
|
+
:param algorithm: Property algorithm: Association algorithm. This must be specified when Source is 4(Algorithm).
|
|
125
|
+
:param column: Property column: Mobile phone number column name. The Source is 2(Multi-column CSV File) or 3(MaxCompute Table) needs to be specified when it contains mobile phone numbers.
|
|
126
|
+
:param filter: Property filter: Filter condition. This condition can be specified when Source is 3(MaxCompute Table).
|
|
127
|
+
:param inference_job_id: Property inferenceJobId: Prediction task ID.This condition can be specified when Source is 4(Algorithm).
|
|
128
|
+
:param phone_number: Property phoneNumber: Whether to include mobile phone numbers. People with mobile phone numbers can be used for reach plans.
|
|
129
|
+
:param project: Property project: MaxCompute (ODPS) project name. This parameter must be specified when Source is 3(MaxCompute Table).
|
|
130
|
+
:param remark: Property remark: The notes of the user group.
|
|
131
|
+
:param table: Property table: MaxCompute (ODPS) table name. This parameter must be specified when Source is 3(MaxCompute Table).
|
|
132
|
+
:param text: Property text: The text of the phone number. This must be specified when Source is 0(Enter phone numbers).
|
|
133
|
+
:param uri: Property uri: File address. It needs to be specified when Source is 1(Single-column CSV File) or 2(Multi-column CSV File).
|
|
134
|
+
'''
|
|
135
|
+
if __debug__:
|
|
136
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f4a139daa3fd704c40fc628a17bb5101a8c0d7ad10972fdb6b4cbec6aaad5058)
|
|
137
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
138
|
+
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
139
|
+
check_type(argname="argument algorithm", value=algorithm, expected_type=type_hints["algorithm"])
|
|
140
|
+
check_type(argname="argument column", value=column, expected_type=type_hints["column"])
|
|
141
|
+
check_type(argname="argument filter", value=filter, expected_type=type_hints["filter"])
|
|
142
|
+
check_type(argname="argument inference_job_id", value=inference_job_id, expected_type=type_hints["inference_job_id"])
|
|
143
|
+
check_type(argname="argument phone_number", value=phone_number, expected_type=type_hints["phone_number"])
|
|
144
|
+
check_type(argname="argument project", value=project, expected_type=type_hints["project"])
|
|
145
|
+
check_type(argname="argument remark", value=remark, expected_type=type_hints["remark"])
|
|
146
|
+
check_type(argname="argument table", value=table, expected_type=type_hints["table"])
|
|
147
|
+
check_type(argname="argument text", value=text, expected_type=type_hints["text"])
|
|
148
|
+
check_type(argname="argument uri", value=uri, expected_type=type_hints["uri"])
|
|
149
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
150
|
+
"name": name,
|
|
151
|
+
"source": source,
|
|
152
|
+
}
|
|
153
|
+
if algorithm is not None:
|
|
154
|
+
self._values["algorithm"] = algorithm
|
|
155
|
+
if column is not None:
|
|
156
|
+
self._values["column"] = column
|
|
157
|
+
if filter is not None:
|
|
158
|
+
self._values["filter"] = filter
|
|
159
|
+
if inference_job_id is not None:
|
|
160
|
+
self._values["inference_job_id"] = inference_job_id
|
|
161
|
+
if phone_number is not None:
|
|
162
|
+
self._values["phone_number"] = phone_number
|
|
163
|
+
if project is not None:
|
|
164
|
+
self._values["project"] = project
|
|
165
|
+
if remark is not None:
|
|
166
|
+
self._values["remark"] = remark
|
|
167
|
+
if table is not None:
|
|
168
|
+
self._values["table"] = table
|
|
169
|
+
if text is not None:
|
|
170
|
+
self._values["text"] = text
|
|
171
|
+
if uri is not None:
|
|
172
|
+
self._values["uri"] = uri
|
|
173
|
+
|
|
174
|
+
@builtins.property
|
|
175
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
176
|
+
'''Property name: The name of the user group.'''
|
|
177
|
+
result = self._values.get("name")
|
|
178
|
+
assert result is not None, "Required property 'name' is missing"
|
|
179
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
180
|
+
|
|
181
|
+
@builtins.property
|
|
182
|
+
def source(self) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
183
|
+
'''Property source: Crowd source.
|
|
184
|
+
|
|
185
|
+
Valid values:
|
|
186
|
+
0: Enter phone numbers.
|
|
187
|
+
1: Single-column CSV File (Phone Numbers).
|
|
188
|
+
2: Multi-column CSV File.
|
|
189
|
+
3: MaxCompute Table.
|
|
190
|
+
4: Algorithm.
|
|
191
|
+
'''
|
|
192
|
+
result = self._values.get("source")
|
|
193
|
+
assert result is not None, "Required property 'source' is missing"
|
|
194
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
195
|
+
|
|
196
|
+
@builtins.property
|
|
197
|
+
def algorithm(
|
|
198
|
+
self,
|
|
199
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
200
|
+
'''Property algorithm: Association algorithm.
|
|
201
|
+
|
|
202
|
+
This must be specified when Source is 4(Algorithm).
|
|
203
|
+
'''
|
|
204
|
+
result = self._values.get("algorithm")
|
|
205
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
206
|
+
|
|
207
|
+
@builtins.property
|
|
208
|
+
def column(
|
|
209
|
+
self,
|
|
210
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
211
|
+
'''Property column: Mobile phone number column name.
|
|
212
|
+
|
|
213
|
+
The Source is 2(Multi-column CSV File) or 3(MaxCompute Table) needs to be specified when it contains mobile phone numbers.
|
|
214
|
+
'''
|
|
215
|
+
result = self._values.get("column")
|
|
216
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
217
|
+
|
|
218
|
+
@builtins.property
|
|
219
|
+
def filter(
|
|
220
|
+
self,
|
|
221
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
222
|
+
'''Property filter: Filter condition.
|
|
223
|
+
|
|
224
|
+
This condition can be specified when Source is 3(MaxCompute Table).
|
|
225
|
+
'''
|
|
226
|
+
result = self._values.get("filter")
|
|
227
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
228
|
+
|
|
229
|
+
@builtins.property
|
|
230
|
+
def inference_job_id(
|
|
231
|
+
self,
|
|
232
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
233
|
+
'''Property inferenceJobId: Prediction task ID.This condition can be specified when Source is 4(Algorithm).'''
|
|
234
|
+
result = self._values.get("inference_job_id")
|
|
235
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
236
|
+
|
|
237
|
+
@builtins.property
|
|
238
|
+
def phone_number(
|
|
239
|
+
self,
|
|
240
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
241
|
+
'''Property phoneNumber: Whether to include mobile phone numbers.
|
|
242
|
+
|
|
243
|
+
People with mobile phone numbers can be used for reach plans.
|
|
244
|
+
'''
|
|
245
|
+
result = self._values.get("phone_number")
|
|
246
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
247
|
+
|
|
248
|
+
@builtins.property
|
|
249
|
+
def project(
|
|
250
|
+
self,
|
|
251
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
252
|
+
'''Property project: MaxCompute (ODPS) project name.
|
|
253
|
+
|
|
254
|
+
This parameter must be specified when Source is 3(MaxCompute Table).
|
|
255
|
+
'''
|
|
256
|
+
result = self._values.get("project")
|
|
257
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
258
|
+
|
|
259
|
+
@builtins.property
|
|
260
|
+
def remark(
|
|
261
|
+
self,
|
|
262
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
263
|
+
'''Property remark: The notes of the user group.'''
|
|
264
|
+
result = self._values.get("remark")
|
|
265
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
266
|
+
|
|
267
|
+
@builtins.property
|
|
268
|
+
def table(
|
|
269
|
+
self,
|
|
270
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
271
|
+
'''Property table: MaxCompute (ODPS) table name.
|
|
272
|
+
|
|
273
|
+
This parameter must be specified when Source is 3(MaxCompute Table).
|
|
274
|
+
'''
|
|
275
|
+
result = self._values.get("table")
|
|
276
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
277
|
+
|
|
278
|
+
@builtins.property
|
|
279
|
+
def text(
|
|
280
|
+
self,
|
|
281
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
282
|
+
'''Property text: The text of the phone number.
|
|
283
|
+
|
|
284
|
+
This must be specified when Source is 0(Enter phone numbers).
|
|
285
|
+
'''
|
|
286
|
+
result = self._values.get("text")
|
|
287
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
288
|
+
|
|
289
|
+
@builtins.property
|
|
290
|
+
def uri(
|
|
291
|
+
self,
|
|
292
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
293
|
+
'''Property uri: File address.
|
|
294
|
+
|
|
295
|
+
It needs to be specified when Source is 1(Single-column CSV File) or 2(Multi-column CSV File).
|
|
296
|
+
'''
|
|
297
|
+
result = self._values.get("uri")
|
|
298
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
299
|
+
|
|
300
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
301
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
302
|
+
|
|
303
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
304
|
+
return not (rhs == self)
|
|
305
|
+
|
|
306
|
+
def __repr__(self) -> str:
|
|
307
|
+
return "GroupProps(%s)" % ", ".join(
|
|
308
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
309
|
+
)
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
@jsii.interface(jsii_type="@alicloud/ros-cdk-paiplugin.ICampaign")
|
|
313
|
+
class ICampaign(_ros_cdk_core_7adfd82f.IResource, typing_extensions.Protocol):
|
|
314
|
+
'''Represents a ``Campaign``.'''
|
|
315
|
+
|
|
316
|
+
@builtins.property
|
|
317
|
+
@jsii.member(jsii_name="attrCampaignId")
|
|
318
|
+
def attr_campaign_id(
|
|
319
|
+
self,
|
|
320
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
321
|
+
'''Attribute CampaignId: The Campaign ID created this time.'''
|
|
322
|
+
...
|
|
323
|
+
|
|
324
|
+
@builtins.property
|
|
325
|
+
@jsii.member(jsii_name="props")
|
|
326
|
+
def props(self) -> CampaignProps:
|
|
327
|
+
...
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
class _ICampaignProxy(
|
|
331
|
+
jsii.proxy_for(_ros_cdk_core_7adfd82f.IResource), # type: ignore[misc]
|
|
332
|
+
):
|
|
333
|
+
'''Represents a ``Campaign``.'''
|
|
334
|
+
|
|
335
|
+
__jsii_type__: typing.ClassVar[str] = "@alicloud/ros-cdk-paiplugin.ICampaign"
|
|
336
|
+
|
|
337
|
+
@builtins.property
|
|
338
|
+
@jsii.member(jsii_name="attrCampaignId")
|
|
339
|
+
def attr_campaign_id(
|
|
340
|
+
self,
|
|
341
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
342
|
+
'''Attribute CampaignId: The Campaign ID created this time.'''
|
|
343
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrCampaignId"))
|
|
344
|
+
|
|
345
|
+
@builtins.property
|
|
346
|
+
@jsii.member(jsii_name="props")
|
|
347
|
+
def props(self) -> CampaignProps:
|
|
348
|
+
return typing.cast(CampaignProps, jsii.get(self, "props"))
|
|
349
|
+
|
|
350
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
351
|
+
typing.cast(typing.Any, ICampaign).__jsii_proxy_class__ = lambda : _ICampaignProxy
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
@jsii.interface(jsii_type="@alicloud/ros-cdk-paiplugin.IGroup")
|
|
355
|
+
class IGroup(_ros_cdk_core_7adfd82f.IResource, typing_extensions.Protocol):
|
|
356
|
+
'''Represents a ``Group``.'''
|
|
357
|
+
|
|
358
|
+
@builtins.property
|
|
359
|
+
@jsii.member(jsii_name="attrAmount")
|
|
360
|
+
def attr_amount(
|
|
361
|
+
self,
|
|
362
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
363
|
+
'''Attribute Amount: The number of the user group.'''
|
|
364
|
+
...
|
|
365
|
+
|
|
366
|
+
@builtins.property
|
|
367
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
368
|
+
def attr_created_time(
|
|
369
|
+
self,
|
|
370
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
371
|
+
'''Attribute CreatedTime: The creation time of the user group.'''
|
|
372
|
+
...
|
|
373
|
+
|
|
374
|
+
@builtins.property
|
|
375
|
+
@jsii.member(jsii_name="attrId")
|
|
376
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
377
|
+
'''Attribute Id: The ID of the user group.'''
|
|
378
|
+
...
|
|
379
|
+
|
|
380
|
+
@builtins.property
|
|
381
|
+
@jsii.member(jsii_name="attrName")
|
|
382
|
+
def attr_name(
|
|
383
|
+
self,
|
|
384
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
385
|
+
'''Attribute Name: The name of the user group.'''
|
|
386
|
+
...
|
|
387
|
+
|
|
388
|
+
@builtins.property
|
|
389
|
+
@jsii.member(jsii_name="props")
|
|
390
|
+
def props(self) -> GroupProps:
|
|
391
|
+
...
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
class _IGroupProxy(
|
|
395
|
+
jsii.proxy_for(_ros_cdk_core_7adfd82f.IResource), # type: ignore[misc]
|
|
396
|
+
):
|
|
397
|
+
'''Represents a ``Group``.'''
|
|
398
|
+
|
|
399
|
+
__jsii_type__: typing.ClassVar[str] = "@alicloud/ros-cdk-paiplugin.IGroup"
|
|
400
|
+
|
|
401
|
+
@builtins.property
|
|
402
|
+
@jsii.member(jsii_name="attrAmount")
|
|
403
|
+
def attr_amount(
|
|
404
|
+
self,
|
|
405
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
406
|
+
'''Attribute Amount: The number of the user group.'''
|
|
407
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrAmount"))
|
|
408
|
+
|
|
409
|
+
@builtins.property
|
|
410
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
411
|
+
def attr_created_time(
|
|
412
|
+
self,
|
|
413
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
414
|
+
'''Attribute CreatedTime: The creation time of the user group.'''
|
|
415
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrCreatedTime"))
|
|
416
|
+
|
|
417
|
+
@builtins.property
|
|
418
|
+
@jsii.member(jsii_name="attrId")
|
|
419
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
420
|
+
'''Attribute Id: The ID of the user group.'''
|
|
421
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrId"))
|
|
422
|
+
|
|
423
|
+
@builtins.property
|
|
424
|
+
@jsii.member(jsii_name="attrName")
|
|
425
|
+
def attr_name(
|
|
426
|
+
self,
|
|
427
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
428
|
+
'''Attribute Name: The name of the user group.'''
|
|
429
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrName"))
|
|
430
|
+
|
|
431
|
+
@builtins.property
|
|
432
|
+
@jsii.member(jsii_name="props")
|
|
433
|
+
def props(self) -> GroupProps:
|
|
434
|
+
return typing.cast(GroupProps, jsii.get(self, "props"))
|
|
435
|
+
|
|
436
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
437
|
+
typing.cast(typing.Any, IGroup).__jsii_proxy_class__ = lambda : _IGroupProxy
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
@jsii.interface(jsii_type="@alicloud/ros-cdk-paiplugin.IInferenceJob")
|
|
441
|
+
class IInferenceJob(_ros_cdk_core_7adfd82f.IResource, typing_extensions.Protocol):
|
|
442
|
+
'''Represents a ``InferenceJob``.'''
|
|
443
|
+
|
|
444
|
+
@builtins.property
|
|
445
|
+
@jsii.member(jsii_name="attrGroupId")
|
|
446
|
+
def attr_group_id(
|
|
447
|
+
self,
|
|
448
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
449
|
+
'''Attribute GroupId: The related group id of infernce job result.'''
|
|
450
|
+
...
|
|
451
|
+
|
|
452
|
+
@builtins.property
|
|
453
|
+
@jsii.member(jsii_name="attrInferenceJobId")
|
|
454
|
+
def attr_inference_job_id(
|
|
455
|
+
self,
|
|
456
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
457
|
+
'''Attribute InferenceJobId: The id of inference job.'''
|
|
458
|
+
...
|
|
459
|
+
|
|
460
|
+
@builtins.property
|
|
461
|
+
@jsii.member(jsii_name="props")
|
|
462
|
+
def props(self) -> "InferenceJobProps":
|
|
463
|
+
...
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
class _IInferenceJobProxy(
|
|
467
|
+
jsii.proxy_for(_ros_cdk_core_7adfd82f.IResource), # type: ignore[misc]
|
|
468
|
+
):
|
|
469
|
+
'''Represents a ``InferenceJob``.'''
|
|
470
|
+
|
|
471
|
+
__jsii_type__: typing.ClassVar[str] = "@alicloud/ros-cdk-paiplugin.IInferenceJob"
|
|
472
|
+
|
|
473
|
+
@builtins.property
|
|
474
|
+
@jsii.member(jsii_name="attrGroupId")
|
|
475
|
+
def attr_group_id(
|
|
476
|
+
self,
|
|
477
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
478
|
+
'''Attribute GroupId: The related group id of infernce job result.'''
|
|
479
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrGroupId"))
|
|
480
|
+
|
|
481
|
+
@builtins.property
|
|
482
|
+
@jsii.member(jsii_name="attrInferenceJobId")
|
|
483
|
+
def attr_inference_job_id(
|
|
484
|
+
self,
|
|
485
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
486
|
+
'''Attribute InferenceJobId: The id of inference job.'''
|
|
487
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrInferenceJobId"))
|
|
488
|
+
|
|
489
|
+
@builtins.property
|
|
490
|
+
@jsii.member(jsii_name="props")
|
|
491
|
+
def props(self) -> "InferenceJobProps":
|
|
492
|
+
return typing.cast("InferenceJobProps", jsii.get(self, "props"))
|
|
493
|
+
|
|
494
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
495
|
+
typing.cast(typing.Any, IInferenceJob).__jsii_proxy_class__ = lambda : _IInferenceJobProxy
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
@jsii.interface(jsii_type="@alicloud/ros-cdk-paiplugin.ISignature")
|
|
499
|
+
class ISignature(_ros_cdk_core_7adfd82f.IResource, typing_extensions.Protocol):
|
|
500
|
+
'''Represents a ``Signature``.'''
|
|
501
|
+
|
|
502
|
+
@builtins.property
|
|
503
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
504
|
+
def attr_created_time(
|
|
505
|
+
self,
|
|
506
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
507
|
+
'''Attribute CreatedTime: The creation time of the Signature.'''
|
|
508
|
+
...
|
|
509
|
+
|
|
510
|
+
@builtins.property
|
|
511
|
+
@jsii.member(jsii_name="attrDescription")
|
|
512
|
+
def attr_description(
|
|
513
|
+
self,
|
|
514
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
515
|
+
'''Attribute Description: Application instructions.'''
|
|
516
|
+
...
|
|
517
|
+
|
|
518
|
+
@builtins.property
|
|
519
|
+
@jsii.member(jsii_name="attrId")
|
|
520
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
521
|
+
'''Attribute Id: The ID of the Signature.'''
|
|
522
|
+
...
|
|
523
|
+
|
|
524
|
+
@builtins.property
|
|
525
|
+
@jsii.member(jsii_name="attrName")
|
|
526
|
+
def attr_name(
|
|
527
|
+
self,
|
|
528
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
529
|
+
'''Attribute Name: The name of the Signature.'''
|
|
530
|
+
...
|
|
531
|
+
|
|
532
|
+
@builtins.property
|
|
533
|
+
@jsii.member(jsii_name="attrReason")
|
|
534
|
+
def attr_reason(
|
|
535
|
+
self,
|
|
536
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
537
|
+
'''Attribute Reason: Review recommendations.'''
|
|
538
|
+
...
|
|
539
|
+
|
|
540
|
+
@builtins.property
|
|
541
|
+
@jsii.member(jsii_name="props")
|
|
542
|
+
def props(self) -> "SignatureProps":
|
|
543
|
+
...
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
class _ISignatureProxy(
|
|
547
|
+
jsii.proxy_for(_ros_cdk_core_7adfd82f.IResource), # type: ignore[misc]
|
|
548
|
+
):
|
|
549
|
+
'''Represents a ``Signature``.'''
|
|
550
|
+
|
|
551
|
+
__jsii_type__: typing.ClassVar[str] = "@alicloud/ros-cdk-paiplugin.ISignature"
|
|
552
|
+
|
|
553
|
+
@builtins.property
|
|
554
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
555
|
+
def attr_created_time(
|
|
556
|
+
self,
|
|
557
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
558
|
+
'''Attribute CreatedTime: The creation time of the Signature.'''
|
|
559
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrCreatedTime"))
|
|
560
|
+
|
|
561
|
+
@builtins.property
|
|
562
|
+
@jsii.member(jsii_name="attrDescription")
|
|
563
|
+
def attr_description(
|
|
564
|
+
self,
|
|
565
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
566
|
+
'''Attribute Description: Application instructions.'''
|
|
567
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrDescription"))
|
|
568
|
+
|
|
569
|
+
@builtins.property
|
|
570
|
+
@jsii.member(jsii_name="attrId")
|
|
571
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
572
|
+
'''Attribute Id: The ID of the Signature.'''
|
|
573
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrId"))
|
|
574
|
+
|
|
575
|
+
@builtins.property
|
|
576
|
+
@jsii.member(jsii_name="attrName")
|
|
577
|
+
def attr_name(
|
|
578
|
+
self,
|
|
579
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
580
|
+
'''Attribute Name: The name of the Signature.'''
|
|
581
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrName"))
|
|
582
|
+
|
|
583
|
+
@builtins.property
|
|
584
|
+
@jsii.member(jsii_name="attrReason")
|
|
585
|
+
def attr_reason(
|
|
586
|
+
self,
|
|
587
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
588
|
+
'''Attribute Reason: Review recommendations.'''
|
|
589
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrReason"))
|
|
590
|
+
|
|
591
|
+
@builtins.property
|
|
592
|
+
@jsii.member(jsii_name="props")
|
|
593
|
+
def props(self) -> "SignatureProps":
|
|
594
|
+
return typing.cast("SignatureProps", jsii.get(self, "props"))
|
|
595
|
+
|
|
596
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
597
|
+
typing.cast(typing.Any, ISignature).__jsii_proxy_class__ = lambda : _ISignatureProxy
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
@jsii.interface(jsii_type="@alicloud/ros-cdk-paiplugin.ITemplate")
|
|
601
|
+
class ITemplate(_ros_cdk_core_7adfd82f.IResource, typing_extensions.Protocol):
|
|
602
|
+
'''Represents a ``Template``.'''
|
|
603
|
+
|
|
604
|
+
@builtins.property
|
|
605
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
606
|
+
def attr_created_time(
|
|
607
|
+
self,
|
|
608
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
609
|
+
'''Attribute CreatedTime: The creation time of the Signature.'''
|
|
610
|
+
...
|
|
611
|
+
|
|
612
|
+
@builtins.property
|
|
613
|
+
@jsii.member(jsii_name="attrDescription")
|
|
614
|
+
def attr_description(
|
|
615
|
+
self,
|
|
616
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
617
|
+
'''Attribute Description: Application instructions.'''
|
|
618
|
+
...
|
|
619
|
+
|
|
620
|
+
@builtins.property
|
|
621
|
+
@jsii.member(jsii_name="attrId")
|
|
622
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
623
|
+
'''Attribute Id: The ID of the Signature.'''
|
|
624
|
+
...
|
|
625
|
+
|
|
626
|
+
@builtins.property
|
|
627
|
+
@jsii.member(jsii_name="attrName")
|
|
628
|
+
def attr_name(
|
|
629
|
+
self,
|
|
630
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
631
|
+
'''Attribute Name: The name of the Signature.'''
|
|
632
|
+
...
|
|
633
|
+
|
|
634
|
+
@builtins.property
|
|
635
|
+
@jsii.member(jsii_name="attrReason")
|
|
636
|
+
def attr_reason(
|
|
637
|
+
self,
|
|
638
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
639
|
+
'''Attribute Reason: Review recommendations.'''
|
|
640
|
+
...
|
|
641
|
+
|
|
642
|
+
@builtins.property
|
|
643
|
+
@jsii.member(jsii_name="props")
|
|
644
|
+
def props(self) -> "TemplateProps":
|
|
645
|
+
...
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
class _ITemplateProxy(
|
|
649
|
+
jsii.proxy_for(_ros_cdk_core_7adfd82f.IResource), # type: ignore[misc]
|
|
650
|
+
):
|
|
651
|
+
'''Represents a ``Template``.'''
|
|
652
|
+
|
|
653
|
+
__jsii_type__: typing.ClassVar[str] = "@alicloud/ros-cdk-paiplugin.ITemplate"
|
|
654
|
+
|
|
655
|
+
@builtins.property
|
|
656
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
657
|
+
def attr_created_time(
|
|
658
|
+
self,
|
|
659
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
660
|
+
'''Attribute CreatedTime: The creation time of the Signature.'''
|
|
661
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrCreatedTime"))
|
|
662
|
+
|
|
663
|
+
@builtins.property
|
|
664
|
+
@jsii.member(jsii_name="attrDescription")
|
|
665
|
+
def attr_description(
|
|
666
|
+
self,
|
|
667
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
668
|
+
'''Attribute Description: Application instructions.'''
|
|
669
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrDescription"))
|
|
670
|
+
|
|
671
|
+
@builtins.property
|
|
672
|
+
@jsii.member(jsii_name="attrId")
|
|
673
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
674
|
+
'''Attribute Id: The ID of the Signature.'''
|
|
675
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrId"))
|
|
676
|
+
|
|
677
|
+
@builtins.property
|
|
678
|
+
@jsii.member(jsii_name="attrName")
|
|
679
|
+
def attr_name(
|
|
680
|
+
self,
|
|
681
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
682
|
+
'''Attribute Name: The name of the Signature.'''
|
|
683
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrName"))
|
|
684
|
+
|
|
685
|
+
@builtins.property
|
|
686
|
+
@jsii.member(jsii_name="attrReason")
|
|
687
|
+
def attr_reason(
|
|
688
|
+
self,
|
|
689
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
690
|
+
'''Attribute Reason: Review recommendations.'''
|
|
691
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrReason"))
|
|
692
|
+
|
|
693
|
+
@builtins.property
|
|
694
|
+
@jsii.member(jsii_name="props")
|
|
695
|
+
def props(self) -> "TemplateProps":
|
|
696
|
+
return typing.cast("TemplateProps", jsii.get(self, "props"))
|
|
697
|
+
|
|
698
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
699
|
+
typing.cast(typing.Any, ITemplate).__jsii_proxy_class__ = lambda : _ITemplateProxy
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
@jsii.interface(jsii_type="@alicloud/ros-cdk-paiplugin.ITrainingJob")
|
|
703
|
+
class ITrainingJob(_ros_cdk_core_7adfd82f.IResource, typing_extensions.Protocol):
|
|
704
|
+
'''Represents a ``TrainingJob``.'''
|
|
705
|
+
|
|
706
|
+
@builtins.property
|
|
707
|
+
@jsii.member(jsii_name="attrTrainingJobId")
|
|
708
|
+
def attr_training_job_id(
|
|
709
|
+
self,
|
|
710
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
711
|
+
'''Attribute TrainingJobId: The training job id.'''
|
|
712
|
+
...
|
|
713
|
+
|
|
714
|
+
@builtins.property
|
|
715
|
+
@jsii.member(jsii_name="props")
|
|
716
|
+
def props(self) -> "TrainingJobProps":
|
|
717
|
+
...
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
class _ITrainingJobProxy(
|
|
721
|
+
jsii.proxy_for(_ros_cdk_core_7adfd82f.IResource), # type: ignore[misc]
|
|
722
|
+
):
|
|
723
|
+
'''Represents a ``TrainingJob``.'''
|
|
724
|
+
|
|
725
|
+
__jsii_type__: typing.ClassVar[str] = "@alicloud/ros-cdk-paiplugin.ITrainingJob"
|
|
726
|
+
|
|
727
|
+
@builtins.property
|
|
728
|
+
@jsii.member(jsii_name="attrTrainingJobId")
|
|
729
|
+
def attr_training_job_id(
|
|
730
|
+
self,
|
|
731
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
732
|
+
'''Attribute TrainingJobId: The training job id.'''
|
|
733
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrTrainingJobId"))
|
|
734
|
+
|
|
735
|
+
@builtins.property
|
|
736
|
+
@jsii.member(jsii_name="props")
|
|
737
|
+
def props(self) -> "TrainingJobProps":
|
|
738
|
+
return typing.cast("TrainingJobProps", jsii.get(self, "props"))
|
|
739
|
+
|
|
740
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
741
|
+
typing.cast(typing.Any, ITrainingJob).__jsii_proxy_class__ = lambda : _ITrainingJobProxy
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
@jsii.implements(IInferenceJob)
|
|
745
|
+
class InferenceJob(
|
|
746
|
+
_ros_cdk_core_7adfd82f.Resource,
|
|
747
|
+
metaclass=jsii.JSIIMeta,
|
|
748
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.InferenceJob",
|
|
749
|
+
):
|
|
750
|
+
'''This class encapsulates and extends the ROS resource type ``ALIYUN::PAIPlugin::InferenceJob``, which is used to create a prediction job.
|
|
751
|
+
|
|
752
|
+
:Note:
|
|
753
|
+
|
|
754
|
+
This class may have some new functions to facilitate development, so it is recommended to use this class instead of ``RosInferenceJob``for a more convenient development experience.
|
|
755
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-inferencejob
|
|
756
|
+
'''
|
|
757
|
+
|
|
758
|
+
def __init__(
|
|
759
|
+
self,
|
|
760
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
761
|
+
id: builtins.str,
|
|
762
|
+
props: typing.Union["InferenceJobProps", typing.Dict[builtins.str, typing.Any]],
|
|
763
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
764
|
+
) -> None:
|
|
765
|
+
'''Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
|
766
|
+
|
|
767
|
+
:param scope: -
|
|
768
|
+
:param id: -
|
|
769
|
+
:param props: -
|
|
770
|
+
:param enable_resource_property_constraint: -
|
|
771
|
+
'''
|
|
772
|
+
if __debug__:
|
|
773
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6e4b0c2275eb412242792ac7b45c0c147a03f4e64e29949bb05cbdf9566cd56d)
|
|
774
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
775
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
776
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
777
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
778
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
779
|
+
|
|
780
|
+
@builtins.property
|
|
781
|
+
@jsii.member(jsii_name="attrGroupId")
|
|
782
|
+
def attr_group_id(
|
|
783
|
+
self,
|
|
784
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
785
|
+
'''Attribute GroupId: The related group id of infernce job result.'''
|
|
786
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrGroupId"))
|
|
787
|
+
|
|
788
|
+
@builtins.property
|
|
789
|
+
@jsii.member(jsii_name="attrInferenceJobId")
|
|
790
|
+
def attr_inference_job_id(
|
|
791
|
+
self,
|
|
792
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
793
|
+
'''Attribute InferenceJobId: The id of inference job.'''
|
|
794
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrInferenceJobId"))
|
|
795
|
+
|
|
796
|
+
@builtins.property
|
|
797
|
+
@jsii.member(jsii_name="props")
|
|
798
|
+
def props(self) -> "InferenceJobProps":
|
|
799
|
+
return typing.cast("InferenceJobProps", jsii.get(self, "props"))
|
|
800
|
+
|
|
801
|
+
@builtins.property
|
|
802
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
803
|
+
def _enable_resource_property_constraint(self) -> builtins.bool:
|
|
804
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
805
|
+
|
|
806
|
+
@_enable_resource_property_constraint.setter
|
|
807
|
+
def _enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
808
|
+
if __debug__:
|
|
809
|
+
type_hints = typing.get_type_hints(_typecheckingstub__05a6391c1835385dae54e1de28e8f14666f467dfb5fbc1ed2dd1df27701b21b0)
|
|
810
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
811
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
812
|
+
|
|
813
|
+
@builtins.property
|
|
814
|
+
@jsii.member(jsii_name="id")
|
|
815
|
+
def _id(self) -> builtins.str:
|
|
816
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
817
|
+
|
|
818
|
+
@_id.setter
|
|
819
|
+
def _id(self, value: builtins.str) -> None:
|
|
820
|
+
if __debug__:
|
|
821
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a99e0d69c539e0dcd636821ad92218168a255add1969388f07331f56944e6dec)
|
|
822
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
823
|
+
jsii.set(self, "id", value)
|
|
824
|
+
|
|
825
|
+
@builtins.property
|
|
826
|
+
@jsii.member(jsii_name="scope")
|
|
827
|
+
def _scope(self) -> _ros_cdk_core_7adfd82f.Construct:
|
|
828
|
+
return typing.cast(_ros_cdk_core_7adfd82f.Construct, jsii.get(self, "scope"))
|
|
829
|
+
|
|
830
|
+
@_scope.setter
|
|
831
|
+
def _scope(self, value: _ros_cdk_core_7adfd82f.Construct) -> None:
|
|
832
|
+
if __debug__:
|
|
833
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b215b5d986fa49aebb4e923c3e2e81bc95014afd0ebc35e1ed9f59c474159b15)
|
|
834
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
835
|
+
jsii.set(self, "scope", value)
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
@jsii.data_type(
|
|
839
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.InferenceJobProps",
|
|
840
|
+
jsii_struct_bases=[],
|
|
841
|
+
name_mapping={
|
|
842
|
+
"algorithm": "algorithm",
|
|
843
|
+
"campaign_id": "campaignId",
|
|
844
|
+
"data_path": "dataPath",
|
|
845
|
+
"name": "name",
|
|
846
|
+
"target_path": "targetPath",
|
|
847
|
+
"training_job_id": "trainingJobId",
|
|
848
|
+
"user_config": "userConfig",
|
|
849
|
+
"remark": "remark",
|
|
850
|
+
"wait_for_inference_finish": "waitForInferenceFinish",
|
|
851
|
+
},
|
|
852
|
+
)
|
|
853
|
+
class InferenceJobProps:
|
|
854
|
+
def __init__(
|
|
855
|
+
self,
|
|
856
|
+
*,
|
|
857
|
+
algorithm: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
858
|
+
campaign_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
859
|
+
data_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
860
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
861
|
+
target_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
862
|
+
training_job_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
863
|
+
user_config: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
864
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
865
|
+
wait_for_inference_finish: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
866
|
+
) -> None:
|
|
867
|
+
'''Properties for defining a ``InferenceJob``.
|
|
868
|
+
|
|
869
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-inferencejob
|
|
870
|
+
|
|
871
|
+
:param algorithm: Property algorithm: The algorithm of inference job.
|
|
872
|
+
:param campaign_id: Property campaignId: The campaign id of inference job.
|
|
873
|
+
:param data_path: Property dataPath: The input data path of inference job.
|
|
874
|
+
:param name: Property name: The name of inference job.
|
|
875
|
+
:param target_path: Property targetPath: The output result path of inference job.
|
|
876
|
+
:param training_job_id: Property trainingJobId: The training job id of inference job.
|
|
877
|
+
:param user_config: Property userConfig: The user config of inference job.
|
|
878
|
+
:param remark: Property remark: The remark of inference job.
|
|
879
|
+
:param wait_for_inference_finish: Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes.
|
|
880
|
+
'''
|
|
881
|
+
if __debug__:
|
|
882
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c90e34281385df3d2cffd1f06cee9800e8774a2fe79008752d99be69e5ad0963)
|
|
883
|
+
check_type(argname="argument algorithm", value=algorithm, expected_type=type_hints["algorithm"])
|
|
884
|
+
check_type(argname="argument campaign_id", value=campaign_id, expected_type=type_hints["campaign_id"])
|
|
885
|
+
check_type(argname="argument data_path", value=data_path, expected_type=type_hints["data_path"])
|
|
886
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
887
|
+
check_type(argname="argument target_path", value=target_path, expected_type=type_hints["target_path"])
|
|
888
|
+
check_type(argname="argument training_job_id", value=training_job_id, expected_type=type_hints["training_job_id"])
|
|
889
|
+
check_type(argname="argument user_config", value=user_config, expected_type=type_hints["user_config"])
|
|
890
|
+
check_type(argname="argument remark", value=remark, expected_type=type_hints["remark"])
|
|
891
|
+
check_type(argname="argument wait_for_inference_finish", value=wait_for_inference_finish, expected_type=type_hints["wait_for_inference_finish"])
|
|
892
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
893
|
+
"algorithm": algorithm,
|
|
894
|
+
"campaign_id": campaign_id,
|
|
895
|
+
"data_path": data_path,
|
|
896
|
+
"name": name,
|
|
897
|
+
"target_path": target_path,
|
|
898
|
+
"training_job_id": training_job_id,
|
|
899
|
+
"user_config": user_config,
|
|
900
|
+
}
|
|
901
|
+
if remark is not None:
|
|
902
|
+
self._values["remark"] = remark
|
|
903
|
+
if wait_for_inference_finish is not None:
|
|
904
|
+
self._values["wait_for_inference_finish"] = wait_for_inference_finish
|
|
905
|
+
|
|
906
|
+
@builtins.property
|
|
907
|
+
def algorithm(
|
|
908
|
+
self,
|
|
909
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
910
|
+
'''Property algorithm: The algorithm of inference job.'''
|
|
911
|
+
result = self._values.get("algorithm")
|
|
912
|
+
assert result is not None, "Required property 'algorithm' is missing"
|
|
913
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
914
|
+
|
|
915
|
+
@builtins.property
|
|
916
|
+
def campaign_id(
|
|
917
|
+
self,
|
|
918
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
919
|
+
'''Property campaignId: The campaign id of inference job.'''
|
|
920
|
+
result = self._values.get("campaign_id")
|
|
921
|
+
assert result is not None, "Required property 'campaign_id' is missing"
|
|
922
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
923
|
+
|
|
924
|
+
@builtins.property
|
|
925
|
+
def data_path(
|
|
926
|
+
self,
|
|
927
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
928
|
+
'''Property dataPath: The input data path of inference job.'''
|
|
929
|
+
result = self._values.get("data_path")
|
|
930
|
+
assert result is not None, "Required property 'data_path' is missing"
|
|
931
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
932
|
+
|
|
933
|
+
@builtins.property
|
|
934
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
935
|
+
'''Property name: The name of inference job.'''
|
|
936
|
+
result = self._values.get("name")
|
|
937
|
+
assert result is not None, "Required property 'name' is missing"
|
|
938
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
939
|
+
|
|
940
|
+
@builtins.property
|
|
941
|
+
def target_path(
|
|
942
|
+
self,
|
|
943
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
944
|
+
'''Property targetPath: The output result path of inference job.'''
|
|
945
|
+
result = self._values.get("target_path")
|
|
946
|
+
assert result is not None, "Required property 'target_path' is missing"
|
|
947
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
948
|
+
|
|
949
|
+
@builtins.property
|
|
950
|
+
def training_job_id(
|
|
951
|
+
self,
|
|
952
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
953
|
+
'''Property trainingJobId: The training job id of inference job.'''
|
|
954
|
+
result = self._values.get("training_job_id")
|
|
955
|
+
assert result is not None, "Required property 'training_job_id' is missing"
|
|
956
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
957
|
+
|
|
958
|
+
@builtins.property
|
|
959
|
+
def user_config(
|
|
960
|
+
self,
|
|
961
|
+
) -> typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]]:
|
|
962
|
+
'''Property userConfig: The user config of inference job.'''
|
|
963
|
+
result = self._values.get("user_config")
|
|
964
|
+
assert result is not None, "Required property 'user_config' is missing"
|
|
965
|
+
return typing.cast(typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]], result)
|
|
966
|
+
|
|
967
|
+
@builtins.property
|
|
968
|
+
def remark(
|
|
969
|
+
self,
|
|
970
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
971
|
+
'''Property remark: The remark of inference job.'''
|
|
972
|
+
result = self._values.get("remark")
|
|
973
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
974
|
+
|
|
975
|
+
@builtins.property
|
|
976
|
+
def wait_for_inference_finish(
|
|
977
|
+
self,
|
|
978
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
979
|
+
'''Property waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes.'''
|
|
980
|
+
result = self._values.get("wait_for_inference_finish")
|
|
981
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
982
|
+
|
|
983
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
984
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
985
|
+
|
|
986
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
987
|
+
return not (rhs == self)
|
|
988
|
+
|
|
989
|
+
def __repr__(self) -> str:
|
|
990
|
+
return "InferenceJobProps(%s)" % ", ".join(
|
|
991
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
992
|
+
)
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
class RosCampaign(
|
|
996
|
+
_ros_cdk_core_7adfd82f.RosResource,
|
|
997
|
+
metaclass=jsii.JSIIMeta,
|
|
998
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosCampaign",
|
|
999
|
+
):
|
|
1000
|
+
'''This class is a base encapsulation around the ROS resource type ``ALIYUN::PAIPlugin::Campaign``.
|
|
1001
|
+
|
|
1002
|
+
:Note:
|
|
1003
|
+
|
|
1004
|
+
This class does not contain additional functions, so it is recommended to use the ``Campaign`` class instead of this class for a more convenient development experience.
|
|
1005
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-campaign
|
|
1006
|
+
'''
|
|
1007
|
+
|
|
1008
|
+
def __init__(
|
|
1009
|
+
self,
|
|
1010
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
1011
|
+
id: builtins.str,
|
|
1012
|
+
props: typing.Union["RosCampaignProps", typing.Dict[builtins.str, typing.Any]],
|
|
1013
|
+
enable_resource_property_constraint: builtins.bool,
|
|
1014
|
+
) -> None:
|
|
1015
|
+
'''
|
|
1016
|
+
:param scope: - scope in which this resource is defined.
|
|
1017
|
+
:param id: - scoped id of the resource.
|
|
1018
|
+
:param props: - resource properties.
|
|
1019
|
+
:param enable_resource_property_constraint: -
|
|
1020
|
+
'''
|
|
1021
|
+
if __debug__:
|
|
1022
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a0ba8bd3c875d3bd8974906da7a9cfffdc696b834cada53eb16073b364394be8)
|
|
1023
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1024
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1025
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1026
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
1027
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
1028
|
+
|
|
1029
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1030
|
+
def _render_properties(
|
|
1031
|
+
self,
|
|
1032
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1033
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1034
|
+
'''
|
|
1035
|
+
:param props: -
|
|
1036
|
+
'''
|
|
1037
|
+
if __debug__:
|
|
1038
|
+
type_hints = typing.get_type_hints(_typecheckingstub__83e457f35588921ae565950d7daa114c195812d3ff08724bd5b65c56e1aca554)
|
|
1039
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1040
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1041
|
+
|
|
1042
|
+
@jsii.python.classproperty
|
|
1043
|
+
@jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME")
|
|
1044
|
+
def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1045
|
+
'''The resource type name for this resource class.'''
|
|
1046
|
+
return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME"))
|
|
1047
|
+
|
|
1048
|
+
@builtins.property
|
|
1049
|
+
@jsii.member(jsii_name="attrCampaignId")
|
|
1050
|
+
def attr_campaign_id(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
1051
|
+
'''
|
|
1052
|
+
:Attribute: CampaignId: The Campaign ID created this time.
|
|
1053
|
+
'''
|
|
1054
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrCampaignId"))
|
|
1055
|
+
|
|
1056
|
+
@builtins.property
|
|
1057
|
+
@jsii.member(jsii_name="rosProperties")
|
|
1058
|
+
def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1059
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties"))
|
|
1060
|
+
|
|
1061
|
+
@builtins.property
|
|
1062
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
1063
|
+
def enable_resource_property_constraint(self) -> builtins.bool:
|
|
1064
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
1065
|
+
|
|
1066
|
+
@enable_resource_property_constraint.setter
|
|
1067
|
+
def enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
1068
|
+
if __debug__:
|
|
1069
|
+
type_hints = typing.get_type_hints(_typecheckingstub__47d80a5e05de3ea528e515ffa86bad97a30a78110df4483041896e820d18a2f8)
|
|
1070
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1071
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
1072
|
+
|
|
1073
|
+
@builtins.property
|
|
1074
|
+
@jsii.member(jsii_name="name")
|
|
1075
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1076
|
+
'''
|
|
1077
|
+
:Property: name: The name of the campaign.
|
|
1078
|
+
'''
|
|
1079
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "name"))
|
|
1080
|
+
|
|
1081
|
+
@name.setter
|
|
1082
|
+
def name(
|
|
1083
|
+
self,
|
|
1084
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1085
|
+
) -> None:
|
|
1086
|
+
if __debug__:
|
|
1087
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6c4b4d44061dfad3e16658df0609881b7966c53fba5d69db391637a5096012a1)
|
|
1088
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1089
|
+
jsii.set(self, "name", value)
|
|
1090
|
+
|
|
1091
|
+
@builtins.property
|
|
1092
|
+
@jsii.member(jsii_name="remark")
|
|
1093
|
+
def remark(
|
|
1094
|
+
self,
|
|
1095
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1096
|
+
'''
|
|
1097
|
+
:Property: remark: The remark of the campaign.
|
|
1098
|
+
'''
|
|
1099
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "remark"))
|
|
1100
|
+
|
|
1101
|
+
@remark.setter
|
|
1102
|
+
def remark(
|
|
1103
|
+
self,
|
|
1104
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1105
|
+
) -> None:
|
|
1106
|
+
if __debug__:
|
|
1107
|
+
type_hints = typing.get_type_hints(_typecheckingstub__18b5ce8e0950ab58b2bd16dbd24b171d64790f8b2461e6d51739e436574ee915)
|
|
1108
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1109
|
+
jsii.set(self, "remark", value)
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
@jsii.data_type(
|
|
1113
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosCampaignProps",
|
|
1114
|
+
jsii_struct_bases=[],
|
|
1115
|
+
name_mapping={"name": "name", "remark": "remark"},
|
|
1116
|
+
)
|
|
1117
|
+
class RosCampaignProps:
|
|
1118
|
+
def __init__(
|
|
1119
|
+
self,
|
|
1120
|
+
*,
|
|
1121
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1122
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1123
|
+
) -> None:
|
|
1124
|
+
'''Properties for defining a ``RosCampaign``.
|
|
1125
|
+
|
|
1126
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-campaign
|
|
1127
|
+
|
|
1128
|
+
:param name:
|
|
1129
|
+
:param remark:
|
|
1130
|
+
'''
|
|
1131
|
+
if __debug__:
|
|
1132
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2c3d1c0c2b85e3197ca3325c98fd351790044f013441862dd1d7aa579ee95e34)
|
|
1133
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1134
|
+
check_type(argname="argument remark", value=remark, expected_type=type_hints["remark"])
|
|
1135
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1136
|
+
"name": name,
|
|
1137
|
+
}
|
|
1138
|
+
if remark is not None:
|
|
1139
|
+
self._values["remark"] = remark
|
|
1140
|
+
|
|
1141
|
+
@builtins.property
|
|
1142
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1143
|
+
'''
|
|
1144
|
+
:Property: name: The name of the campaign.
|
|
1145
|
+
'''
|
|
1146
|
+
result = self._values.get("name")
|
|
1147
|
+
assert result is not None, "Required property 'name' is missing"
|
|
1148
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
1149
|
+
|
|
1150
|
+
@builtins.property
|
|
1151
|
+
def remark(
|
|
1152
|
+
self,
|
|
1153
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1154
|
+
'''
|
|
1155
|
+
:Property: remark: The remark of the campaign.
|
|
1156
|
+
'''
|
|
1157
|
+
result = self._values.get("remark")
|
|
1158
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1159
|
+
|
|
1160
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1161
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1162
|
+
|
|
1163
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1164
|
+
return not (rhs == self)
|
|
1165
|
+
|
|
1166
|
+
def __repr__(self) -> str:
|
|
1167
|
+
return "RosCampaignProps(%s)" % ", ".join(
|
|
1168
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1169
|
+
)
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
class RosGroup(
|
|
1173
|
+
_ros_cdk_core_7adfd82f.RosResource,
|
|
1174
|
+
metaclass=jsii.JSIIMeta,
|
|
1175
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosGroup",
|
|
1176
|
+
):
|
|
1177
|
+
'''This class is a base encapsulation around the ROS resource type ``ALIYUN::PAIPlugin::Group``.
|
|
1178
|
+
|
|
1179
|
+
:Note:
|
|
1180
|
+
|
|
1181
|
+
This class does not contain additional functions, so it is recommended to use the ``Group`` class instead of this class for a more convenient development experience.
|
|
1182
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-group
|
|
1183
|
+
'''
|
|
1184
|
+
|
|
1185
|
+
def __init__(
|
|
1186
|
+
self,
|
|
1187
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
1188
|
+
id: builtins.str,
|
|
1189
|
+
props: typing.Union["RosGroupProps", typing.Dict[builtins.str, typing.Any]],
|
|
1190
|
+
enable_resource_property_constraint: builtins.bool,
|
|
1191
|
+
) -> None:
|
|
1192
|
+
'''
|
|
1193
|
+
:param scope: - scope in which this resource is defined.
|
|
1194
|
+
:param id: - scoped id of the resource.
|
|
1195
|
+
:param props: - resource properties.
|
|
1196
|
+
:param enable_resource_property_constraint: -
|
|
1197
|
+
'''
|
|
1198
|
+
if __debug__:
|
|
1199
|
+
type_hints = typing.get_type_hints(_typecheckingstub__19e622daff2518767807008aa8394a7b0a7018f11d28e1941ee094b1e9522307)
|
|
1200
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1201
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1202
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1203
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
1204
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
1205
|
+
|
|
1206
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1207
|
+
def _render_properties(
|
|
1208
|
+
self,
|
|
1209
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1210
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1211
|
+
'''
|
|
1212
|
+
:param props: -
|
|
1213
|
+
'''
|
|
1214
|
+
if __debug__:
|
|
1215
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9c93def2289e5ee1e6a1bfa05215a2b266b0d54b690fb24393cb8b26a0c2a905)
|
|
1216
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1217
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1218
|
+
|
|
1219
|
+
@jsii.python.classproperty
|
|
1220
|
+
@jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME")
|
|
1221
|
+
def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1222
|
+
'''The resource type name for this resource class.'''
|
|
1223
|
+
return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME"))
|
|
1224
|
+
|
|
1225
|
+
@builtins.property
|
|
1226
|
+
@jsii.member(jsii_name="attrAmount")
|
|
1227
|
+
def attr_amount(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
1228
|
+
'''
|
|
1229
|
+
:Attribute: Amount: The number of the user group.
|
|
1230
|
+
'''
|
|
1231
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrAmount"))
|
|
1232
|
+
|
|
1233
|
+
@builtins.property
|
|
1234
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
1235
|
+
def attr_created_time(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
1236
|
+
'''
|
|
1237
|
+
:Attribute: CreatedTime: The creation time of the user group.
|
|
1238
|
+
'''
|
|
1239
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrCreatedTime"))
|
|
1240
|
+
|
|
1241
|
+
@builtins.property
|
|
1242
|
+
@jsii.member(jsii_name="attrId")
|
|
1243
|
+
def attr_id(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
1244
|
+
'''
|
|
1245
|
+
:Attribute: Id: The ID of the user group.
|
|
1246
|
+
'''
|
|
1247
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrId"))
|
|
1248
|
+
|
|
1249
|
+
@builtins.property
|
|
1250
|
+
@jsii.member(jsii_name="attrName")
|
|
1251
|
+
def attr_name(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
1252
|
+
'''
|
|
1253
|
+
:Attribute: Name: The name of the user group.
|
|
1254
|
+
'''
|
|
1255
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrName"))
|
|
1256
|
+
|
|
1257
|
+
@builtins.property
|
|
1258
|
+
@jsii.member(jsii_name="rosProperties")
|
|
1259
|
+
def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1260
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties"))
|
|
1261
|
+
|
|
1262
|
+
@builtins.property
|
|
1263
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
1264
|
+
def enable_resource_property_constraint(self) -> builtins.bool:
|
|
1265
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
1266
|
+
|
|
1267
|
+
@enable_resource_property_constraint.setter
|
|
1268
|
+
def enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
1269
|
+
if __debug__:
|
|
1270
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f91dbcc59cb9b30145d7a2d5da64244e2e5fd79dfed5e3ece2654b8be7f1f105)
|
|
1271
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1272
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
1273
|
+
|
|
1274
|
+
@builtins.property
|
|
1275
|
+
@jsii.member(jsii_name="name")
|
|
1276
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1277
|
+
'''
|
|
1278
|
+
:Property: name: The name of the user group.
|
|
1279
|
+
'''
|
|
1280
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "name"))
|
|
1281
|
+
|
|
1282
|
+
@name.setter
|
|
1283
|
+
def name(
|
|
1284
|
+
self,
|
|
1285
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1286
|
+
) -> None:
|
|
1287
|
+
if __debug__:
|
|
1288
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8dffd45c632b486cfb0a51ef3bb489a111bd0fb385ff77844b1c8f44e5b90cc5)
|
|
1289
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1290
|
+
jsii.set(self, "name", value)
|
|
1291
|
+
|
|
1292
|
+
@builtins.property
|
|
1293
|
+
@jsii.member(jsii_name="source")
|
|
1294
|
+
def source(self) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1295
|
+
'''
|
|
1296
|
+
:Property:
|
|
1297
|
+
|
|
1298
|
+
source: Crowd source. Valid values:
|
|
1299
|
+
0: Enter phone numbers.
|
|
1300
|
+
1: Single-column CSV File (Phone Numbers).
|
|
1301
|
+
2: Multi-column CSV File.
|
|
1302
|
+
3: MaxCompute Table.
|
|
1303
|
+
4: Algorithm.
|
|
1304
|
+
'''
|
|
1305
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "source"))
|
|
1306
|
+
|
|
1307
|
+
@source.setter
|
|
1308
|
+
def source(
|
|
1309
|
+
self,
|
|
1310
|
+
value: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1311
|
+
) -> None:
|
|
1312
|
+
if __debug__:
|
|
1313
|
+
type_hints = typing.get_type_hints(_typecheckingstub__424387129bfd766ea2c9ea957f920d40068e67f8a624b89b4ec778324ad1193d)
|
|
1314
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1315
|
+
jsii.set(self, "source", value)
|
|
1316
|
+
|
|
1317
|
+
@builtins.property
|
|
1318
|
+
@jsii.member(jsii_name="algorithm")
|
|
1319
|
+
def algorithm(
|
|
1320
|
+
self,
|
|
1321
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1322
|
+
'''
|
|
1323
|
+
:Property: algorithm: Association algorithm. This must be specified when Source is 4(Algorithm).
|
|
1324
|
+
'''
|
|
1325
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "algorithm"))
|
|
1326
|
+
|
|
1327
|
+
@algorithm.setter
|
|
1328
|
+
def algorithm(
|
|
1329
|
+
self,
|
|
1330
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1331
|
+
) -> None:
|
|
1332
|
+
if __debug__:
|
|
1333
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ff27c1ae0ab56f546b84d781e5c3319fc59f736762f1a1a21e28656fc32436f7)
|
|
1334
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1335
|
+
jsii.set(self, "algorithm", value)
|
|
1336
|
+
|
|
1337
|
+
@builtins.property
|
|
1338
|
+
@jsii.member(jsii_name="column")
|
|
1339
|
+
def column(
|
|
1340
|
+
self,
|
|
1341
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1342
|
+
'''
|
|
1343
|
+
:Property: column: Mobile phone number column name. The Source is 2(Multi-column CSV File) or 3(MaxCompute Table) needs to be specified when it contains mobile phone numbers.
|
|
1344
|
+
'''
|
|
1345
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "column"))
|
|
1346
|
+
|
|
1347
|
+
@column.setter
|
|
1348
|
+
def column(
|
|
1349
|
+
self,
|
|
1350
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1351
|
+
) -> None:
|
|
1352
|
+
if __debug__:
|
|
1353
|
+
type_hints = typing.get_type_hints(_typecheckingstub__00944a858dae366bfe0eb7d42b4e03b05167ba06da006fade5e949b9d363a8cd)
|
|
1354
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1355
|
+
jsii.set(self, "column", value)
|
|
1356
|
+
|
|
1357
|
+
@builtins.property
|
|
1358
|
+
@jsii.member(jsii_name="filter")
|
|
1359
|
+
def filter(
|
|
1360
|
+
self,
|
|
1361
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1362
|
+
'''
|
|
1363
|
+
:Property: filter: Filter condition. This condition can be specified when Source is 3(MaxCompute Table).
|
|
1364
|
+
'''
|
|
1365
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "filter"))
|
|
1366
|
+
|
|
1367
|
+
@filter.setter
|
|
1368
|
+
def filter(
|
|
1369
|
+
self,
|
|
1370
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1371
|
+
) -> None:
|
|
1372
|
+
if __debug__:
|
|
1373
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dc625f348a579792c0d6d8a380dd21a49ef81ef45d61e4a72c109ab7b5586535)
|
|
1374
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1375
|
+
jsii.set(self, "filter", value)
|
|
1376
|
+
|
|
1377
|
+
@builtins.property
|
|
1378
|
+
@jsii.member(jsii_name="inferenceJobId")
|
|
1379
|
+
def inference_job_id(
|
|
1380
|
+
self,
|
|
1381
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1382
|
+
'''
|
|
1383
|
+
:Property: inferenceJobId: Prediction task ID.This condition can be specified when Source is 4(Algorithm).
|
|
1384
|
+
'''
|
|
1385
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "inferenceJobId"))
|
|
1386
|
+
|
|
1387
|
+
@inference_job_id.setter
|
|
1388
|
+
def inference_job_id(
|
|
1389
|
+
self,
|
|
1390
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1391
|
+
) -> None:
|
|
1392
|
+
if __debug__:
|
|
1393
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2fe50a7a781c6e59d3c3fb176f9524769ab1a9aae544149513034c5b5e738620)
|
|
1394
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1395
|
+
jsii.set(self, "inferenceJobId", value)
|
|
1396
|
+
|
|
1397
|
+
@builtins.property
|
|
1398
|
+
@jsii.member(jsii_name="phoneNumber")
|
|
1399
|
+
def phone_number(
|
|
1400
|
+
self,
|
|
1401
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1402
|
+
'''
|
|
1403
|
+
:Property: phoneNumber: Whether to include mobile phone numbers. People with mobile phone numbers can be used for reach plans.
|
|
1404
|
+
'''
|
|
1405
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "phoneNumber"))
|
|
1406
|
+
|
|
1407
|
+
@phone_number.setter
|
|
1408
|
+
def phone_number(
|
|
1409
|
+
self,
|
|
1410
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1411
|
+
) -> None:
|
|
1412
|
+
if __debug__:
|
|
1413
|
+
type_hints = typing.get_type_hints(_typecheckingstub__786c6ed97c3b4efcd9e550c2f4608a78464028915dade83b4fb8c609fa8b26d8)
|
|
1414
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1415
|
+
jsii.set(self, "phoneNumber", value)
|
|
1416
|
+
|
|
1417
|
+
@builtins.property
|
|
1418
|
+
@jsii.member(jsii_name="project")
|
|
1419
|
+
def project(
|
|
1420
|
+
self,
|
|
1421
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1422
|
+
'''
|
|
1423
|
+
:Property: project: MaxCompute (ODPS) project name. This parameter must be specified when Source is 3(MaxCompute Table).
|
|
1424
|
+
'''
|
|
1425
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "project"))
|
|
1426
|
+
|
|
1427
|
+
@project.setter
|
|
1428
|
+
def project(
|
|
1429
|
+
self,
|
|
1430
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1431
|
+
) -> None:
|
|
1432
|
+
if __debug__:
|
|
1433
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b31bc2319e1a82af11b756be0c9c1fd75113d7d7d7f741ae458b55c7aa4dd003)
|
|
1434
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1435
|
+
jsii.set(self, "project", value)
|
|
1436
|
+
|
|
1437
|
+
@builtins.property
|
|
1438
|
+
@jsii.member(jsii_name="remark")
|
|
1439
|
+
def remark(
|
|
1440
|
+
self,
|
|
1441
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1442
|
+
'''
|
|
1443
|
+
:Property: remark: The notes of the user group.
|
|
1444
|
+
'''
|
|
1445
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "remark"))
|
|
1446
|
+
|
|
1447
|
+
@remark.setter
|
|
1448
|
+
def remark(
|
|
1449
|
+
self,
|
|
1450
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1451
|
+
) -> None:
|
|
1452
|
+
if __debug__:
|
|
1453
|
+
type_hints = typing.get_type_hints(_typecheckingstub__551d3168a292a0d05d07225278efc9bdecb1cbfb7a9678a70026fd292e4853c1)
|
|
1454
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1455
|
+
jsii.set(self, "remark", value)
|
|
1456
|
+
|
|
1457
|
+
@builtins.property
|
|
1458
|
+
@jsii.member(jsii_name="table")
|
|
1459
|
+
def table(
|
|
1460
|
+
self,
|
|
1461
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1462
|
+
'''
|
|
1463
|
+
:Property: table: MaxCompute (ODPS) table name. This parameter must be specified when Source is 3(MaxCompute Table).
|
|
1464
|
+
'''
|
|
1465
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "table"))
|
|
1466
|
+
|
|
1467
|
+
@table.setter
|
|
1468
|
+
def table(
|
|
1469
|
+
self,
|
|
1470
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1471
|
+
) -> None:
|
|
1472
|
+
if __debug__:
|
|
1473
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eb42028071210d293436244b8e80b443cd8e2eea926359cd66c36dc073d27822)
|
|
1474
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1475
|
+
jsii.set(self, "table", value)
|
|
1476
|
+
|
|
1477
|
+
@builtins.property
|
|
1478
|
+
@jsii.member(jsii_name="text")
|
|
1479
|
+
def text(
|
|
1480
|
+
self,
|
|
1481
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1482
|
+
'''
|
|
1483
|
+
:Property: text: The text of the phone number. This must be specified when Source is 0(Enter phone numbers).
|
|
1484
|
+
'''
|
|
1485
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "text"))
|
|
1486
|
+
|
|
1487
|
+
@text.setter
|
|
1488
|
+
def text(
|
|
1489
|
+
self,
|
|
1490
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1491
|
+
) -> None:
|
|
1492
|
+
if __debug__:
|
|
1493
|
+
type_hints = typing.get_type_hints(_typecheckingstub__16d88163cc864363e69294db4705b1469e4222c028b7e84baaeef71475758d5b)
|
|
1494
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1495
|
+
jsii.set(self, "text", value)
|
|
1496
|
+
|
|
1497
|
+
@builtins.property
|
|
1498
|
+
@jsii.member(jsii_name="uri")
|
|
1499
|
+
def uri(
|
|
1500
|
+
self,
|
|
1501
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1502
|
+
'''
|
|
1503
|
+
:Property: uri: File address. It needs to be specified when Source is 1(Single-column CSV File) or 2(Multi-column CSV File).
|
|
1504
|
+
'''
|
|
1505
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "uri"))
|
|
1506
|
+
|
|
1507
|
+
@uri.setter
|
|
1508
|
+
def uri(
|
|
1509
|
+
self,
|
|
1510
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1511
|
+
) -> None:
|
|
1512
|
+
if __debug__:
|
|
1513
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5327112c982bde98ac1c25c1076a006f8299b4e5a63c9fb46cff16ad5218743d)
|
|
1514
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1515
|
+
jsii.set(self, "uri", value)
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
@jsii.data_type(
|
|
1519
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosGroupProps",
|
|
1520
|
+
jsii_struct_bases=[],
|
|
1521
|
+
name_mapping={
|
|
1522
|
+
"name": "name",
|
|
1523
|
+
"source": "source",
|
|
1524
|
+
"algorithm": "algorithm",
|
|
1525
|
+
"column": "column",
|
|
1526
|
+
"filter": "filter",
|
|
1527
|
+
"inference_job_id": "inferenceJobId",
|
|
1528
|
+
"phone_number": "phoneNumber",
|
|
1529
|
+
"project": "project",
|
|
1530
|
+
"remark": "remark",
|
|
1531
|
+
"table": "table",
|
|
1532
|
+
"text": "text",
|
|
1533
|
+
"uri": "uri",
|
|
1534
|
+
},
|
|
1535
|
+
)
|
|
1536
|
+
class RosGroupProps:
|
|
1537
|
+
def __init__(
|
|
1538
|
+
self,
|
|
1539
|
+
*,
|
|
1540
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1541
|
+
source: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1542
|
+
algorithm: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1543
|
+
column: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1544
|
+
filter: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1545
|
+
inference_job_id: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1546
|
+
phone_number: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1547
|
+
project: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1548
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1549
|
+
table: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1550
|
+
text: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1551
|
+
uri: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
1552
|
+
) -> None:
|
|
1553
|
+
'''Properties for defining a ``RosGroup``.
|
|
1554
|
+
|
|
1555
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-group
|
|
1556
|
+
|
|
1557
|
+
:param name:
|
|
1558
|
+
:param source:
|
|
1559
|
+
:param algorithm:
|
|
1560
|
+
:param column:
|
|
1561
|
+
:param filter:
|
|
1562
|
+
:param inference_job_id:
|
|
1563
|
+
:param phone_number:
|
|
1564
|
+
:param project:
|
|
1565
|
+
:param remark:
|
|
1566
|
+
:param table:
|
|
1567
|
+
:param text:
|
|
1568
|
+
:param uri:
|
|
1569
|
+
'''
|
|
1570
|
+
if __debug__:
|
|
1571
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ad8f9deb2a72e683334aa61c5cc7959e605df7937086a564cc953d1bc259639d)
|
|
1572
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1573
|
+
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
1574
|
+
check_type(argname="argument algorithm", value=algorithm, expected_type=type_hints["algorithm"])
|
|
1575
|
+
check_type(argname="argument column", value=column, expected_type=type_hints["column"])
|
|
1576
|
+
check_type(argname="argument filter", value=filter, expected_type=type_hints["filter"])
|
|
1577
|
+
check_type(argname="argument inference_job_id", value=inference_job_id, expected_type=type_hints["inference_job_id"])
|
|
1578
|
+
check_type(argname="argument phone_number", value=phone_number, expected_type=type_hints["phone_number"])
|
|
1579
|
+
check_type(argname="argument project", value=project, expected_type=type_hints["project"])
|
|
1580
|
+
check_type(argname="argument remark", value=remark, expected_type=type_hints["remark"])
|
|
1581
|
+
check_type(argname="argument table", value=table, expected_type=type_hints["table"])
|
|
1582
|
+
check_type(argname="argument text", value=text, expected_type=type_hints["text"])
|
|
1583
|
+
check_type(argname="argument uri", value=uri, expected_type=type_hints["uri"])
|
|
1584
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1585
|
+
"name": name,
|
|
1586
|
+
"source": source,
|
|
1587
|
+
}
|
|
1588
|
+
if algorithm is not None:
|
|
1589
|
+
self._values["algorithm"] = algorithm
|
|
1590
|
+
if column is not None:
|
|
1591
|
+
self._values["column"] = column
|
|
1592
|
+
if filter is not None:
|
|
1593
|
+
self._values["filter"] = filter
|
|
1594
|
+
if inference_job_id is not None:
|
|
1595
|
+
self._values["inference_job_id"] = inference_job_id
|
|
1596
|
+
if phone_number is not None:
|
|
1597
|
+
self._values["phone_number"] = phone_number
|
|
1598
|
+
if project is not None:
|
|
1599
|
+
self._values["project"] = project
|
|
1600
|
+
if remark is not None:
|
|
1601
|
+
self._values["remark"] = remark
|
|
1602
|
+
if table is not None:
|
|
1603
|
+
self._values["table"] = table
|
|
1604
|
+
if text is not None:
|
|
1605
|
+
self._values["text"] = text
|
|
1606
|
+
if uri is not None:
|
|
1607
|
+
self._values["uri"] = uri
|
|
1608
|
+
|
|
1609
|
+
@builtins.property
|
|
1610
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1611
|
+
'''
|
|
1612
|
+
:Property: name: The name of the user group.
|
|
1613
|
+
'''
|
|
1614
|
+
result = self._values.get("name")
|
|
1615
|
+
assert result is not None, "Required property 'name' is missing"
|
|
1616
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
1617
|
+
|
|
1618
|
+
@builtins.property
|
|
1619
|
+
def source(self) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1620
|
+
'''
|
|
1621
|
+
:Property:
|
|
1622
|
+
|
|
1623
|
+
source: Crowd source. Valid values:
|
|
1624
|
+
0: Enter phone numbers.
|
|
1625
|
+
1: Single-column CSV File (Phone Numbers).
|
|
1626
|
+
2: Multi-column CSV File.
|
|
1627
|
+
3: MaxCompute Table.
|
|
1628
|
+
4: Algorithm.
|
|
1629
|
+
'''
|
|
1630
|
+
result = self._values.get("source")
|
|
1631
|
+
assert result is not None, "Required property 'source' is missing"
|
|
1632
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
1633
|
+
|
|
1634
|
+
@builtins.property
|
|
1635
|
+
def algorithm(
|
|
1636
|
+
self,
|
|
1637
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1638
|
+
'''
|
|
1639
|
+
:Property: algorithm: Association algorithm. This must be specified when Source is 4(Algorithm).
|
|
1640
|
+
'''
|
|
1641
|
+
result = self._values.get("algorithm")
|
|
1642
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1643
|
+
|
|
1644
|
+
@builtins.property
|
|
1645
|
+
def column(
|
|
1646
|
+
self,
|
|
1647
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1648
|
+
'''
|
|
1649
|
+
:Property: column: Mobile phone number column name. The Source is 2(Multi-column CSV File) or 3(MaxCompute Table) needs to be specified when it contains mobile phone numbers.
|
|
1650
|
+
'''
|
|
1651
|
+
result = self._values.get("column")
|
|
1652
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1653
|
+
|
|
1654
|
+
@builtins.property
|
|
1655
|
+
def filter(
|
|
1656
|
+
self,
|
|
1657
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1658
|
+
'''
|
|
1659
|
+
:Property: filter: Filter condition. This condition can be specified when Source is 3(MaxCompute Table).
|
|
1660
|
+
'''
|
|
1661
|
+
result = self._values.get("filter")
|
|
1662
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1663
|
+
|
|
1664
|
+
@builtins.property
|
|
1665
|
+
def inference_job_id(
|
|
1666
|
+
self,
|
|
1667
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1668
|
+
'''
|
|
1669
|
+
:Property: inferenceJobId: Prediction task ID.This condition can be specified when Source is 4(Algorithm).
|
|
1670
|
+
'''
|
|
1671
|
+
result = self._values.get("inference_job_id")
|
|
1672
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1673
|
+
|
|
1674
|
+
@builtins.property
|
|
1675
|
+
def phone_number(
|
|
1676
|
+
self,
|
|
1677
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1678
|
+
'''
|
|
1679
|
+
:Property: phoneNumber: Whether to include mobile phone numbers. People with mobile phone numbers can be used for reach plans.
|
|
1680
|
+
'''
|
|
1681
|
+
result = self._values.get("phone_number")
|
|
1682
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1683
|
+
|
|
1684
|
+
@builtins.property
|
|
1685
|
+
def project(
|
|
1686
|
+
self,
|
|
1687
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1688
|
+
'''
|
|
1689
|
+
:Property: project: MaxCompute (ODPS) project name. This parameter must be specified when Source is 3(MaxCompute Table).
|
|
1690
|
+
'''
|
|
1691
|
+
result = self._values.get("project")
|
|
1692
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1693
|
+
|
|
1694
|
+
@builtins.property
|
|
1695
|
+
def remark(
|
|
1696
|
+
self,
|
|
1697
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1698
|
+
'''
|
|
1699
|
+
:Property: remark: The notes of the user group.
|
|
1700
|
+
'''
|
|
1701
|
+
result = self._values.get("remark")
|
|
1702
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1703
|
+
|
|
1704
|
+
@builtins.property
|
|
1705
|
+
def table(
|
|
1706
|
+
self,
|
|
1707
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1708
|
+
'''
|
|
1709
|
+
:Property: table: MaxCompute (ODPS) table name. This parameter must be specified when Source is 3(MaxCompute Table).
|
|
1710
|
+
'''
|
|
1711
|
+
result = self._values.get("table")
|
|
1712
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1713
|
+
|
|
1714
|
+
@builtins.property
|
|
1715
|
+
def text(
|
|
1716
|
+
self,
|
|
1717
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1718
|
+
'''
|
|
1719
|
+
:Property: text: The text of the phone number. This must be specified when Source is 0(Enter phone numbers).
|
|
1720
|
+
'''
|
|
1721
|
+
result = self._values.get("text")
|
|
1722
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1723
|
+
|
|
1724
|
+
@builtins.property
|
|
1725
|
+
def uri(
|
|
1726
|
+
self,
|
|
1727
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1728
|
+
'''
|
|
1729
|
+
:Property: uri: File address. It needs to be specified when Source is 1(Single-column CSV File) or 2(Multi-column CSV File).
|
|
1730
|
+
'''
|
|
1731
|
+
result = self._values.get("uri")
|
|
1732
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
1733
|
+
|
|
1734
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1735
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1736
|
+
|
|
1737
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1738
|
+
return not (rhs == self)
|
|
1739
|
+
|
|
1740
|
+
def __repr__(self) -> str:
|
|
1741
|
+
return "RosGroupProps(%s)" % ", ".join(
|
|
1742
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1743
|
+
)
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
class RosInferenceJob(
|
|
1747
|
+
_ros_cdk_core_7adfd82f.RosResource,
|
|
1748
|
+
metaclass=jsii.JSIIMeta,
|
|
1749
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosInferenceJob",
|
|
1750
|
+
):
|
|
1751
|
+
'''This class is a base encapsulation around the ROS resource type ``ALIYUN::PAIPlugin::InferenceJob``, which is used to create a prediction job.
|
|
1752
|
+
|
|
1753
|
+
:Note:
|
|
1754
|
+
|
|
1755
|
+
This class does not contain additional functions, so it is recommended to use the ``InferenceJob`` class instead of this class for a more convenient development experience.
|
|
1756
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-inferencejob
|
|
1757
|
+
'''
|
|
1758
|
+
|
|
1759
|
+
def __init__(
|
|
1760
|
+
self,
|
|
1761
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
1762
|
+
id: builtins.str,
|
|
1763
|
+
props: typing.Union["RosInferenceJobProps", typing.Dict[builtins.str, typing.Any]],
|
|
1764
|
+
enable_resource_property_constraint: builtins.bool,
|
|
1765
|
+
) -> None:
|
|
1766
|
+
'''
|
|
1767
|
+
:param scope: - scope in which this resource is defined.
|
|
1768
|
+
:param id: - scoped id of the resource.
|
|
1769
|
+
:param props: - resource properties.
|
|
1770
|
+
:param enable_resource_property_constraint: -
|
|
1771
|
+
'''
|
|
1772
|
+
if __debug__:
|
|
1773
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ad701e115d2fd9b4466d2e7684673fb016d477b13a437828cd187af09efca3bc)
|
|
1774
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1775
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1776
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1777
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
1778
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
1779
|
+
|
|
1780
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1781
|
+
def _render_properties(
|
|
1782
|
+
self,
|
|
1783
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1784
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1785
|
+
'''
|
|
1786
|
+
:param props: -
|
|
1787
|
+
'''
|
|
1788
|
+
if __debug__:
|
|
1789
|
+
type_hints = typing.get_type_hints(_typecheckingstub__53a10946d2da8a01b6a8cc00c1b8b87a74732d39b1d69a4563761e7fd5fdaf22)
|
|
1790
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1791
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1792
|
+
|
|
1793
|
+
@jsii.python.classproperty
|
|
1794
|
+
@jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME")
|
|
1795
|
+
def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1796
|
+
'''The resource type name for this resource class.'''
|
|
1797
|
+
return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME"))
|
|
1798
|
+
|
|
1799
|
+
@builtins.property
|
|
1800
|
+
@jsii.member(jsii_name="attrGroupId")
|
|
1801
|
+
def attr_group_id(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
1802
|
+
'''
|
|
1803
|
+
:Attribute: GroupId: The related group id of infernce job result.
|
|
1804
|
+
'''
|
|
1805
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrGroupId"))
|
|
1806
|
+
|
|
1807
|
+
@builtins.property
|
|
1808
|
+
@jsii.member(jsii_name="attrInferenceJobId")
|
|
1809
|
+
def attr_inference_job_id(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
1810
|
+
'''
|
|
1811
|
+
:Attribute: InferenceJobId: The id of inference job.
|
|
1812
|
+
'''
|
|
1813
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrInferenceJobId"))
|
|
1814
|
+
|
|
1815
|
+
@builtins.property
|
|
1816
|
+
@jsii.member(jsii_name="rosProperties")
|
|
1817
|
+
def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1818
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties"))
|
|
1819
|
+
|
|
1820
|
+
@builtins.property
|
|
1821
|
+
@jsii.member(jsii_name="algorithm")
|
|
1822
|
+
def algorithm(
|
|
1823
|
+
self,
|
|
1824
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1825
|
+
'''
|
|
1826
|
+
:Property: algorithm: The algorithm of inference job.
|
|
1827
|
+
'''
|
|
1828
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "algorithm"))
|
|
1829
|
+
|
|
1830
|
+
@algorithm.setter
|
|
1831
|
+
def algorithm(
|
|
1832
|
+
self,
|
|
1833
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1834
|
+
) -> None:
|
|
1835
|
+
if __debug__:
|
|
1836
|
+
type_hints = typing.get_type_hints(_typecheckingstub__28ed8eea84fbe9f40ad0722884f95e6f430662bd58c0193ec2118657e5703e9b)
|
|
1837
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1838
|
+
jsii.set(self, "algorithm", value)
|
|
1839
|
+
|
|
1840
|
+
@builtins.property
|
|
1841
|
+
@jsii.member(jsii_name="campaignId")
|
|
1842
|
+
def campaign_id(
|
|
1843
|
+
self,
|
|
1844
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1845
|
+
'''
|
|
1846
|
+
:Property: campaignId: The campaign id of inference job.
|
|
1847
|
+
'''
|
|
1848
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "campaignId"))
|
|
1849
|
+
|
|
1850
|
+
@campaign_id.setter
|
|
1851
|
+
def campaign_id(
|
|
1852
|
+
self,
|
|
1853
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1854
|
+
) -> None:
|
|
1855
|
+
if __debug__:
|
|
1856
|
+
type_hints = typing.get_type_hints(_typecheckingstub__27c64434e017fb58188dc5bcb46621ff843f2bc4631c99615db1c0b98872c716)
|
|
1857
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1858
|
+
jsii.set(self, "campaignId", value)
|
|
1859
|
+
|
|
1860
|
+
@builtins.property
|
|
1861
|
+
@jsii.member(jsii_name="dataPath")
|
|
1862
|
+
def data_path(
|
|
1863
|
+
self,
|
|
1864
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1865
|
+
'''
|
|
1866
|
+
:Property: dataPath: The input data path of inference job.
|
|
1867
|
+
'''
|
|
1868
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "dataPath"))
|
|
1869
|
+
|
|
1870
|
+
@data_path.setter
|
|
1871
|
+
def data_path(
|
|
1872
|
+
self,
|
|
1873
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1874
|
+
) -> None:
|
|
1875
|
+
if __debug__:
|
|
1876
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2978381746155f7ee204e679c732df8f1a336e22e45c15bd1a359391eabfdc64)
|
|
1877
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1878
|
+
jsii.set(self, "dataPath", value)
|
|
1879
|
+
|
|
1880
|
+
@builtins.property
|
|
1881
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
1882
|
+
def enable_resource_property_constraint(self) -> builtins.bool:
|
|
1883
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
1884
|
+
|
|
1885
|
+
@enable_resource_property_constraint.setter
|
|
1886
|
+
def enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
1887
|
+
if __debug__:
|
|
1888
|
+
type_hints = typing.get_type_hints(_typecheckingstub__18fee5b1bb7b9b694375115327ce05984d6cdeb2e8c45f02d4f18d600bec54e9)
|
|
1889
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1890
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
1891
|
+
|
|
1892
|
+
@builtins.property
|
|
1893
|
+
@jsii.member(jsii_name="name")
|
|
1894
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1895
|
+
'''
|
|
1896
|
+
:Property: name: The name of inference job.
|
|
1897
|
+
'''
|
|
1898
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "name"))
|
|
1899
|
+
|
|
1900
|
+
@name.setter
|
|
1901
|
+
def name(
|
|
1902
|
+
self,
|
|
1903
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1904
|
+
) -> None:
|
|
1905
|
+
if __debug__:
|
|
1906
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9411bb5bcafb1b6697958c229caaa73c7ace44a43299bb40003f1a4fa337b582)
|
|
1907
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1908
|
+
jsii.set(self, "name", value)
|
|
1909
|
+
|
|
1910
|
+
@builtins.property
|
|
1911
|
+
@jsii.member(jsii_name="targetPath")
|
|
1912
|
+
def target_path(
|
|
1913
|
+
self,
|
|
1914
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1915
|
+
'''
|
|
1916
|
+
:Property: targetPath: The output result path of inference job.
|
|
1917
|
+
'''
|
|
1918
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "targetPath"))
|
|
1919
|
+
|
|
1920
|
+
@target_path.setter
|
|
1921
|
+
def target_path(
|
|
1922
|
+
self,
|
|
1923
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1924
|
+
) -> None:
|
|
1925
|
+
if __debug__:
|
|
1926
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7101dd81491101acec0e3806aff5e3fbfc8762828bec1e11077a49d47f551e39)
|
|
1927
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1928
|
+
jsii.set(self, "targetPath", value)
|
|
1929
|
+
|
|
1930
|
+
@builtins.property
|
|
1931
|
+
@jsii.member(jsii_name="trainingJobId")
|
|
1932
|
+
def training_job_id(
|
|
1933
|
+
self,
|
|
1934
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
1935
|
+
'''
|
|
1936
|
+
:Property: trainingJobId: The training job id of inference job.
|
|
1937
|
+
'''
|
|
1938
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "trainingJobId"))
|
|
1939
|
+
|
|
1940
|
+
@training_job_id.setter
|
|
1941
|
+
def training_job_id(
|
|
1942
|
+
self,
|
|
1943
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
1944
|
+
) -> None:
|
|
1945
|
+
if __debug__:
|
|
1946
|
+
type_hints = typing.get_type_hints(_typecheckingstub__600d14dc3715cf8956a07d779520d39e1499ec074ee9424bf5f6bf2b3aba5029)
|
|
1947
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1948
|
+
jsii.set(self, "trainingJobId", value)
|
|
1949
|
+
|
|
1950
|
+
@builtins.property
|
|
1951
|
+
@jsii.member(jsii_name="userConfig")
|
|
1952
|
+
def user_config(
|
|
1953
|
+
self,
|
|
1954
|
+
) -> typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]]:
|
|
1955
|
+
'''
|
|
1956
|
+
:Property: userConfig: The user config of inference job.
|
|
1957
|
+
'''
|
|
1958
|
+
return typing.cast(typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]], jsii.get(self, "userConfig"))
|
|
1959
|
+
|
|
1960
|
+
@user_config.setter
|
|
1961
|
+
def user_config(
|
|
1962
|
+
self,
|
|
1963
|
+
value: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
1964
|
+
) -> None:
|
|
1965
|
+
if __debug__:
|
|
1966
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9bac40c525669191bea1a7881908a486181b59418e3c63ce1f4285cea70c39ab)
|
|
1967
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1968
|
+
jsii.set(self, "userConfig", value)
|
|
1969
|
+
|
|
1970
|
+
@builtins.property
|
|
1971
|
+
@jsii.member(jsii_name="remark")
|
|
1972
|
+
def remark(
|
|
1973
|
+
self,
|
|
1974
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1975
|
+
'''
|
|
1976
|
+
:Property: remark: The remark of inference job.
|
|
1977
|
+
'''
|
|
1978
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "remark"))
|
|
1979
|
+
|
|
1980
|
+
@remark.setter
|
|
1981
|
+
def remark(
|
|
1982
|
+
self,
|
|
1983
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
1984
|
+
) -> None:
|
|
1985
|
+
if __debug__:
|
|
1986
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2d2aacb915ac12061261820ef7863b11e968077ec4b5361bd6bd6e5e98d0029b)
|
|
1987
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1988
|
+
jsii.set(self, "remark", value)
|
|
1989
|
+
|
|
1990
|
+
@builtins.property
|
|
1991
|
+
@jsii.member(jsii_name="waitForInferenceFinish")
|
|
1992
|
+
def wait_for_inference_finish(
|
|
1993
|
+
self,
|
|
1994
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
1995
|
+
'''
|
|
1996
|
+
:Property: waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes
|
|
1997
|
+
'''
|
|
1998
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "waitForInferenceFinish"))
|
|
1999
|
+
|
|
2000
|
+
@wait_for_inference_finish.setter
|
|
2001
|
+
def wait_for_inference_finish(
|
|
2002
|
+
self,
|
|
2003
|
+
value: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
2004
|
+
) -> None:
|
|
2005
|
+
if __debug__:
|
|
2006
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1d4d1f5179685b1f07c7c071ba92b22bb46713fcb252cacbe1021a4e44aab274)
|
|
2007
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2008
|
+
jsii.set(self, "waitForInferenceFinish", value)
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
@jsii.data_type(
|
|
2012
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosInferenceJobProps",
|
|
2013
|
+
jsii_struct_bases=[],
|
|
2014
|
+
name_mapping={
|
|
2015
|
+
"algorithm": "algorithm",
|
|
2016
|
+
"campaign_id": "campaignId",
|
|
2017
|
+
"data_path": "dataPath",
|
|
2018
|
+
"name": "name",
|
|
2019
|
+
"target_path": "targetPath",
|
|
2020
|
+
"training_job_id": "trainingJobId",
|
|
2021
|
+
"user_config": "userConfig",
|
|
2022
|
+
"remark": "remark",
|
|
2023
|
+
"wait_for_inference_finish": "waitForInferenceFinish",
|
|
2024
|
+
},
|
|
2025
|
+
)
|
|
2026
|
+
class RosInferenceJobProps:
|
|
2027
|
+
def __init__(
|
|
2028
|
+
self,
|
|
2029
|
+
*,
|
|
2030
|
+
algorithm: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2031
|
+
campaign_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2032
|
+
data_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2033
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2034
|
+
target_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2035
|
+
training_job_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2036
|
+
user_config: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
2037
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
2038
|
+
wait_for_inference_finish: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
2039
|
+
) -> None:
|
|
2040
|
+
'''Properties for defining a ``RosInferenceJob``.
|
|
2041
|
+
|
|
2042
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-inferencejob
|
|
2043
|
+
|
|
2044
|
+
:param algorithm:
|
|
2045
|
+
:param campaign_id:
|
|
2046
|
+
:param data_path:
|
|
2047
|
+
:param name:
|
|
2048
|
+
:param target_path:
|
|
2049
|
+
:param training_job_id:
|
|
2050
|
+
:param user_config:
|
|
2051
|
+
:param remark:
|
|
2052
|
+
:param wait_for_inference_finish:
|
|
2053
|
+
'''
|
|
2054
|
+
if __debug__:
|
|
2055
|
+
type_hints = typing.get_type_hints(_typecheckingstub__862df832163d3953cf547d4351e0a704e07a2f5bea11c179ad6855fa83bdc842)
|
|
2056
|
+
check_type(argname="argument algorithm", value=algorithm, expected_type=type_hints["algorithm"])
|
|
2057
|
+
check_type(argname="argument campaign_id", value=campaign_id, expected_type=type_hints["campaign_id"])
|
|
2058
|
+
check_type(argname="argument data_path", value=data_path, expected_type=type_hints["data_path"])
|
|
2059
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2060
|
+
check_type(argname="argument target_path", value=target_path, expected_type=type_hints["target_path"])
|
|
2061
|
+
check_type(argname="argument training_job_id", value=training_job_id, expected_type=type_hints["training_job_id"])
|
|
2062
|
+
check_type(argname="argument user_config", value=user_config, expected_type=type_hints["user_config"])
|
|
2063
|
+
check_type(argname="argument remark", value=remark, expected_type=type_hints["remark"])
|
|
2064
|
+
check_type(argname="argument wait_for_inference_finish", value=wait_for_inference_finish, expected_type=type_hints["wait_for_inference_finish"])
|
|
2065
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2066
|
+
"algorithm": algorithm,
|
|
2067
|
+
"campaign_id": campaign_id,
|
|
2068
|
+
"data_path": data_path,
|
|
2069
|
+
"name": name,
|
|
2070
|
+
"target_path": target_path,
|
|
2071
|
+
"training_job_id": training_job_id,
|
|
2072
|
+
"user_config": user_config,
|
|
2073
|
+
}
|
|
2074
|
+
if remark is not None:
|
|
2075
|
+
self._values["remark"] = remark
|
|
2076
|
+
if wait_for_inference_finish is not None:
|
|
2077
|
+
self._values["wait_for_inference_finish"] = wait_for_inference_finish
|
|
2078
|
+
|
|
2079
|
+
@builtins.property
|
|
2080
|
+
def algorithm(
|
|
2081
|
+
self,
|
|
2082
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2083
|
+
'''
|
|
2084
|
+
:Property: algorithm: The algorithm of inference job.
|
|
2085
|
+
'''
|
|
2086
|
+
result = self._values.get("algorithm")
|
|
2087
|
+
assert result is not None, "Required property 'algorithm' is missing"
|
|
2088
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2089
|
+
|
|
2090
|
+
@builtins.property
|
|
2091
|
+
def campaign_id(
|
|
2092
|
+
self,
|
|
2093
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2094
|
+
'''
|
|
2095
|
+
:Property: campaignId: The campaign id of inference job.
|
|
2096
|
+
'''
|
|
2097
|
+
result = self._values.get("campaign_id")
|
|
2098
|
+
assert result is not None, "Required property 'campaign_id' is missing"
|
|
2099
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2100
|
+
|
|
2101
|
+
@builtins.property
|
|
2102
|
+
def data_path(
|
|
2103
|
+
self,
|
|
2104
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2105
|
+
'''
|
|
2106
|
+
:Property: dataPath: The input data path of inference job.
|
|
2107
|
+
'''
|
|
2108
|
+
result = self._values.get("data_path")
|
|
2109
|
+
assert result is not None, "Required property 'data_path' is missing"
|
|
2110
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2111
|
+
|
|
2112
|
+
@builtins.property
|
|
2113
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2114
|
+
'''
|
|
2115
|
+
:Property: name: The name of inference job.
|
|
2116
|
+
'''
|
|
2117
|
+
result = self._values.get("name")
|
|
2118
|
+
assert result is not None, "Required property 'name' is missing"
|
|
2119
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2120
|
+
|
|
2121
|
+
@builtins.property
|
|
2122
|
+
def target_path(
|
|
2123
|
+
self,
|
|
2124
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2125
|
+
'''
|
|
2126
|
+
:Property: targetPath: The output result path of inference job.
|
|
2127
|
+
'''
|
|
2128
|
+
result = self._values.get("target_path")
|
|
2129
|
+
assert result is not None, "Required property 'target_path' is missing"
|
|
2130
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2131
|
+
|
|
2132
|
+
@builtins.property
|
|
2133
|
+
def training_job_id(
|
|
2134
|
+
self,
|
|
2135
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2136
|
+
'''
|
|
2137
|
+
:Property: trainingJobId: The training job id of inference job.
|
|
2138
|
+
'''
|
|
2139
|
+
result = self._values.get("training_job_id")
|
|
2140
|
+
assert result is not None, "Required property 'training_job_id' is missing"
|
|
2141
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2142
|
+
|
|
2143
|
+
@builtins.property
|
|
2144
|
+
def user_config(
|
|
2145
|
+
self,
|
|
2146
|
+
) -> typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]]:
|
|
2147
|
+
'''
|
|
2148
|
+
:Property: userConfig: The user config of inference job.
|
|
2149
|
+
'''
|
|
2150
|
+
result = self._values.get("user_config")
|
|
2151
|
+
assert result is not None, "Required property 'user_config' is missing"
|
|
2152
|
+
return typing.cast(typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]], result)
|
|
2153
|
+
|
|
2154
|
+
@builtins.property
|
|
2155
|
+
def remark(
|
|
2156
|
+
self,
|
|
2157
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2158
|
+
'''
|
|
2159
|
+
:Property: remark: The remark of inference job.
|
|
2160
|
+
'''
|
|
2161
|
+
result = self._values.get("remark")
|
|
2162
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
2163
|
+
|
|
2164
|
+
@builtins.property
|
|
2165
|
+
def wait_for_inference_finish(
|
|
2166
|
+
self,
|
|
2167
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2168
|
+
'''
|
|
2169
|
+
:Property: waitForInferenceFinish: Whether resource creation waits for the inference task to complete.The longest waiting time is 40 minutes
|
|
2170
|
+
'''
|
|
2171
|
+
result = self._values.get("wait_for_inference_finish")
|
|
2172
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
2173
|
+
|
|
2174
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2175
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2176
|
+
|
|
2177
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2178
|
+
return not (rhs == self)
|
|
2179
|
+
|
|
2180
|
+
def __repr__(self) -> str:
|
|
2181
|
+
return "RosInferenceJobProps(%s)" % ", ".join(
|
|
2182
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2183
|
+
)
|
|
2184
|
+
|
|
2185
|
+
|
|
2186
|
+
class RosSignature(
|
|
2187
|
+
_ros_cdk_core_7adfd82f.RosResource,
|
|
2188
|
+
metaclass=jsii.JSIIMeta,
|
|
2189
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosSignature",
|
|
2190
|
+
):
|
|
2191
|
+
'''This class is a base encapsulation around the ROS resource type ``ALIYUN::PAIPlugin::Signature``.
|
|
2192
|
+
|
|
2193
|
+
:Note:
|
|
2194
|
+
|
|
2195
|
+
This class does not contain additional functions, so it is recommended to use the ``Signature`` class instead of this class for a more convenient development experience.
|
|
2196
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-signature
|
|
2197
|
+
'''
|
|
2198
|
+
|
|
2199
|
+
def __init__(
|
|
2200
|
+
self,
|
|
2201
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
2202
|
+
id: builtins.str,
|
|
2203
|
+
props: typing.Union["RosSignatureProps", typing.Dict[builtins.str, typing.Any]],
|
|
2204
|
+
enable_resource_property_constraint: builtins.bool,
|
|
2205
|
+
) -> None:
|
|
2206
|
+
'''
|
|
2207
|
+
:param scope: - scope in which this resource is defined.
|
|
2208
|
+
:param id: - scoped id of the resource.
|
|
2209
|
+
:param props: - resource properties.
|
|
2210
|
+
:param enable_resource_property_constraint: -
|
|
2211
|
+
'''
|
|
2212
|
+
if __debug__:
|
|
2213
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8bc31d177a7c9333439ccd42d60d12c555f6b0e12fe9918e7de3449c3eece375)
|
|
2214
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2215
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2216
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2217
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
2218
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
2219
|
+
|
|
2220
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2221
|
+
def _render_properties(
|
|
2222
|
+
self,
|
|
2223
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2224
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2225
|
+
'''
|
|
2226
|
+
:param props: -
|
|
2227
|
+
'''
|
|
2228
|
+
if __debug__:
|
|
2229
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c07cf8815b9a265a51b741da602a917cf849c4f282783b127104d81d9cc83297)
|
|
2230
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2231
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2232
|
+
|
|
2233
|
+
@jsii.python.classproperty
|
|
2234
|
+
@jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME")
|
|
2235
|
+
def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2236
|
+
'''The resource type name for this resource class.'''
|
|
2237
|
+
return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME"))
|
|
2238
|
+
|
|
2239
|
+
@builtins.property
|
|
2240
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
2241
|
+
def attr_created_time(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2242
|
+
'''
|
|
2243
|
+
:Attribute: CreatedTime: The creation time of the Signature.
|
|
2244
|
+
'''
|
|
2245
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrCreatedTime"))
|
|
2246
|
+
|
|
2247
|
+
@builtins.property
|
|
2248
|
+
@jsii.member(jsii_name="attrDescription")
|
|
2249
|
+
def attr_description(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2250
|
+
'''
|
|
2251
|
+
:Attribute: Description: Application instructions.
|
|
2252
|
+
'''
|
|
2253
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrDescription"))
|
|
2254
|
+
|
|
2255
|
+
@builtins.property
|
|
2256
|
+
@jsii.member(jsii_name="attrId")
|
|
2257
|
+
def attr_id(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2258
|
+
'''
|
|
2259
|
+
:Attribute: Id: The ID of the Signature.
|
|
2260
|
+
'''
|
|
2261
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrId"))
|
|
2262
|
+
|
|
2263
|
+
@builtins.property
|
|
2264
|
+
@jsii.member(jsii_name="attrName")
|
|
2265
|
+
def attr_name(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2266
|
+
'''
|
|
2267
|
+
:Attribute: Name: The name of the Signature.
|
|
2268
|
+
'''
|
|
2269
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrName"))
|
|
2270
|
+
|
|
2271
|
+
@builtins.property
|
|
2272
|
+
@jsii.member(jsii_name="attrReason")
|
|
2273
|
+
def attr_reason(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2274
|
+
'''
|
|
2275
|
+
:Attribute: Reason: Review recommendations.
|
|
2276
|
+
'''
|
|
2277
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrReason"))
|
|
2278
|
+
|
|
2279
|
+
@builtins.property
|
|
2280
|
+
@jsii.member(jsii_name="rosProperties")
|
|
2281
|
+
def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2282
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties"))
|
|
2283
|
+
|
|
2284
|
+
@builtins.property
|
|
2285
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
2286
|
+
def enable_resource_property_constraint(self) -> builtins.bool:
|
|
2287
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
2288
|
+
|
|
2289
|
+
@enable_resource_property_constraint.setter
|
|
2290
|
+
def enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
2291
|
+
if __debug__:
|
|
2292
|
+
type_hints = typing.get_type_hints(_typecheckingstub__771942f6809ffacd0e11a5960ef41f3f6f74405d5ed6f093d4579ba3b972e808)
|
|
2293
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2294
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
2295
|
+
|
|
2296
|
+
@builtins.property
|
|
2297
|
+
@jsii.member(jsii_name="name")
|
|
2298
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2299
|
+
'''
|
|
2300
|
+
:Property: name: The name of the Signature.
|
|
2301
|
+
'''
|
|
2302
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "name"))
|
|
2303
|
+
|
|
2304
|
+
@name.setter
|
|
2305
|
+
def name(
|
|
2306
|
+
self,
|
|
2307
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2308
|
+
) -> None:
|
|
2309
|
+
if __debug__:
|
|
2310
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a1e0229dcb1b1f20416b7739ff98f1fa3d365f38145fd08827db19ea96153229)
|
|
2311
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2312
|
+
jsii.set(self, "name", value)
|
|
2313
|
+
|
|
2314
|
+
@builtins.property
|
|
2315
|
+
@jsii.member(jsii_name="description")
|
|
2316
|
+
def description(
|
|
2317
|
+
self,
|
|
2318
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2319
|
+
'''
|
|
2320
|
+
:Property: description: Application instructions.
|
|
2321
|
+
'''
|
|
2322
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "description"))
|
|
2323
|
+
|
|
2324
|
+
@description.setter
|
|
2325
|
+
def description(
|
|
2326
|
+
self,
|
|
2327
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
2328
|
+
) -> None:
|
|
2329
|
+
if __debug__:
|
|
2330
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bd18f9772f9b9f5aeeabfb61740fcccba832590a0557e7833258208f02c34d20)
|
|
2331
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2332
|
+
jsii.set(self, "description", value)
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
@jsii.data_type(
|
|
2336
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosSignatureProps",
|
|
2337
|
+
jsii_struct_bases=[],
|
|
2338
|
+
name_mapping={"name": "name", "description": "description"},
|
|
2339
|
+
)
|
|
2340
|
+
class RosSignatureProps:
|
|
2341
|
+
def __init__(
|
|
2342
|
+
self,
|
|
2343
|
+
*,
|
|
2344
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2345
|
+
description: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
2346
|
+
) -> None:
|
|
2347
|
+
'''Properties for defining a ``RosSignature``.
|
|
2348
|
+
|
|
2349
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-signature
|
|
2350
|
+
|
|
2351
|
+
:param name:
|
|
2352
|
+
:param description:
|
|
2353
|
+
'''
|
|
2354
|
+
if __debug__:
|
|
2355
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2db14e0769b62fa39e4e2517e367ed1d81c3daa3e268c552e1a625eb324926fd)
|
|
2356
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2357
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2358
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2359
|
+
"name": name,
|
|
2360
|
+
}
|
|
2361
|
+
if description is not None:
|
|
2362
|
+
self._values["description"] = description
|
|
2363
|
+
|
|
2364
|
+
@builtins.property
|
|
2365
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2366
|
+
'''
|
|
2367
|
+
:Property: name: The name of the Signature.
|
|
2368
|
+
'''
|
|
2369
|
+
result = self._values.get("name")
|
|
2370
|
+
assert result is not None, "Required property 'name' is missing"
|
|
2371
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2372
|
+
|
|
2373
|
+
@builtins.property
|
|
2374
|
+
def description(
|
|
2375
|
+
self,
|
|
2376
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2377
|
+
'''
|
|
2378
|
+
:Property: description: Application instructions.
|
|
2379
|
+
'''
|
|
2380
|
+
result = self._values.get("description")
|
|
2381
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
2382
|
+
|
|
2383
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2384
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2385
|
+
|
|
2386
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2387
|
+
return not (rhs == self)
|
|
2388
|
+
|
|
2389
|
+
def __repr__(self) -> str:
|
|
2390
|
+
return "RosSignatureProps(%s)" % ", ".join(
|
|
2391
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2392
|
+
)
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
class RosTemplate(
|
|
2396
|
+
_ros_cdk_core_7adfd82f.RosResource,
|
|
2397
|
+
metaclass=jsii.JSIIMeta,
|
|
2398
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosTemplate",
|
|
2399
|
+
):
|
|
2400
|
+
'''This class is a base encapsulation around the ROS resource type ``ALIYUN::PAIPlugin::Template``.
|
|
2401
|
+
|
|
2402
|
+
:Note:
|
|
2403
|
+
|
|
2404
|
+
This class does not contain additional functions, so it is recommended to use the ``Template`` class instead of this class for a more convenient development experience.
|
|
2405
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-template
|
|
2406
|
+
'''
|
|
2407
|
+
|
|
2408
|
+
def __init__(
|
|
2409
|
+
self,
|
|
2410
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
2411
|
+
id: builtins.str,
|
|
2412
|
+
props: typing.Union["RosTemplateProps", typing.Dict[builtins.str, typing.Any]],
|
|
2413
|
+
enable_resource_property_constraint: builtins.bool,
|
|
2414
|
+
) -> None:
|
|
2415
|
+
'''
|
|
2416
|
+
:param scope: - scope in which this resource is defined.
|
|
2417
|
+
:param id: - scoped id of the resource.
|
|
2418
|
+
:param props: - resource properties.
|
|
2419
|
+
:param enable_resource_property_constraint: -
|
|
2420
|
+
'''
|
|
2421
|
+
if __debug__:
|
|
2422
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2a19a260247482875184eec9c743e7d4c02fde9e05875b3f6e3353291f09bfbb)
|
|
2423
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2424
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2425
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2426
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
2427
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
2428
|
+
|
|
2429
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2430
|
+
def _render_properties(
|
|
2431
|
+
self,
|
|
2432
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2433
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2434
|
+
'''
|
|
2435
|
+
:param props: -
|
|
2436
|
+
'''
|
|
2437
|
+
if __debug__:
|
|
2438
|
+
type_hints = typing.get_type_hints(_typecheckingstub__136fc38fdbc29a6ca3d4d1b3dec1c4c57887b8afc824c1fb85d63d07e087e31b)
|
|
2439
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2440
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2441
|
+
|
|
2442
|
+
@jsii.python.classproperty
|
|
2443
|
+
@jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME")
|
|
2444
|
+
def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2445
|
+
'''The resource type name for this resource class.'''
|
|
2446
|
+
return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME"))
|
|
2447
|
+
|
|
2448
|
+
@builtins.property
|
|
2449
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
2450
|
+
def attr_created_time(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2451
|
+
'''
|
|
2452
|
+
:Attribute: CreatedTime: The creation time of the Signature.
|
|
2453
|
+
'''
|
|
2454
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrCreatedTime"))
|
|
2455
|
+
|
|
2456
|
+
@builtins.property
|
|
2457
|
+
@jsii.member(jsii_name="attrDescription")
|
|
2458
|
+
def attr_description(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2459
|
+
'''
|
|
2460
|
+
:Attribute: Description: Application instructions.
|
|
2461
|
+
'''
|
|
2462
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrDescription"))
|
|
2463
|
+
|
|
2464
|
+
@builtins.property
|
|
2465
|
+
@jsii.member(jsii_name="attrId")
|
|
2466
|
+
def attr_id(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2467
|
+
'''
|
|
2468
|
+
:Attribute: Id: The ID of the Signature.
|
|
2469
|
+
'''
|
|
2470
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrId"))
|
|
2471
|
+
|
|
2472
|
+
@builtins.property
|
|
2473
|
+
@jsii.member(jsii_name="attrName")
|
|
2474
|
+
def attr_name(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2475
|
+
'''
|
|
2476
|
+
:Attribute: Name: The name of the Signature.
|
|
2477
|
+
'''
|
|
2478
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrName"))
|
|
2479
|
+
|
|
2480
|
+
@builtins.property
|
|
2481
|
+
@jsii.member(jsii_name="attrReason")
|
|
2482
|
+
def attr_reason(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2483
|
+
'''
|
|
2484
|
+
:Attribute: Reason: Review recommendations.
|
|
2485
|
+
'''
|
|
2486
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrReason"))
|
|
2487
|
+
|
|
2488
|
+
@builtins.property
|
|
2489
|
+
@jsii.member(jsii_name="rosProperties")
|
|
2490
|
+
def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2491
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties"))
|
|
2492
|
+
|
|
2493
|
+
@builtins.property
|
|
2494
|
+
@jsii.member(jsii_name="content")
|
|
2495
|
+
def content(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2496
|
+
'''
|
|
2497
|
+
:Property: content: The content of the template.
|
|
2498
|
+
'''
|
|
2499
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "content"))
|
|
2500
|
+
|
|
2501
|
+
@content.setter
|
|
2502
|
+
def content(
|
|
2503
|
+
self,
|
|
2504
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2505
|
+
) -> None:
|
|
2506
|
+
if __debug__:
|
|
2507
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c3a2600456638f5f55032d0f49d9d3964c927601dd608d14cb3e23ab38ead0f8)
|
|
2508
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2509
|
+
jsii.set(self, "content", value)
|
|
2510
|
+
|
|
2511
|
+
@builtins.property
|
|
2512
|
+
@jsii.member(jsii_name="description")
|
|
2513
|
+
def description(
|
|
2514
|
+
self,
|
|
2515
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2516
|
+
'''
|
|
2517
|
+
:Property: description: For the template content, please keep the total word count within 70 words. The excess will be charged as long text messages. Each text message is recorded as 67 words.
|
|
2518
|
+
'''
|
|
2519
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "description"))
|
|
2520
|
+
|
|
2521
|
+
@description.setter
|
|
2522
|
+
def description(
|
|
2523
|
+
self,
|
|
2524
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2525
|
+
) -> None:
|
|
2526
|
+
if __debug__:
|
|
2527
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3c9a2986d610b137abeb4b893e29aa4590bc4a414ef03268b3b3a9077f91ca48)
|
|
2528
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2529
|
+
jsii.set(self, "description", value)
|
|
2530
|
+
|
|
2531
|
+
@builtins.property
|
|
2532
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
2533
|
+
def enable_resource_property_constraint(self) -> builtins.bool:
|
|
2534
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
2535
|
+
|
|
2536
|
+
@enable_resource_property_constraint.setter
|
|
2537
|
+
def enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
2538
|
+
if __debug__:
|
|
2539
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9bf5dd55e053fb3ad6fba37967f7c8d088146ed47a4f49680368c59e9ca3b373)
|
|
2540
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2541
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
2542
|
+
|
|
2543
|
+
@builtins.property
|
|
2544
|
+
@jsii.member(jsii_name="name")
|
|
2545
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2546
|
+
'''
|
|
2547
|
+
:Property: name: The name of the template.
|
|
2548
|
+
'''
|
|
2549
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "name"))
|
|
2550
|
+
|
|
2551
|
+
@name.setter
|
|
2552
|
+
def name(
|
|
2553
|
+
self,
|
|
2554
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2555
|
+
) -> None:
|
|
2556
|
+
if __debug__:
|
|
2557
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8013d1c6a80b51bdfbc5eb53d9c3cd13096bdb24ba26d4f84a5943138f430cb2)
|
|
2558
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2559
|
+
jsii.set(self, "name", value)
|
|
2560
|
+
|
|
2561
|
+
@builtins.property
|
|
2562
|
+
@jsii.member(jsii_name="type")
|
|
2563
|
+
def type(self) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2564
|
+
'''
|
|
2565
|
+
:Property:
|
|
2566
|
+
|
|
2567
|
+
type: The type of the template. The following values are supported:
|
|
2568
|
+
0: Verification code.
|
|
2569
|
+
1: SMS notification.
|
|
2570
|
+
2: Promotional SMS.
|
|
2571
|
+
'''
|
|
2572
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "type"))
|
|
2573
|
+
|
|
2574
|
+
@type.setter
|
|
2575
|
+
def type(
|
|
2576
|
+
self,
|
|
2577
|
+
value: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2578
|
+
) -> None:
|
|
2579
|
+
if __debug__:
|
|
2580
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fc1edae3a044e88e6075706bd5e50070b3ae74c1ed98c3693285b3272eaf7a80)
|
|
2581
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2582
|
+
jsii.set(self, "type", value)
|
|
2583
|
+
|
|
2584
|
+
@builtins.property
|
|
2585
|
+
@jsii.member(jsii_name="signature")
|
|
2586
|
+
def signature(
|
|
2587
|
+
self,
|
|
2588
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2589
|
+
'''
|
|
2590
|
+
:Property: signature: The name of the Signature, You must select either Signature or SignatureId, but not both.
|
|
2591
|
+
'''
|
|
2592
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "signature"))
|
|
2593
|
+
|
|
2594
|
+
@signature.setter
|
|
2595
|
+
def signature(
|
|
2596
|
+
self,
|
|
2597
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
2598
|
+
) -> None:
|
|
2599
|
+
if __debug__:
|
|
2600
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6bfe9c8cb7606698df3eb86694ee5e183fd6e93d7adddec39162a7cd8bf66565)
|
|
2601
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2602
|
+
jsii.set(self, "signature", value)
|
|
2603
|
+
|
|
2604
|
+
@builtins.property
|
|
2605
|
+
@jsii.member(jsii_name="signatureId")
|
|
2606
|
+
def signature_id(
|
|
2607
|
+
self,
|
|
2608
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2609
|
+
'''
|
|
2610
|
+
:Property: signatureId: The ID of the Signature, You must select either Signature or SignatureId, but not both.
|
|
2611
|
+
'''
|
|
2612
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "signatureId"))
|
|
2613
|
+
|
|
2614
|
+
@signature_id.setter
|
|
2615
|
+
def signature_id(
|
|
2616
|
+
self,
|
|
2617
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
2618
|
+
) -> None:
|
|
2619
|
+
if __debug__:
|
|
2620
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5a45c79027fa41d5d0a2a7ee84e53df72b44c07739dbd5d5ca901f0f433f7be7)
|
|
2621
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2622
|
+
jsii.set(self, "signatureId", value)
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
@jsii.data_type(
|
|
2626
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosTemplateProps",
|
|
2627
|
+
jsii_struct_bases=[],
|
|
2628
|
+
name_mapping={
|
|
2629
|
+
"content": "content",
|
|
2630
|
+
"description": "description",
|
|
2631
|
+
"name": "name",
|
|
2632
|
+
"type": "type",
|
|
2633
|
+
"signature": "signature",
|
|
2634
|
+
"signature_id": "signatureId",
|
|
2635
|
+
},
|
|
2636
|
+
)
|
|
2637
|
+
class RosTemplateProps:
|
|
2638
|
+
def __init__(
|
|
2639
|
+
self,
|
|
2640
|
+
*,
|
|
2641
|
+
content: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2642
|
+
description: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2643
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2644
|
+
type: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2645
|
+
signature: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
2646
|
+
signature_id: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
2647
|
+
) -> None:
|
|
2648
|
+
'''Properties for defining a ``RosTemplate``.
|
|
2649
|
+
|
|
2650
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-template
|
|
2651
|
+
|
|
2652
|
+
:param content:
|
|
2653
|
+
:param description:
|
|
2654
|
+
:param name:
|
|
2655
|
+
:param type:
|
|
2656
|
+
:param signature:
|
|
2657
|
+
:param signature_id:
|
|
2658
|
+
'''
|
|
2659
|
+
if __debug__:
|
|
2660
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ca94a8753dc3dd9bb4be64587bbe309b07ddda894bfdbba7fbf7c39e2fb6813)
|
|
2661
|
+
check_type(argname="argument content", value=content, expected_type=type_hints["content"])
|
|
2662
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2663
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2664
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
2665
|
+
check_type(argname="argument signature", value=signature, expected_type=type_hints["signature"])
|
|
2666
|
+
check_type(argname="argument signature_id", value=signature_id, expected_type=type_hints["signature_id"])
|
|
2667
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2668
|
+
"content": content,
|
|
2669
|
+
"description": description,
|
|
2670
|
+
"name": name,
|
|
2671
|
+
"type": type,
|
|
2672
|
+
}
|
|
2673
|
+
if signature is not None:
|
|
2674
|
+
self._values["signature"] = signature
|
|
2675
|
+
if signature_id is not None:
|
|
2676
|
+
self._values["signature_id"] = signature_id
|
|
2677
|
+
|
|
2678
|
+
@builtins.property
|
|
2679
|
+
def content(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2680
|
+
'''
|
|
2681
|
+
:Property: content: The content of the template.
|
|
2682
|
+
'''
|
|
2683
|
+
result = self._values.get("content")
|
|
2684
|
+
assert result is not None, "Required property 'content' is missing"
|
|
2685
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2686
|
+
|
|
2687
|
+
@builtins.property
|
|
2688
|
+
def description(
|
|
2689
|
+
self,
|
|
2690
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2691
|
+
'''
|
|
2692
|
+
:Property: description: For the template content, please keep the total word count within 70 words. The excess will be charged as long text messages. Each text message is recorded as 67 words.
|
|
2693
|
+
'''
|
|
2694
|
+
result = self._values.get("description")
|
|
2695
|
+
assert result is not None, "Required property 'description' is missing"
|
|
2696
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2697
|
+
|
|
2698
|
+
@builtins.property
|
|
2699
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2700
|
+
'''
|
|
2701
|
+
:Property: name: The name of the template.
|
|
2702
|
+
'''
|
|
2703
|
+
result = self._values.get("name")
|
|
2704
|
+
assert result is not None, "Required property 'name' is missing"
|
|
2705
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2706
|
+
|
|
2707
|
+
@builtins.property
|
|
2708
|
+
def type(self) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2709
|
+
'''
|
|
2710
|
+
:Property:
|
|
2711
|
+
|
|
2712
|
+
type: The type of the template. The following values are supported:
|
|
2713
|
+
0: Verification code.
|
|
2714
|
+
1: SMS notification.
|
|
2715
|
+
2: Promotional SMS.
|
|
2716
|
+
'''
|
|
2717
|
+
result = self._values.get("type")
|
|
2718
|
+
assert result is not None, "Required property 'type' is missing"
|
|
2719
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
2720
|
+
|
|
2721
|
+
@builtins.property
|
|
2722
|
+
def signature(
|
|
2723
|
+
self,
|
|
2724
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2725
|
+
'''
|
|
2726
|
+
:Property: signature: The name of the Signature, You must select either Signature or SignatureId, but not both.
|
|
2727
|
+
'''
|
|
2728
|
+
result = self._values.get("signature")
|
|
2729
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
2730
|
+
|
|
2731
|
+
@builtins.property
|
|
2732
|
+
def signature_id(
|
|
2733
|
+
self,
|
|
2734
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2735
|
+
'''
|
|
2736
|
+
:Property: signatureId: The ID of the Signature, You must select either Signature or SignatureId, but not both.
|
|
2737
|
+
'''
|
|
2738
|
+
result = self._values.get("signature_id")
|
|
2739
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
2740
|
+
|
|
2741
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2742
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2743
|
+
|
|
2744
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2745
|
+
return not (rhs == self)
|
|
2746
|
+
|
|
2747
|
+
def __repr__(self) -> str:
|
|
2748
|
+
return "RosTemplateProps(%s)" % ", ".join(
|
|
2749
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2750
|
+
)
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
class RosTrainingJob(
|
|
2754
|
+
_ros_cdk_core_7adfd82f.RosResource,
|
|
2755
|
+
metaclass=jsii.JSIIMeta,
|
|
2756
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosTrainingJob",
|
|
2757
|
+
):
|
|
2758
|
+
'''This class is a base encapsulation around the ROS resource type ``ALIYUN::PAIPlugin::TrainingJob``, which is used to create a training job.
|
|
2759
|
+
|
|
2760
|
+
:Note:
|
|
2761
|
+
|
|
2762
|
+
This class does not contain additional functions, so it is recommended to use the ``TrainingJob`` class instead of this class for a more convenient development experience.
|
|
2763
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-trainingjob
|
|
2764
|
+
'''
|
|
2765
|
+
|
|
2766
|
+
def __init__(
|
|
2767
|
+
self,
|
|
2768
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
2769
|
+
id: builtins.str,
|
|
2770
|
+
props: typing.Union["RosTrainingJobProps", typing.Dict[builtins.str, typing.Any]],
|
|
2771
|
+
enable_resource_property_constraint: builtins.bool,
|
|
2772
|
+
) -> None:
|
|
2773
|
+
'''
|
|
2774
|
+
:param scope: - scope in which this resource is defined.
|
|
2775
|
+
:param id: - scoped id of the resource.
|
|
2776
|
+
:param props: - resource properties.
|
|
2777
|
+
:param enable_resource_property_constraint: -
|
|
2778
|
+
'''
|
|
2779
|
+
if __debug__:
|
|
2780
|
+
type_hints = typing.get_type_hints(_typecheckingstub__89afcb05d2c2880af6295f48f89a4f65d596c10e666043cab7fc3de63da32d08)
|
|
2781
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2782
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2783
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2784
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
2785
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
2786
|
+
|
|
2787
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2788
|
+
def _render_properties(
|
|
2789
|
+
self,
|
|
2790
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2791
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2792
|
+
'''
|
|
2793
|
+
:param props: -
|
|
2794
|
+
'''
|
|
2795
|
+
if __debug__:
|
|
2796
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e1eae5e9785bc375cc8c0d7b870745749fd80d2db972f30210e51582fd09ae04)
|
|
2797
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2798
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2799
|
+
|
|
2800
|
+
@jsii.python.classproperty
|
|
2801
|
+
@jsii.member(jsii_name="ROS_RESOURCE_TYPE_NAME")
|
|
2802
|
+
def ROS_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2803
|
+
'''The resource type name for this resource class.'''
|
|
2804
|
+
return typing.cast(builtins.str, jsii.sget(cls, "ROS_RESOURCE_TYPE_NAME"))
|
|
2805
|
+
|
|
2806
|
+
@builtins.property
|
|
2807
|
+
@jsii.member(jsii_name="attrTrainingJobId")
|
|
2808
|
+
def attr_training_job_id(self) -> _ros_cdk_core_7adfd82f.IResolvable:
|
|
2809
|
+
'''
|
|
2810
|
+
:Attribute: TrainingJobId: The training job id.
|
|
2811
|
+
'''
|
|
2812
|
+
return typing.cast(_ros_cdk_core_7adfd82f.IResolvable, jsii.get(self, "attrTrainingJobId"))
|
|
2813
|
+
|
|
2814
|
+
@builtins.property
|
|
2815
|
+
@jsii.member(jsii_name="rosProperties")
|
|
2816
|
+
def _ros_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2817
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "rosProperties"))
|
|
2818
|
+
|
|
2819
|
+
@builtins.property
|
|
2820
|
+
@jsii.member(jsii_name="algorithm")
|
|
2821
|
+
def algorithm(
|
|
2822
|
+
self,
|
|
2823
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2824
|
+
'''
|
|
2825
|
+
:Property: algorithm: The algorithm used in training.
|
|
2826
|
+
'''
|
|
2827
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "algorithm"))
|
|
2828
|
+
|
|
2829
|
+
@algorithm.setter
|
|
2830
|
+
def algorithm(
|
|
2831
|
+
self,
|
|
2832
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2833
|
+
) -> None:
|
|
2834
|
+
if __debug__:
|
|
2835
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2e48fdb018ba7d6c92edad14ee6807a5c440f515595a83840fa268b6c1652139)
|
|
2836
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2837
|
+
jsii.set(self, "algorithm", value)
|
|
2838
|
+
|
|
2839
|
+
@builtins.property
|
|
2840
|
+
@jsii.member(jsii_name="campaignId")
|
|
2841
|
+
def campaign_id(
|
|
2842
|
+
self,
|
|
2843
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2844
|
+
'''
|
|
2845
|
+
:Property: campaignId: The related campaign Id.
|
|
2846
|
+
'''
|
|
2847
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "campaignId"))
|
|
2848
|
+
|
|
2849
|
+
@campaign_id.setter
|
|
2850
|
+
def campaign_id(
|
|
2851
|
+
self,
|
|
2852
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2853
|
+
) -> None:
|
|
2854
|
+
if __debug__:
|
|
2855
|
+
type_hints = typing.get_type_hints(_typecheckingstub__37aa4082a38bac2fe6a209dfe83cbb058d6e16c2572f8021526098956d3eb127)
|
|
2856
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2857
|
+
jsii.set(self, "campaignId", value)
|
|
2858
|
+
|
|
2859
|
+
@builtins.property
|
|
2860
|
+
@jsii.member(jsii_name="dataPath")
|
|
2861
|
+
def data_path(
|
|
2862
|
+
self,
|
|
2863
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2864
|
+
'''
|
|
2865
|
+
:Property: dataPath: The training data path in OSS bucket.
|
|
2866
|
+
'''
|
|
2867
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "dataPath"))
|
|
2868
|
+
|
|
2869
|
+
@data_path.setter
|
|
2870
|
+
def data_path(
|
|
2871
|
+
self,
|
|
2872
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2873
|
+
) -> None:
|
|
2874
|
+
if __debug__:
|
|
2875
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e07de042739a95f82e601675785743fef135e37b5cc9a65a3174ef0af1ec0f31)
|
|
2876
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2877
|
+
jsii.set(self, "dataPath", value)
|
|
2878
|
+
|
|
2879
|
+
@builtins.property
|
|
2880
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
2881
|
+
def enable_resource_property_constraint(self) -> builtins.bool:
|
|
2882
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
2883
|
+
|
|
2884
|
+
@enable_resource_property_constraint.setter
|
|
2885
|
+
def enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
2886
|
+
if __debug__:
|
|
2887
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b10466a538ed87c80598600c9406e6464f3f80f10e9365a66168437c5168142b)
|
|
2888
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2889
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
2890
|
+
|
|
2891
|
+
@builtins.property
|
|
2892
|
+
@jsii.member(jsii_name="name")
|
|
2893
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
2894
|
+
'''
|
|
2895
|
+
:Property: name: The name of training job.
|
|
2896
|
+
'''
|
|
2897
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "name"))
|
|
2898
|
+
|
|
2899
|
+
@name.setter
|
|
2900
|
+
def name(
|
|
2901
|
+
self,
|
|
2902
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2903
|
+
) -> None:
|
|
2904
|
+
if __debug__:
|
|
2905
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d4fce401eb7e93a5ecf3112175c4467cb311d3291544a2854f21d359f7597ea0)
|
|
2906
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2907
|
+
jsii.set(self, "name", value)
|
|
2908
|
+
|
|
2909
|
+
@builtins.property
|
|
2910
|
+
@jsii.member(jsii_name="userConfig")
|
|
2911
|
+
def user_config(
|
|
2912
|
+
self,
|
|
2913
|
+
) -> typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]]:
|
|
2914
|
+
'''
|
|
2915
|
+
:Property: userConfig: User configuration is used to set parameters such as start_date and end_date to delineate the time range of modeling data.
|
|
2916
|
+
'''
|
|
2917
|
+
return typing.cast(typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]], jsii.get(self, "userConfig"))
|
|
2918
|
+
|
|
2919
|
+
@user_config.setter
|
|
2920
|
+
def user_config(
|
|
2921
|
+
self,
|
|
2922
|
+
value: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
2923
|
+
) -> None:
|
|
2924
|
+
if __debug__:
|
|
2925
|
+
type_hints = typing.get_type_hints(_typecheckingstub__46ae961fc9292e4b28eaa4649d113caa3738ab29692430ab7575e39623be8e7b)
|
|
2926
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2927
|
+
jsii.set(self, "userConfig", value)
|
|
2928
|
+
|
|
2929
|
+
@builtins.property
|
|
2930
|
+
@jsii.member(jsii_name="remark")
|
|
2931
|
+
def remark(
|
|
2932
|
+
self,
|
|
2933
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2934
|
+
'''
|
|
2935
|
+
:Property: remark: The remark of training job.
|
|
2936
|
+
'''
|
|
2937
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "remark"))
|
|
2938
|
+
|
|
2939
|
+
@remark.setter
|
|
2940
|
+
def remark(
|
|
2941
|
+
self,
|
|
2942
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
2943
|
+
) -> None:
|
|
2944
|
+
if __debug__:
|
|
2945
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2c0d7e7459d4c929f1c255f891cbd3aa12b58ba42ba06e91795515f1b0f0939f)
|
|
2946
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2947
|
+
jsii.set(self, "remark", value)
|
|
2948
|
+
|
|
2949
|
+
@builtins.property
|
|
2950
|
+
@jsii.member(jsii_name="waitForTrainingFinish")
|
|
2951
|
+
def wait_for_training_finish(
|
|
2952
|
+
self,
|
|
2953
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
2954
|
+
'''
|
|
2955
|
+
:Property: waitForTrainingFinish: Whether resource creation waits for the training task to complete.The longest waiting time is 40 minutes
|
|
2956
|
+
'''
|
|
2957
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], jsii.get(self, "waitForTrainingFinish"))
|
|
2958
|
+
|
|
2959
|
+
@wait_for_training_finish.setter
|
|
2960
|
+
def wait_for_training_finish(
|
|
2961
|
+
self,
|
|
2962
|
+
value: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
2963
|
+
) -> None:
|
|
2964
|
+
if __debug__:
|
|
2965
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a8578299b4ea2ebb255e19b5d7c400844707d7bd0cee58bae66a0497e10070ff)
|
|
2966
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2967
|
+
jsii.set(self, "waitForTrainingFinish", value)
|
|
2968
|
+
|
|
2969
|
+
|
|
2970
|
+
@jsii.data_type(
|
|
2971
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.RosTrainingJobProps",
|
|
2972
|
+
jsii_struct_bases=[],
|
|
2973
|
+
name_mapping={
|
|
2974
|
+
"algorithm": "algorithm",
|
|
2975
|
+
"campaign_id": "campaignId",
|
|
2976
|
+
"data_path": "dataPath",
|
|
2977
|
+
"name": "name",
|
|
2978
|
+
"user_config": "userConfig",
|
|
2979
|
+
"remark": "remark",
|
|
2980
|
+
"wait_for_training_finish": "waitForTrainingFinish",
|
|
2981
|
+
},
|
|
2982
|
+
)
|
|
2983
|
+
class RosTrainingJobProps:
|
|
2984
|
+
def __init__(
|
|
2985
|
+
self,
|
|
2986
|
+
*,
|
|
2987
|
+
algorithm: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2988
|
+
campaign_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2989
|
+
data_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2990
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
2991
|
+
user_config: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
2992
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
2993
|
+
wait_for_training_finish: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
2994
|
+
) -> None:
|
|
2995
|
+
'''Properties for defining a ``RosTrainingJob``.
|
|
2996
|
+
|
|
2997
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-trainingjob
|
|
2998
|
+
|
|
2999
|
+
:param algorithm:
|
|
3000
|
+
:param campaign_id:
|
|
3001
|
+
:param data_path:
|
|
3002
|
+
:param name:
|
|
3003
|
+
:param user_config:
|
|
3004
|
+
:param remark:
|
|
3005
|
+
:param wait_for_training_finish:
|
|
3006
|
+
'''
|
|
3007
|
+
if __debug__:
|
|
3008
|
+
type_hints = typing.get_type_hints(_typecheckingstub__432e70b8dcc47a6562e2060757cd5f367193a935063c3fbd1b3226deb75c7b44)
|
|
3009
|
+
check_type(argname="argument algorithm", value=algorithm, expected_type=type_hints["algorithm"])
|
|
3010
|
+
check_type(argname="argument campaign_id", value=campaign_id, expected_type=type_hints["campaign_id"])
|
|
3011
|
+
check_type(argname="argument data_path", value=data_path, expected_type=type_hints["data_path"])
|
|
3012
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3013
|
+
check_type(argname="argument user_config", value=user_config, expected_type=type_hints["user_config"])
|
|
3014
|
+
check_type(argname="argument remark", value=remark, expected_type=type_hints["remark"])
|
|
3015
|
+
check_type(argname="argument wait_for_training_finish", value=wait_for_training_finish, expected_type=type_hints["wait_for_training_finish"])
|
|
3016
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3017
|
+
"algorithm": algorithm,
|
|
3018
|
+
"campaign_id": campaign_id,
|
|
3019
|
+
"data_path": data_path,
|
|
3020
|
+
"name": name,
|
|
3021
|
+
"user_config": user_config,
|
|
3022
|
+
}
|
|
3023
|
+
if remark is not None:
|
|
3024
|
+
self._values["remark"] = remark
|
|
3025
|
+
if wait_for_training_finish is not None:
|
|
3026
|
+
self._values["wait_for_training_finish"] = wait_for_training_finish
|
|
3027
|
+
|
|
3028
|
+
@builtins.property
|
|
3029
|
+
def algorithm(
|
|
3030
|
+
self,
|
|
3031
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3032
|
+
'''
|
|
3033
|
+
:Property: algorithm: The algorithm used in training.
|
|
3034
|
+
'''
|
|
3035
|
+
result = self._values.get("algorithm")
|
|
3036
|
+
assert result is not None, "Required property 'algorithm' is missing"
|
|
3037
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3038
|
+
|
|
3039
|
+
@builtins.property
|
|
3040
|
+
def campaign_id(
|
|
3041
|
+
self,
|
|
3042
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3043
|
+
'''
|
|
3044
|
+
:Property: campaignId: The related campaign Id.
|
|
3045
|
+
'''
|
|
3046
|
+
result = self._values.get("campaign_id")
|
|
3047
|
+
assert result is not None, "Required property 'campaign_id' is missing"
|
|
3048
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3049
|
+
|
|
3050
|
+
@builtins.property
|
|
3051
|
+
def data_path(
|
|
3052
|
+
self,
|
|
3053
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3054
|
+
'''
|
|
3055
|
+
:Property: dataPath: The training data path in OSS bucket.
|
|
3056
|
+
'''
|
|
3057
|
+
result = self._values.get("data_path")
|
|
3058
|
+
assert result is not None, "Required property 'data_path' is missing"
|
|
3059
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3060
|
+
|
|
3061
|
+
@builtins.property
|
|
3062
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3063
|
+
'''
|
|
3064
|
+
:Property: name: The name of training job.
|
|
3065
|
+
'''
|
|
3066
|
+
result = self._values.get("name")
|
|
3067
|
+
assert result is not None, "Required property 'name' is missing"
|
|
3068
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3069
|
+
|
|
3070
|
+
@builtins.property
|
|
3071
|
+
def user_config(
|
|
3072
|
+
self,
|
|
3073
|
+
) -> typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]]:
|
|
3074
|
+
'''
|
|
3075
|
+
:Property: userConfig: User configuration is used to set parameters such as start_date and end_date to delineate the time range of modeling data.
|
|
3076
|
+
'''
|
|
3077
|
+
result = self._values.get("user_config")
|
|
3078
|
+
assert result is not None, "Required property 'user_config' is missing"
|
|
3079
|
+
return typing.cast(typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]], result)
|
|
3080
|
+
|
|
3081
|
+
@builtins.property
|
|
3082
|
+
def remark(
|
|
3083
|
+
self,
|
|
3084
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
3085
|
+
'''
|
|
3086
|
+
:Property: remark: The remark of training job.
|
|
3087
|
+
'''
|
|
3088
|
+
result = self._values.get("remark")
|
|
3089
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
3090
|
+
|
|
3091
|
+
@builtins.property
|
|
3092
|
+
def wait_for_training_finish(
|
|
3093
|
+
self,
|
|
3094
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
3095
|
+
'''
|
|
3096
|
+
:Property: waitForTrainingFinish: Whether resource creation waits for the training task to complete.The longest waiting time is 40 minutes
|
|
3097
|
+
'''
|
|
3098
|
+
result = self._values.get("wait_for_training_finish")
|
|
3099
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
3100
|
+
|
|
3101
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3102
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3103
|
+
|
|
3104
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3105
|
+
return not (rhs == self)
|
|
3106
|
+
|
|
3107
|
+
def __repr__(self) -> str:
|
|
3108
|
+
return "RosTrainingJobProps(%s)" % ", ".join(
|
|
3109
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3110
|
+
)
|
|
3111
|
+
|
|
3112
|
+
|
|
3113
|
+
@jsii.implements(ISignature)
|
|
3114
|
+
class Signature(
|
|
3115
|
+
_ros_cdk_core_7adfd82f.Resource,
|
|
3116
|
+
metaclass=jsii.JSIIMeta,
|
|
3117
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.Signature",
|
|
3118
|
+
):
|
|
3119
|
+
'''This class encapsulates and extends the ROS resource type ``ALIYUN::PAIPlugin::Signature``.
|
|
3120
|
+
|
|
3121
|
+
:Note:
|
|
3122
|
+
|
|
3123
|
+
This class may have some new functions to facilitate development, so it is recommended to use this class instead of ``RosSignature``for a more convenient development experience.
|
|
3124
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-signature
|
|
3125
|
+
'''
|
|
3126
|
+
|
|
3127
|
+
def __init__(
|
|
3128
|
+
self,
|
|
3129
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
3130
|
+
id: builtins.str,
|
|
3131
|
+
props: typing.Union["SignatureProps", typing.Dict[builtins.str, typing.Any]],
|
|
3132
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
3133
|
+
) -> None:
|
|
3134
|
+
'''Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
|
3135
|
+
|
|
3136
|
+
:param scope: -
|
|
3137
|
+
:param id: -
|
|
3138
|
+
:param props: -
|
|
3139
|
+
:param enable_resource_property_constraint: -
|
|
3140
|
+
'''
|
|
3141
|
+
if __debug__:
|
|
3142
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c82fcac36af6c18b166a3606950472b73ed189e7adbb6a11f546e0cd735ac9e2)
|
|
3143
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3144
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3145
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
3146
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
3147
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
3148
|
+
|
|
3149
|
+
@builtins.property
|
|
3150
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
3151
|
+
def attr_created_time(
|
|
3152
|
+
self,
|
|
3153
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3154
|
+
'''Attribute CreatedTime: The creation time of the Signature.'''
|
|
3155
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrCreatedTime"))
|
|
3156
|
+
|
|
3157
|
+
@builtins.property
|
|
3158
|
+
@jsii.member(jsii_name="attrDescription")
|
|
3159
|
+
def attr_description(
|
|
3160
|
+
self,
|
|
3161
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3162
|
+
'''Attribute Description: Application instructions.'''
|
|
3163
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrDescription"))
|
|
3164
|
+
|
|
3165
|
+
@builtins.property
|
|
3166
|
+
@jsii.member(jsii_name="attrId")
|
|
3167
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3168
|
+
'''Attribute Id: The ID of the Signature.'''
|
|
3169
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrId"))
|
|
3170
|
+
|
|
3171
|
+
@builtins.property
|
|
3172
|
+
@jsii.member(jsii_name="attrName")
|
|
3173
|
+
def attr_name(
|
|
3174
|
+
self,
|
|
3175
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3176
|
+
'''Attribute Name: The name of the Signature.'''
|
|
3177
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrName"))
|
|
3178
|
+
|
|
3179
|
+
@builtins.property
|
|
3180
|
+
@jsii.member(jsii_name="attrReason")
|
|
3181
|
+
def attr_reason(
|
|
3182
|
+
self,
|
|
3183
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3184
|
+
'''Attribute Reason: Review recommendations.'''
|
|
3185
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrReason"))
|
|
3186
|
+
|
|
3187
|
+
@builtins.property
|
|
3188
|
+
@jsii.member(jsii_name="props")
|
|
3189
|
+
def props(self) -> "SignatureProps":
|
|
3190
|
+
return typing.cast("SignatureProps", jsii.get(self, "props"))
|
|
3191
|
+
|
|
3192
|
+
@builtins.property
|
|
3193
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
3194
|
+
def _enable_resource_property_constraint(self) -> builtins.bool:
|
|
3195
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
3196
|
+
|
|
3197
|
+
@_enable_resource_property_constraint.setter
|
|
3198
|
+
def _enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
3199
|
+
if __debug__:
|
|
3200
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d29731b0f61c53a3c7c1eda13b05c0f32bcf381c4c7e2dbb2da57400f216345f)
|
|
3201
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3202
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
3203
|
+
|
|
3204
|
+
@builtins.property
|
|
3205
|
+
@jsii.member(jsii_name="id")
|
|
3206
|
+
def _id(self) -> builtins.str:
|
|
3207
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
3208
|
+
|
|
3209
|
+
@_id.setter
|
|
3210
|
+
def _id(self, value: builtins.str) -> None:
|
|
3211
|
+
if __debug__:
|
|
3212
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d3211d9a46f15458c66ac08d43b72e9a03ce757c9eac850a0587b9e3a60763a3)
|
|
3213
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3214
|
+
jsii.set(self, "id", value)
|
|
3215
|
+
|
|
3216
|
+
@builtins.property
|
|
3217
|
+
@jsii.member(jsii_name="scope")
|
|
3218
|
+
def _scope(self) -> _ros_cdk_core_7adfd82f.Construct:
|
|
3219
|
+
return typing.cast(_ros_cdk_core_7adfd82f.Construct, jsii.get(self, "scope"))
|
|
3220
|
+
|
|
3221
|
+
@_scope.setter
|
|
3222
|
+
def _scope(self, value: _ros_cdk_core_7adfd82f.Construct) -> None:
|
|
3223
|
+
if __debug__:
|
|
3224
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c650330ae04b357ff0de9aa36538e390595fb0f5a6e0f9be42f0dcb2aa2abb1f)
|
|
3225
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3226
|
+
jsii.set(self, "scope", value)
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
@jsii.data_type(
|
|
3230
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.SignatureProps",
|
|
3231
|
+
jsii_struct_bases=[],
|
|
3232
|
+
name_mapping={"name": "name", "description": "description"},
|
|
3233
|
+
)
|
|
3234
|
+
class SignatureProps:
|
|
3235
|
+
def __init__(
|
|
3236
|
+
self,
|
|
3237
|
+
*,
|
|
3238
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3239
|
+
description: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3240
|
+
) -> None:
|
|
3241
|
+
'''Properties for defining a ``Signature``.
|
|
3242
|
+
|
|
3243
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-signature
|
|
3244
|
+
|
|
3245
|
+
:param name: Property name: The name of the Signature.
|
|
3246
|
+
:param description: Property description: Application instructions.
|
|
3247
|
+
'''
|
|
3248
|
+
if __debug__:
|
|
3249
|
+
type_hints = typing.get_type_hints(_typecheckingstub__286e49536c7d1d708712639568dd33236d76e12ae952be44bd4d940a5fc69ff6)
|
|
3250
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3251
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
3252
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3253
|
+
"name": name,
|
|
3254
|
+
}
|
|
3255
|
+
if description is not None:
|
|
3256
|
+
self._values["description"] = description
|
|
3257
|
+
|
|
3258
|
+
@builtins.property
|
|
3259
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3260
|
+
'''Property name: The name of the Signature.'''
|
|
3261
|
+
result = self._values.get("name")
|
|
3262
|
+
assert result is not None, "Required property 'name' is missing"
|
|
3263
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3264
|
+
|
|
3265
|
+
@builtins.property
|
|
3266
|
+
def description(
|
|
3267
|
+
self,
|
|
3268
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
3269
|
+
'''Property description: Application instructions.'''
|
|
3270
|
+
result = self._values.get("description")
|
|
3271
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
3272
|
+
|
|
3273
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3274
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3275
|
+
|
|
3276
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3277
|
+
return not (rhs == self)
|
|
3278
|
+
|
|
3279
|
+
def __repr__(self) -> str:
|
|
3280
|
+
return "SignatureProps(%s)" % ", ".join(
|
|
3281
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3282
|
+
)
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
@jsii.implements(ITemplate)
|
|
3286
|
+
class Template(
|
|
3287
|
+
_ros_cdk_core_7adfd82f.Resource,
|
|
3288
|
+
metaclass=jsii.JSIIMeta,
|
|
3289
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.Template",
|
|
3290
|
+
):
|
|
3291
|
+
'''This class encapsulates and extends the ROS resource type ``ALIYUN::PAIPlugin::Template``.
|
|
3292
|
+
|
|
3293
|
+
:Note:
|
|
3294
|
+
|
|
3295
|
+
This class may have some new functions to facilitate development, so it is recommended to use this class instead of ``RosTemplate``for a more convenient development experience.
|
|
3296
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-template
|
|
3297
|
+
'''
|
|
3298
|
+
|
|
3299
|
+
def __init__(
|
|
3300
|
+
self,
|
|
3301
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
3302
|
+
id: builtins.str,
|
|
3303
|
+
props: typing.Union["TemplateProps", typing.Dict[builtins.str, typing.Any]],
|
|
3304
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
3305
|
+
) -> None:
|
|
3306
|
+
'''Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
|
3307
|
+
|
|
3308
|
+
:param scope: -
|
|
3309
|
+
:param id: -
|
|
3310
|
+
:param props: -
|
|
3311
|
+
:param enable_resource_property_constraint: -
|
|
3312
|
+
'''
|
|
3313
|
+
if __debug__:
|
|
3314
|
+
type_hints = typing.get_type_hints(_typecheckingstub__77e4822b9126306739d1da7d954e32f4664eb9ec6460077a83802d090f9b7131)
|
|
3315
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3316
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3317
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
3318
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
3319
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
3320
|
+
|
|
3321
|
+
@builtins.property
|
|
3322
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
3323
|
+
def attr_created_time(
|
|
3324
|
+
self,
|
|
3325
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3326
|
+
'''Attribute CreatedTime: The creation time of the Signature.'''
|
|
3327
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrCreatedTime"))
|
|
3328
|
+
|
|
3329
|
+
@builtins.property
|
|
3330
|
+
@jsii.member(jsii_name="attrDescription")
|
|
3331
|
+
def attr_description(
|
|
3332
|
+
self,
|
|
3333
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3334
|
+
'''Attribute Description: Application instructions.'''
|
|
3335
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrDescription"))
|
|
3336
|
+
|
|
3337
|
+
@builtins.property
|
|
3338
|
+
@jsii.member(jsii_name="attrId")
|
|
3339
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3340
|
+
'''Attribute Id: The ID of the Signature.'''
|
|
3341
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrId"))
|
|
3342
|
+
|
|
3343
|
+
@builtins.property
|
|
3344
|
+
@jsii.member(jsii_name="attrName")
|
|
3345
|
+
def attr_name(
|
|
3346
|
+
self,
|
|
3347
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3348
|
+
'''Attribute Name: The name of the Signature.'''
|
|
3349
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrName"))
|
|
3350
|
+
|
|
3351
|
+
@builtins.property
|
|
3352
|
+
@jsii.member(jsii_name="attrReason")
|
|
3353
|
+
def attr_reason(
|
|
3354
|
+
self,
|
|
3355
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3356
|
+
'''Attribute Reason: Review recommendations.'''
|
|
3357
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrReason"))
|
|
3358
|
+
|
|
3359
|
+
@builtins.property
|
|
3360
|
+
@jsii.member(jsii_name="props")
|
|
3361
|
+
def props(self) -> "TemplateProps":
|
|
3362
|
+
return typing.cast("TemplateProps", jsii.get(self, "props"))
|
|
3363
|
+
|
|
3364
|
+
@builtins.property
|
|
3365
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
3366
|
+
def _enable_resource_property_constraint(self) -> builtins.bool:
|
|
3367
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
3368
|
+
|
|
3369
|
+
@_enable_resource_property_constraint.setter
|
|
3370
|
+
def _enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
3371
|
+
if __debug__:
|
|
3372
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1c6f1ec0f666e04ab9651bf3c8efdafab939b41494b9d9fdbfd5a2c950d6531d)
|
|
3373
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3374
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
3375
|
+
|
|
3376
|
+
@builtins.property
|
|
3377
|
+
@jsii.member(jsii_name="id")
|
|
3378
|
+
def _id(self) -> builtins.str:
|
|
3379
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
3380
|
+
|
|
3381
|
+
@_id.setter
|
|
3382
|
+
def _id(self, value: builtins.str) -> None:
|
|
3383
|
+
if __debug__:
|
|
3384
|
+
type_hints = typing.get_type_hints(_typecheckingstub__999641da86e14db84e8816fa21d99a31f12a00d07a8bad117072dc2bc91950ea)
|
|
3385
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3386
|
+
jsii.set(self, "id", value)
|
|
3387
|
+
|
|
3388
|
+
@builtins.property
|
|
3389
|
+
@jsii.member(jsii_name="scope")
|
|
3390
|
+
def _scope(self) -> _ros_cdk_core_7adfd82f.Construct:
|
|
3391
|
+
return typing.cast(_ros_cdk_core_7adfd82f.Construct, jsii.get(self, "scope"))
|
|
3392
|
+
|
|
3393
|
+
@_scope.setter
|
|
3394
|
+
def _scope(self, value: _ros_cdk_core_7adfd82f.Construct) -> None:
|
|
3395
|
+
if __debug__:
|
|
3396
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9c40d5b19cbddf4ac29d8f4ab11dd7fa7dc6bd2246cbb9dd784fc31440155284)
|
|
3397
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3398
|
+
jsii.set(self, "scope", value)
|
|
3399
|
+
|
|
3400
|
+
|
|
3401
|
+
@jsii.data_type(
|
|
3402
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.TemplateProps",
|
|
3403
|
+
jsii_struct_bases=[],
|
|
3404
|
+
name_mapping={
|
|
3405
|
+
"content": "content",
|
|
3406
|
+
"description": "description",
|
|
3407
|
+
"name": "name",
|
|
3408
|
+
"type": "type",
|
|
3409
|
+
"signature": "signature",
|
|
3410
|
+
"signature_id": "signatureId",
|
|
3411
|
+
},
|
|
3412
|
+
)
|
|
3413
|
+
class TemplateProps:
|
|
3414
|
+
def __init__(
|
|
3415
|
+
self,
|
|
3416
|
+
*,
|
|
3417
|
+
content: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3418
|
+
description: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3419
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3420
|
+
type: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3421
|
+
signature: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3422
|
+
signature_id: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3423
|
+
) -> None:
|
|
3424
|
+
'''Properties for defining a ``Template``.
|
|
3425
|
+
|
|
3426
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-template
|
|
3427
|
+
|
|
3428
|
+
:param content: Property content: The content of the template.
|
|
3429
|
+
:param description: Property description: For the template content, please keep the total word count within 70 words. The excess will be charged as long text messages. Each text message is recorded as 67 words.
|
|
3430
|
+
:param name: Property name: The name of the template.
|
|
3431
|
+
:param type: Property type: The type of the template. The following values are supported: 0: Verification code. 1: SMS notification. 2: Promotional SMS.
|
|
3432
|
+
:param signature: Property signature: The name of the Signature, You must select either Signature or SignatureId, but not both.
|
|
3433
|
+
:param signature_id: Property signatureId: The ID of the Signature, You must select either Signature or SignatureId, but not both.
|
|
3434
|
+
'''
|
|
3435
|
+
if __debug__:
|
|
3436
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bb86832fd1b85d40ef889b6c6bd4458575f2288a9b31a58ab9033a7d0b78a98b)
|
|
3437
|
+
check_type(argname="argument content", value=content, expected_type=type_hints["content"])
|
|
3438
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
3439
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3440
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
3441
|
+
check_type(argname="argument signature", value=signature, expected_type=type_hints["signature"])
|
|
3442
|
+
check_type(argname="argument signature_id", value=signature_id, expected_type=type_hints["signature_id"])
|
|
3443
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3444
|
+
"content": content,
|
|
3445
|
+
"description": description,
|
|
3446
|
+
"name": name,
|
|
3447
|
+
"type": type,
|
|
3448
|
+
}
|
|
3449
|
+
if signature is not None:
|
|
3450
|
+
self._values["signature"] = signature
|
|
3451
|
+
if signature_id is not None:
|
|
3452
|
+
self._values["signature_id"] = signature_id
|
|
3453
|
+
|
|
3454
|
+
@builtins.property
|
|
3455
|
+
def content(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3456
|
+
'''Property content: The content of the template.'''
|
|
3457
|
+
result = self._values.get("content")
|
|
3458
|
+
assert result is not None, "Required property 'content' is missing"
|
|
3459
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3460
|
+
|
|
3461
|
+
@builtins.property
|
|
3462
|
+
def description(
|
|
3463
|
+
self,
|
|
3464
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3465
|
+
'''Property description: For the template content, please keep the total word count within 70 words.
|
|
3466
|
+
|
|
3467
|
+
The excess will be charged as long text messages. Each text message is recorded as 67 words.
|
|
3468
|
+
'''
|
|
3469
|
+
result = self._values.get("description")
|
|
3470
|
+
assert result is not None, "Required property 'description' is missing"
|
|
3471
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3472
|
+
|
|
3473
|
+
@builtins.property
|
|
3474
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3475
|
+
'''Property name: The name of the template.'''
|
|
3476
|
+
result = self._values.get("name")
|
|
3477
|
+
assert result is not None, "Required property 'name' is missing"
|
|
3478
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3479
|
+
|
|
3480
|
+
@builtins.property
|
|
3481
|
+
def type(self) -> typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3482
|
+
'''Property type: The type of the template.
|
|
3483
|
+
|
|
3484
|
+
The following values are supported:
|
|
3485
|
+
0: Verification code.
|
|
3486
|
+
1: SMS notification.
|
|
3487
|
+
2: Promotional SMS.
|
|
3488
|
+
'''
|
|
3489
|
+
result = self._values.get("type")
|
|
3490
|
+
assert result is not None, "Required property 'type' is missing"
|
|
3491
|
+
return typing.cast(typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3492
|
+
|
|
3493
|
+
@builtins.property
|
|
3494
|
+
def signature(
|
|
3495
|
+
self,
|
|
3496
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
3497
|
+
'''Property signature: The name of the Signature, You must select either Signature or SignatureId, but not both.'''
|
|
3498
|
+
result = self._values.get("signature")
|
|
3499
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
3500
|
+
|
|
3501
|
+
@builtins.property
|
|
3502
|
+
def signature_id(
|
|
3503
|
+
self,
|
|
3504
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
3505
|
+
'''Property signatureId: The ID of the Signature, You must select either Signature or SignatureId, but not both.'''
|
|
3506
|
+
result = self._values.get("signature_id")
|
|
3507
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
3508
|
+
|
|
3509
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3510
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3511
|
+
|
|
3512
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3513
|
+
return not (rhs == self)
|
|
3514
|
+
|
|
3515
|
+
def __repr__(self) -> str:
|
|
3516
|
+
return "TemplateProps(%s)" % ", ".join(
|
|
3517
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3518
|
+
)
|
|
3519
|
+
|
|
3520
|
+
|
|
3521
|
+
@jsii.implements(ITrainingJob)
|
|
3522
|
+
class TrainingJob(
|
|
3523
|
+
_ros_cdk_core_7adfd82f.Resource,
|
|
3524
|
+
metaclass=jsii.JSIIMeta,
|
|
3525
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.TrainingJob",
|
|
3526
|
+
):
|
|
3527
|
+
'''This class encapsulates and extends the ROS resource type ``ALIYUN::PAIPlugin::TrainingJob``, which is used to create a training job.
|
|
3528
|
+
|
|
3529
|
+
:Note:
|
|
3530
|
+
|
|
3531
|
+
This class may have some new functions to facilitate development, so it is recommended to use this class instead of ``RosTrainingJob``for a more convenient development experience.
|
|
3532
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-trainingjob
|
|
3533
|
+
'''
|
|
3534
|
+
|
|
3535
|
+
def __init__(
|
|
3536
|
+
self,
|
|
3537
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
3538
|
+
id: builtins.str,
|
|
3539
|
+
props: typing.Union["TrainingJobProps", typing.Dict[builtins.str, typing.Any]],
|
|
3540
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
3541
|
+
) -> None:
|
|
3542
|
+
'''Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
|
3543
|
+
|
|
3544
|
+
:param scope: -
|
|
3545
|
+
:param id: -
|
|
3546
|
+
:param props: -
|
|
3547
|
+
:param enable_resource_property_constraint: -
|
|
3548
|
+
'''
|
|
3549
|
+
if __debug__:
|
|
3550
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c4b016cd541a9086610aaead48dec453470900fd3a16fa9df9045c0a295c5930)
|
|
3551
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3552
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3553
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
3554
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
3555
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
3556
|
+
|
|
3557
|
+
@builtins.property
|
|
3558
|
+
@jsii.member(jsii_name="attrTrainingJobId")
|
|
3559
|
+
def attr_training_job_id(
|
|
3560
|
+
self,
|
|
3561
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3562
|
+
'''Attribute TrainingJobId: The training job id.'''
|
|
3563
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrTrainingJobId"))
|
|
3564
|
+
|
|
3565
|
+
@builtins.property
|
|
3566
|
+
@jsii.member(jsii_name="props")
|
|
3567
|
+
def props(self) -> "TrainingJobProps":
|
|
3568
|
+
return typing.cast("TrainingJobProps", jsii.get(self, "props"))
|
|
3569
|
+
|
|
3570
|
+
@builtins.property
|
|
3571
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
3572
|
+
def _enable_resource_property_constraint(self) -> builtins.bool:
|
|
3573
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
3574
|
+
|
|
3575
|
+
@_enable_resource_property_constraint.setter
|
|
3576
|
+
def _enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
3577
|
+
if __debug__:
|
|
3578
|
+
type_hints = typing.get_type_hints(_typecheckingstub__611112019d322a36a7013b31a57c03dec89928deac3cc1341704d9b71fd5894f)
|
|
3579
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3580
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
3581
|
+
|
|
3582
|
+
@builtins.property
|
|
3583
|
+
@jsii.member(jsii_name="id")
|
|
3584
|
+
def _id(self) -> builtins.str:
|
|
3585
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
3586
|
+
|
|
3587
|
+
@_id.setter
|
|
3588
|
+
def _id(self, value: builtins.str) -> None:
|
|
3589
|
+
if __debug__:
|
|
3590
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7466856ede2de1b20cdb6fac8d1bf8ab9bce4daf0c661cfb905d7858b5be1f97)
|
|
3591
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3592
|
+
jsii.set(self, "id", value)
|
|
3593
|
+
|
|
3594
|
+
@builtins.property
|
|
3595
|
+
@jsii.member(jsii_name="scope")
|
|
3596
|
+
def _scope(self) -> _ros_cdk_core_7adfd82f.Construct:
|
|
3597
|
+
return typing.cast(_ros_cdk_core_7adfd82f.Construct, jsii.get(self, "scope"))
|
|
3598
|
+
|
|
3599
|
+
@_scope.setter
|
|
3600
|
+
def _scope(self, value: _ros_cdk_core_7adfd82f.Construct) -> None:
|
|
3601
|
+
if __debug__:
|
|
3602
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cd5e6da1cec809c3afe6a8c8e9c711ff8faef1e4cd5fdc03bfa6a187755c0e0b)
|
|
3603
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3604
|
+
jsii.set(self, "scope", value)
|
|
3605
|
+
|
|
3606
|
+
|
|
3607
|
+
@jsii.data_type(
|
|
3608
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.TrainingJobProps",
|
|
3609
|
+
jsii_struct_bases=[],
|
|
3610
|
+
name_mapping={
|
|
3611
|
+
"algorithm": "algorithm",
|
|
3612
|
+
"campaign_id": "campaignId",
|
|
3613
|
+
"data_path": "dataPath",
|
|
3614
|
+
"name": "name",
|
|
3615
|
+
"user_config": "userConfig",
|
|
3616
|
+
"remark": "remark",
|
|
3617
|
+
"wait_for_training_finish": "waitForTrainingFinish",
|
|
3618
|
+
},
|
|
3619
|
+
)
|
|
3620
|
+
class TrainingJobProps:
|
|
3621
|
+
def __init__(
|
|
3622
|
+
self,
|
|
3623
|
+
*,
|
|
3624
|
+
algorithm: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3625
|
+
campaign_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3626
|
+
data_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3627
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3628
|
+
user_config: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
3629
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3630
|
+
wait_for_training_finish: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3631
|
+
) -> None:
|
|
3632
|
+
'''Properties for defining a ``TrainingJob``.
|
|
3633
|
+
|
|
3634
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-trainingjob
|
|
3635
|
+
|
|
3636
|
+
:param algorithm: Property algorithm: The algorithm used in training.
|
|
3637
|
+
:param campaign_id: Property campaignId: The related campaign Id.
|
|
3638
|
+
:param data_path: Property dataPath: The training data path in OSS bucket.
|
|
3639
|
+
:param name: Property name: The name of training job.
|
|
3640
|
+
:param user_config: Property userConfig: User configuration is used to set parameters such as start_date and end_date to delineate the time range of modeling data.
|
|
3641
|
+
:param remark: Property remark: The remark of training job.
|
|
3642
|
+
:param wait_for_training_finish: Property waitForTrainingFinish: Whether resource creation waits for the training task to complete.The longest waiting time is 40 minutes.
|
|
3643
|
+
'''
|
|
3644
|
+
if __debug__:
|
|
3645
|
+
type_hints = typing.get_type_hints(_typecheckingstub__13d8d2c44ee0261550eb632d3a1b3fb5c018b45b61a41224e8e084793975ebc8)
|
|
3646
|
+
check_type(argname="argument algorithm", value=algorithm, expected_type=type_hints["algorithm"])
|
|
3647
|
+
check_type(argname="argument campaign_id", value=campaign_id, expected_type=type_hints["campaign_id"])
|
|
3648
|
+
check_type(argname="argument data_path", value=data_path, expected_type=type_hints["data_path"])
|
|
3649
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3650
|
+
check_type(argname="argument user_config", value=user_config, expected_type=type_hints["user_config"])
|
|
3651
|
+
check_type(argname="argument remark", value=remark, expected_type=type_hints["remark"])
|
|
3652
|
+
check_type(argname="argument wait_for_training_finish", value=wait_for_training_finish, expected_type=type_hints["wait_for_training_finish"])
|
|
3653
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3654
|
+
"algorithm": algorithm,
|
|
3655
|
+
"campaign_id": campaign_id,
|
|
3656
|
+
"data_path": data_path,
|
|
3657
|
+
"name": name,
|
|
3658
|
+
"user_config": user_config,
|
|
3659
|
+
}
|
|
3660
|
+
if remark is not None:
|
|
3661
|
+
self._values["remark"] = remark
|
|
3662
|
+
if wait_for_training_finish is not None:
|
|
3663
|
+
self._values["wait_for_training_finish"] = wait_for_training_finish
|
|
3664
|
+
|
|
3665
|
+
@builtins.property
|
|
3666
|
+
def algorithm(
|
|
3667
|
+
self,
|
|
3668
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3669
|
+
'''Property algorithm: The algorithm used in training.'''
|
|
3670
|
+
result = self._values.get("algorithm")
|
|
3671
|
+
assert result is not None, "Required property 'algorithm' is missing"
|
|
3672
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3673
|
+
|
|
3674
|
+
@builtins.property
|
|
3675
|
+
def campaign_id(
|
|
3676
|
+
self,
|
|
3677
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3678
|
+
'''Property campaignId: The related campaign Id.'''
|
|
3679
|
+
result = self._values.get("campaign_id")
|
|
3680
|
+
assert result is not None, "Required property 'campaign_id' is missing"
|
|
3681
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3682
|
+
|
|
3683
|
+
@builtins.property
|
|
3684
|
+
def data_path(
|
|
3685
|
+
self,
|
|
3686
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3687
|
+
'''Property dataPath: The training data path in OSS bucket.'''
|
|
3688
|
+
result = self._values.get("data_path")
|
|
3689
|
+
assert result is not None, "Required property 'data_path' is missing"
|
|
3690
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3691
|
+
|
|
3692
|
+
@builtins.property
|
|
3693
|
+
def name(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3694
|
+
'''Property name: The name of training job.'''
|
|
3695
|
+
result = self._values.get("name")
|
|
3696
|
+
assert result is not None, "Required property 'name' is missing"
|
|
3697
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], result)
|
|
3698
|
+
|
|
3699
|
+
@builtins.property
|
|
3700
|
+
def user_config(
|
|
3701
|
+
self,
|
|
3702
|
+
) -> typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]]:
|
|
3703
|
+
'''Property userConfig: User configuration is used to set parameters such as start_date and end_date to delineate the time range of modeling data.'''
|
|
3704
|
+
result = self._values.get("user_config")
|
|
3705
|
+
assert result is not None, "Required property 'user_config' is missing"
|
|
3706
|
+
return typing.cast(typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]], result)
|
|
3707
|
+
|
|
3708
|
+
@builtins.property
|
|
3709
|
+
def remark(
|
|
3710
|
+
self,
|
|
3711
|
+
) -> typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
3712
|
+
'''Property remark: The remark of training job.'''
|
|
3713
|
+
result = self._values.get("remark")
|
|
3714
|
+
return typing.cast(typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
3715
|
+
|
|
3716
|
+
@builtins.property
|
|
3717
|
+
def wait_for_training_finish(
|
|
3718
|
+
self,
|
|
3719
|
+
) -> typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]]:
|
|
3720
|
+
'''Property waitForTrainingFinish: Whether resource creation waits for the training task to complete.The longest waiting time is 40 minutes.'''
|
|
3721
|
+
result = self._values.get("wait_for_training_finish")
|
|
3722
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]], result)
|
|
3723
|
+
|
|
3724
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3725
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3726
|
+
|
|
3727
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3728
|
+
return not (rhs == self)
|
|
3729
|
+
|
|
3730
|
+
def __repr__(self) -> str:
|
|
3731
|
+
return "TrainingJobProps(%s)" % ", ".join(
|
|
3732
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3733
|
+
)
|
|
3734
|
+
|
|
3735
|
+
|
|
3736
|
+
@jsii.implements(ICampaign)
|
|
3737
|
+
class Campaign(
|
|
3738
|
+
_ros_cdk_core_7adfd82f.Resource,
|
|
3739
|
+
metaclass=jsii.JSIIMeta,
|
|
3740
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.Campaign",
|
|
3741
|
+
):
|
|
3742
|
+
'''This class encapsulates and extends the ROS resource type ``ALIYUN::PAIPlugin::Campaign``.
|
|
3743
|
+
|
|
3744
|
+
:Note:
|
|
3745
|
+
|
|
3746
|
+
This class may have some new functions to facilitate development, so it is recommended to use this class instead of ``RosCampaign``for a more convenient development experience.
|
|
3747
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-campaign
|
|
3748
|
+
'''
|
|
3749
|
+
|
|
3750
|
+
def __init__(
|
|
3751
|
+
self,
|
|
3752
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
3753
|
+
id: builtins.str,
|
|
3754
|
+
props: typing.Union[CampaignProps, typing.Dict[builtins.str, typing.Any]],
|
|
3755
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
3756
|
+
) -> None:
|
|
3757
|
+
'''Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
|
3758
|
+
|
|
3759
|
+
:param scope: -
|
|
3760
|
+
:param id: -
|
|
3761
|
+
:param props: -
|
|
3762
|
+
:param enable_resource_property_constraint: -
|
|
3763
|
+
'''
|
|
3764
|
+
if __debug__:
|
|
3765
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5b736731c32166868ffc7f35cae50c2e73d26a607d47e9c9eddfb487bc593edb)
|
|
3766
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3767
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3768
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
3769
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
3770
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
3771
|
+
|
|
3772
|
+
@builtins.property
|
|
3773
|
+
@jsii.member(jsii_name="attrCampaignId")
|
|
3774
|
+
def attr_campaign_id(
|
|
3775
|
+
self,
|
|
3776
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3777
|
+
'''Attribute CampaignId: The Campaign ID created this time.'''
|
|
3778
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrCampaignId"))
|
|
3779
|
+
|
|
3780
|
+
@builtins.property
|
|
3781
|
+
@jsii.member(jsii_name="props")
|
|
3782
|
+
def props(self) -> CampaignProps:
|
|
3783
|
+
return typing.cast(CampaignProps, jsii.get(self, "props"))
|
|
3784
|
+
|
|
3785
|
+
@builtins.property
|
|
3786
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
3787
|
+
def _enable_resource_property_constraint(self) -> builtins.bool:
|
|
3788
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
3789
|
+
|
|
3790
|
+
@_enable_resource_property_constraint.setter
|
|
3791
|
+
def _enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
3792
|
+
if __debug__:
|
|
3793
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dc1c96347c5a5df0b0afdca86b501aa9cc72602ed789f0f9aaffed21b574f4bb)
|
|
3794
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3795
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
3796
|
+
|
|
3797
|
+
@builtins.property
|
|
3798
|
+
@jsii.member(jsii_name="id")
|
|
3799
|
+
def _id(self) -> builtins.str:
|
|
3800
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
3801
|
+
|
|
3802
|
+
@_id.setter
|
|
3803
|
+
def _id(self, value: builtins.str) -> None:
|
|
3804
|
+
if __debug__:
|
|
3805
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4e6b8cc9bbd791146fff2e11201480c200676dc7453de0af14ec41eafc0ee8ba)
|
|
3806
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3807
|
+
jsii.set(self, "id", value)
|
|
3808
|
+
|
|
3809
|
+
@builtins.property
|
|
3810
|
+
@jsii.member(jsii_name="scope")
|
|
3811
|
+
def _scope(self) -> _ros_cdk_core_7adfd82f.Construct:
|
|
3812
|
+
return typing.cast(_ros_cdk_core_7adfd82f.Construct, jsii.get(self, "scope"))
|
|
3813
|
+
|
|
3814
|
+
@_scope.setter
|
|
3815
|
+
def _scope(self, value: _ros_cdk_core_7adfd82f.Construct) -> None:
|
|
3816
|
+
if __debug__:
|
|
3817
|
+
type_hints = typing.get_type_hints(_typecheckingstub__115785c220bca5216d52527b204608f2ad6ce887aaff5bf1b24d33af67310a58)
|
|
3818
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3819
|
+
jsii.set(self, "scope", value)
|
|
3820
|
+
|
|
3821
|
+
|
|
3822
|
+
@jsii.implements(IGroup)
|
|
3823
|
+
class Group(
|
|
3824
|
+
_ros_cdk_core_7adfd82f.Resource,
|
|
3825
|
+
metaclass=jsii.JSIIMeta,
|
|
3826
|
+
jsii_type="@alicloud/ros-cdk-paiplugin.Group",
|
|
3827
|
+
):
|
|
3828
|
+
'''This class encapsulates and extends the ROS resource type ``ALIYUN::PAIPlugin::Group``.
|
|
3829
|
+
|
|
3830
|
+
:Note:
|
|
3831
|
+
|
|
3832
|
+
This class may have some new functions to facilitate development, so it is recommended to use this class instead of ``RosGroup``for a more convenient development experience.
|
|
3833
|
+
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-group
|
|
3834
|
+
'''
|
|
3835
|
+
|
|
3836
|
+
def __init__(
|
|
3837
|
+
self,
|
|
3838
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
3839
|
+
id: builtins.str,
|
|
3840
|
+
props: typing.Union[GroupProps, typing.Dict[builtins.str, typing.Any]],
|
|
3841
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
3842
|
+
) -> None:
|
|
3843
|
+
'''Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
|
3844
|
+
|
|
3845
|
+
:param scope: -
|
|
3846
|
+
:param id: -
|
|
3847
|
+
:param props: -
|
|
3848
|
+
:param enable_resource_property_constraint: -
|
|
3849
|
+
'''
|
|
3850
|
+
if __debug__:
|
|
3851
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e359892a7ca47ef614982957d16ff58b0c8a1d87f70258f08dcca1e87a912847)
|
|
3852
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3853
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3854
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
3855
|
+
check_type(argname="argument enable_resource_property_constraint", value=enable_resource_property_constraint, expected_type=type_hints["enable_resource_property_constraint"])
|
|
3856
|
+
jsii.create(self.__class__, self, [scope, id, props, enable_resource_property_constraint])
|
|
3857
|
+
|
|
3858
|
+
@builtins.property
|
|
3859
|
+
@jsii.member(jsii_name="attrAmount")
|
|
3860
|
+
def attr_amount(
|
|
3861
|
+
self,
|
|
3862
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3863
|
+
'''Attribute Amount: The number of the user group.'''
|
|
3864
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrAmount"))
|
|
3865
|
+
|
|
3866
|
+
@builtins.property
|
|
3867
|
+
@jsii.member(jsii_name="attrCreatedTime")
|
|
3868
|
+
def attr_created_time(
|
|
3869
|
+
self,
|
|
3870
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3871
|
+
'''Attribute CreatedTime: The creation time of the user group.'''
|
|
3872
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrCreatedTime"))
|
|
3873
|
+
|
|
3874
|
+
@builtins.property
|
|
3875
|
+
@jsii.member(jsii_name="attrId")
|
|
3876
|
+
def attr_id(self) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3877
|
+
'''Attribute Id: The ID of the user group.'''
|
|
3878
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrId"))
|
|
3879
|
+
|
|
3880
|
+
@builtins.property
|
|
3881
|
+
@jsii.member(jsii_name="attrName")
|
|
3882
|
+
def attr_name(
|
|
3883
|
+
self,
|
|
3884
|
+
) -> typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]:
|
|
3885
|
+
'''Attribute Name: The name of the user group.'''
|
|
3886
|
+
return typing.cast(typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable], jsii.get(self, "attrName"))
|
|
3887
|
+
|
|
3888
|
+
@builtins.property
|
|
3889
|
+
@jsii.member(jsii_name="props")
|
|
3890
|
+
def props(self) -> GroupProps:
|
|
3891
|
+
return typing.cast(GroupProps, jsii.get(self, "props"))
|
|
3892
|
+
|
|
3893
|
+
@builtins.property
|
|
3894
|
+
@jsii.member(jsii_name="enableResourcePropertyConstraint")
|
|
3895
|
+
def _enable_resource_property_constraint(self) -> builtins.bool:
|
|
3896
|
+
return typing.cast(builtins.bool, jsii.get(self, "enableResourcePropertyConstraint"))
|
|
3897
|
+
|
|
3898
|
+
@_enable_resource_property_constraint.setter
|
|
3899
|
+
def _enable_resource_property_constraint(self, value: builtins.bool) -> None:
|
|
3900
|
+
if __debug__:
|
|
3901
|
+
type_hints = typing.get_type_hints(_typecheckingstub__736f7f1df90085b34236bcc05c1df287d4ffc11e72083882084a5413d8f44339)
|
|
3902
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3903
|
+
jsii.set(self, "enableResourcePropertyConstraint", value)
|
|
3904
|
+
|
|
3905
|
+
@builtins.property
|
|
3906
|
+
@jsii.member(jsii_name="id")
|
|
3907
|
+
def _id(self) -> builtins.str:
|
|
3908
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
3909
|
+
|
|
3910
|
+
@_id.setter
|
|
3911
|
+
def _id(self, value: builtins.str) -> None:
|
|
3912
|
+
if __debug__:
|
|
3913
|
+
type_hints = typing.get_type_hints(_typecheckingstub__58da9615ef71b8d13c9b759ee9e7411330a3f91154324e274039a9ab2828eede)
|
|
3914
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3915
|
+
jsii.set(self, "id", value)
|
|
3916
|
+
|
|
3917
|
+
@builtins.property
|
|
3918
|
+
@jsii.member(jsii_name="scope")
|
|
3919
|
+
def _scope(self) -> _ros_cdk_core_7adfd82f.Construct:
|
|
3920
|
+
return typing.cast(_ros_cdk_core_7adfd82f.Construct, jsii.get(self, "scope"))
|
|
3921
|
+
|
|
3922
|
+
@_scope.setter
|
|
3923
|
+
def _scope(self, value: _ros_cdk_core_7adfd82f.Construct) -> None:
|
|
3924
|
+
if __debug__:
|
|
3925
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e6b49ad50882d5b54aab954c0424aa720a654b918a049389c72f0e85b3bc1d7c)
|
|
3926
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3927
|
+
jsii.set(self, "scope", value)
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
__all__ = [
|
|
3931
|
+
"Campaign",
|
|
3932
|
+
"CampaignProps",
|
|
3933
|
+
"Group",
|
|
3934
|
+
"GroupProps",
|
|
3935
|
+
"ICampaign",
|
|
3936
|
+
"IGroup",
|
|
3937
|
+
"IInferenceJob",
|
|
3938
|
+
"ISignature",
|
|
3939
|
+
"ITemplate",
|
|
3940
|
+
"ITrainingJob",
|
|
3941
|
+
"InferenceJob",
|
|
3942
|
+
"InferenceJobProps",
|
|
3943
|
+
"RosCampaign",
|
|
3944
|
+
"RosCampaignProps",
|
|
3945
|
+
"RosGroup",
|
|
3946
|
+
"RosGroupProps",
|
|
3947
|
+
"RosInferenceJob",
|
|
3948
|
+
"RosInferenceJobProps",
|
|
3949
|
+
"RosSignature",
|
|
3950
|
+
"RosSignatureProps",
|
|
3951
|
+
"RosTemplate",
|
|
3952
|
+
"RosTemplateProps",
|
|
3953
|
+
"RosTrainingJob",
|
|
3954
|
+
"RosTrainingJobProps",
|
|
3955
|
+
"Signature",
|
|
3956
|
+
"SignatureProps",
|
|
3957
|
+
"Template",
|
|
3958
|
+
"TemplateProps",
|
|
3959
|
+
"TrainingJob",
|
|
3960
|
+
"TrainingJobProps",
|
|
3961
|
+
]
|
|
3962
|
+
|
|
3963
|
+
publication.publish()
|
|
3964
|
+
|
|
3965
|
+
def _typecheckingstub__f8e38e3cd88b8ac2db7f2d55350f92df7bad6c692f6d56decc6d8257578cad9d(
|
|
3966
|
+
*,
|
|
3967
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3968
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3969
|
+
) -> None:
|
|
3970
|
+
"""Type checking stubs"""
|
|
3971
|
+
pass
|
|
3972
|
+
|
|
3973
|
+
def _typecheckingstub__f4a139daa3fd704c40fc628a17bb5101a8c0d7ad10972fdb6b4cbec6aaad5058(
|
|
3974
|
+
*,
|
|
3975
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3976
|
+
source: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
3977
|
+
algorithm: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3978
|
+
column: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3979
|
+
filter: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3980
|
+
inference_job_id: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3981
|
+
phone_number: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3982
|
+
project: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3983
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3984
|
+
table: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3985
|
+
text: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3986
|
+
uri: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
3987
|
+
) -> None:
|
|
3988
|
+
"""Type checking stubs"""
|
|
3989
|
+
pass
|
|
3990
|
+
|
|
3991
|
+
def _typecheckingstub__6e4b0c2275eb412242792ac7b45c0c147a03f4e64e29949bb05cbdf9566cd56d(
|
|
3992
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
3993
|
+
id: builtins.str,
|
|
3994
|
+
props: typing.Union[InferenceJobProps, typing.Dict[builtins.str, typing.Any]],
|
|
3995
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
3996
|
+
) -> None:
|
|
3997
|
+
"""Type checking stubs"""
|
|
3998
|
+
pass
|
|
3999
|
+
|
|
4000
|
+
def _typecheckingstub__05a6391c1835385dae54e1de28e8f14666f467dfb5fbc1ed2dd1df27701b21b0(
|
|
4001
|
+
value: builtins.bool,
|
|
4002
|
+
) -> None:
|
|
4003
|
+
"""Type checking stubs"""
|
|
4004
|
+
pass
|
|
4005
|
+
|
|
4006
|
+
def _typecheckingstub__a99e0d69c539e0dcd636821ad92218168a255add1969388f07331f56944e6dec(
|
|
4007
|
+
value: builtins.str,
|
|
4008
|
+
) -> None:
|
|
4009
|
+
"""Type checking stubs"""
|
|
4010
|
+
pass
|
|
4011
|
+
|
|
4012
|
+
def _typecheckingstub__b215b5d986fa49aebb4e923c3e2e81bc95014afd0ebc35e1ed9f59c474159b15(
|
|
4013
|
+
value: _ros_cdk_core_7adfd82f.Construct,
|
|
4014
|
+
) -> None:
|
|
4015
|
+
"""Type checking stubs"""
|
|
4016
|
+
pass
|
|
4017
|
+
|
|
4018
|
+
def _typecheckingstub__c90e34281385df3d2cffd1f06cee9800e8774a2fe79008752d99be69e5ad0963(
|
|
4019
|
+
*,
|
|
4020
|
+
algorithm: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4021
|
+
campaign_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4022
|
+
data_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4023
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4024
|
+
target_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4025
|
+
training_job_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4026
|
+
user_config: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
4027
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4028
|
+
wait_for_inference_finish: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4029
|
+
) -> None:
|
|
4030
|
+
"""Type checking stubs"""
|
|
4031
|
+
pass
|
|
4032
|
+
|
|
4033
|
+
def _typecheckingstub__a0ba8bd3c875d3bd8974906da7a9cfffdc696b834cada53eb16073b364394be8(
|
|
4034
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4035
|
+
id: builtins.str,
|
|
4036
|
+
props: typing.Union[RosCampaignProps, typing.Dict[builtins.str, typing.Any]],
|
|
4037
|
+
enable_resource_property_constraint: builtins.bool,
|
|
4038
|
+
) -> None:
|
|
4039
|
+
"""Type checking stubs"""
|
|
4040
|
+
pass
|
|
4041
|
+
|
|
4042
|
+
def _typecheckingstub__83e457f35588921ae565950d7daa114c195812d3ff08724bd5b65c56e1aca554(
|
|
4043
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4044
|
+
) -> None:
|
|
4045
|
+
"""Type checking stubs"""
|
|
4046
|
+
pass
|
|
4047
|
+
|
|
4048
|
+
def _typecheckingstub__47d80a5e05de3ea528e515ffa86bad97a30a78110df4483041896e820d18a2f8(
|
|
4049
|
+
value: builtins.bool,
|
|
4050
|
+
) -> None:
|
|
4051
|
+
"""Type checking stubs"""
|
|
4052
|
+
pass
|
|
4053
|
+
|
|
4054
|
+
def _typecheckingstub__6c4b4d44061dfad3e16658df0609881b7966c53fba5d69db391637a5096012a1(
|
|
4055
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4056
|
+
) -> None:
|
|
4057
|
+
"""Type checking stubs"""
|
|
4058
|
+
pass
|
|
4059
|
+
|
|
4060
|
+
def _typecheckingstub__18b5ce8e0950ab58b2bd16dbd24b171d64790f8b2461e6d51739e436574ee915(
|
|
4061
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4062
|
+
) -> None:
|
|
4063
|
+
"""Type checking stubs"""
|
|
4064
|
+
pass
|
|
4065
|
+
|
|
4066
|
+
def _typecheckingstub__2c3d1c0c2b85e3197ca3325c98fd351790044f013441862dd1d7aa579ee95e34(
|
|
4067
|
+
*,
|
|
4068
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4069
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4070
|
+
) -> None:
|
|
4071
|
+
"""Type checking stubs"""
|
|
4072
|
+
pass
|
|
4073
|
+
|
|
4074
|
+
def _typecheckingstub__19e622daff2518767807008aa8394a7b0a7018f11d28e1941ee094b1e9522307(
|
|
4075
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4076
|
+
id: builtins.str,
|
|
4077
|
+
props: typing.Union[RosGroupProps, typing.Dict[builtins.str, typing.Any]],
|
|
4078
|
+
enable_resource_property_constraint: builtins.bool,
|
|
4079
|
+
) -> None:
|
|
4080
|
+
"""Type checking stubs"""
|
|
4081
|
+
pass
|
|
4082
|
+
|
|
4083
|
+
def _typecheckingstub__9c93def2289e5ee1e6a1bfa05215a2b266b0d54b690fb24393cb8b26a0c2a905(
|
|
4084
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4085
|
+
) -> None:
|
|
4086
|
+
"""Type checking stubs"""
|
|
4087
|
+
pass
|
|
4088
|
+
|
|
4089
|
+
def _typecheckingstub__f91dbcc59cb9b30145d7a2d5da64244e2e5fd79dfed5e3ece2654b8be7f1f105(
|
|
4090
|
+
value: builtins.bool,
|
|
4091
|
+
) -> None:
|
|
4092
|
+
"""Type checking stubs"""
|
|
4093
|
+
pass
|
|
4094
|
+
|
|
4095
|
+
def _typecheckingstub__8dffd45c632b486cfb0a51ef3bb489a111bd0fb385ff77844b1c8f44e5b90cc5(
|
|
4096
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4097
|
+
) -> None:
|
|
4098
|
+
"""Type checking stubs"""
|
|
4099
|
+
pass
|
|
4100
|
+
|
|
4101
|
+
def _typecheckingstub__424387129bfd766ea2c9ea957f920d40068e67f8a624b89b4ec778324ad1193d(
|
|
4102
|
+
value: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4103
|
+
) -> None:
|
|
4104
|
+
"""Type checking stubs"""
|
|
4105
|
+
pass
|
|
4106
|
+
|
|
4107
|
+
def _typecheckingstub__ff27c1ae0ab56f546b84d781e5c3319fc59f736762f1a1a21e28656fc32436f7(
|
|
4108
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4109
|
+
) -> None:
|
|
4110
|
+
"""Type checking stubs"""
|
|
4111
|
+
pass
|
|
4112
|
+
|
|
4113
|
+
def _typecheckingstub__00944a858dae366bfe0eb7d42b4e03b05167ba06da006fade5e949b9d363a8cd(
|
|
4114
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4115
|
+
) -> None:
|
|
4116
|
+
"""Type checking stubs"""
|
|
4117
|
+
pass
|
|
4118
|
+
|
|
4119
|
+
def _typecheckingstub__dc625f348a579792c0d6d8a380dd21a49ef81ef45d61e4a72c109ab7b5586535(
|
|
4120
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4121
|
+
) -> None:
|
|
4122
|
+
"""Type checking stubs"""
|
|
4123
|
+
pass
|
|
4124
|
+
|
|
4125
|
+
def _typecheckingstub__2fe50a7a781c6e59d3c3fb176f9524769ab1a9aae544149513034c5b5e738620(
|
|
4126
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4127
|
+
) -> None:
|
|
4128
|
+
"""Type checking stubs"""
|
|
4129
|
+
pass
|
|
4130
|
+
|
|
4131
|
+
def _typecheckingstub__786c6ed97c3b4efcd9e550c2f4608a78464028915dade83b4fb8c609fa8b26d8(
|
|
4132
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4133
|
+
) -> None:
|
|
4134
|
+
"""Type checking stubs"""
|
|
4135
|
+
pass
|
|
4136
|
+
|
|
4137
|
+
def _typecheckingstub__b31bc2319e1a82af11b756be0c9c1fd75113d7d7d7f741ae458b55c7aa4dd003(
|
|
4138
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4139
|
+
) -> None:
|
|
4140
|
+
"""Type checking stubs"""
|
|
4141
|
+
pass
|
|
4142
|
+
|
|
4143
|
+
def _typecheckingstub__551d3168a292a0d05d07225278efc9bdecb1cbfb7a9678a70026fd292e4853c1(
|
|
4144
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4145
|
+
) -> None:
|
|
4146
|
+
"""Type checking stubs"""
|
|
4147
|
+
pass
|
|
4148
|
+
|
|
4149
|
+
def _typecheckingstub__eb42028071210d293436244b8e80b443cd8e2eea926359cd66c36dc073d27822(
|
|
4150
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4151
|
+
) -> None:
|
|
4152
|
+
"""Type checking stubs"""
|
|
4153
|
+
pass
|
|
4154
|
+
|
|
4155
|
+
def _typecheckingstub__16d88163cc864363e69294db4705b1469e4222c028b7e84baaeef71475758d5b(
|
|
4156
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4157
|
+
) -> None:
|
|
4158
|
+
"""Type checking stubs"""
|
|
4159
|
+
pass
|
|
4160
|
+
|
|
4161
|
+
def _typecheckingstub__5327112c982bde98ac1c25c1076a006f8299b4e5a63c9fb46cff16ad5218743d(
|
|
4162
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4163
|
+
) -> None:
|
|
4164
|
+
"""Type checking stubs"""
|
|
4165
|
+
pass
|
|
4166
|
+
|
|
4167
|
+
def _typecheckingstub__ad8f9deb2a72e683334aa61c5cc7959e605df7937086a564cc953d1bc259639d(
|
|
4168
|
+
*,
|
|
4169
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4170
|
+
source: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4171
|
+
algorithm: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4172
|
+
column: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4173
|
+
filter: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4174
|
+
inference_job_id: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4175
|
+
phone_number: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4176
|
+
project: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4177
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4178
|
+
table: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4179
|
+
text: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4180
|
+
uri: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4181
|
+
) -> None:
|
|
4182
|
+
"""Type checking stubs"""
|
|
4183
|
+
pass
|
|
4184
|
+
|
|
4185
|
+
def _typecheckingstub__ad701e115d2fd9b4466d2e7684673fb016d477b13a437828cd187af09efca3bc(
|
|
4186
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4187
|
+
id: builtins.str,
|
|
4188
|
+
props: typing.Union[RosInferenceJobProps, typing.Dict[builtins.str, typing.Any]],
|
|
4189
|
+
enable_resource_property_constraint: builtins.bool,
|
|
4190
|
+
) -> None:
|
|
4191
|
+
"""Type checking stubs"""
|
|
4192
|
+
pass
|
|
4193
|
+
|
|
4194
|
+
def _typecheckingstub__53a10946d2da8a01b6a8cc00c1b8b87a74732d39b1d69a4563761e7fd5fdaf22(
|
|
4195
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4196
|
+
) -> None:
|
|
4197
|
+
"""Type checking stubs"""
|
|
4198
|
+
pass
|
|
4199
|
+
|
|
4200
|
+
def _typecheckingstub__28ed8eea84fbe9f40ad0722884f95e6f430662bd58c0193ec2118657e5703e9b(
|
|
4201
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4202
|
+
) -> None:
|
|
4203
|
+
"""Type checking stubs"""
|
|
4204
|
+
pass
|
|
4205
|
+
|
|
4206
|
+
def _typecheckingstub__27c64434e017fb58188dc5bcb46621ff843f2bc4631c99615db1c0b98872c716(
|
|
4207
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4208
|
+
) -> None:
|
|
4209
|
+
"""Type checking stubs"""
|
|
4210
|
+
pass
|
|
4211
|
+
|
|
4212
|
+
def _typecheckingstub__2978381746155f7ee204e679c732df8f1a336e22e45c15bd1a359391eabfdc64(
|
|
4213
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4214
|
+
) -> None:
|
|
4215
|
+
"""Type checking stubs"""
|
|
4216
|
+
pass
|
|
4217
|
+
|
|
4218
|
+
def _typecheckingstub__18fee5b1bb7b9b694375115327ce05984d6cdeb2e8c45f02d4f18d600bec54e9(
|
|
4219
|
+
value: builtins.bool,
|
|
4220
|
+
) -> None:
|
|
4221
|
+
"""Type checking stubs"""
|
|
4222
|
+
pass
|
|
4223
|
+
|
|
4224
|
+
def _typecheckingstub__9411bb5bcafb1b6697958c229caaa73c7ace44a43299bb40003f1a4fa337b582(
|
|
4225
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4226
|
+
) -> None:
|
|
4227
|
+
"""Type checking stubs"""
|
|
4228
|
+
pass
|
|
4229
|
+
|
|
4230
|
+
def _typecheckingstub__7101dd81491101acec0e3806aff5e3fbfc8762828bec1e11077a49d47f551e39(
|
|
4231
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4232
|
+
) -> None:
|
|
4233
|
+
"""Type checking stubs"""
|
|
4234
|
+
pass
|
|
4235
|
+
|
|
4236
|
+
def _typecheckingstub__600d14dc3715cf8956a07d779520d39e1499ec074ee9424bf5f6bf2b3aba5029(
|
|
4237
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4238
|
+
) -> None:
|
|
4239
|
+
"""Type checking stubs"""
|
|
4240
|
+
pass
|
|
4241
|
+
|
|
4242
|
+
def _typecheckingstub__9bac40c525669191bea1a7881908a486181b59418e3c63ce1f4285cea70c39ab(
|
|
4243
|
+
value: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
4244
|
+
) -> None:
|
|
4245
|
+
"""Type checking stubs"""
|
|
4246
|
+
pass
|
|
4247
|
+
|
|
4248
|
+
def _typecheckingstub__2d2aacb915ac12061261820ef7863b11e968077ec4b5361bd6bd6e5e98d0029b(
|
|
4249
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4250
|
+
) -> None:
|
|
4251
|
+
"""Type checking stubs"""
|
|
4252
|
+
pass
|
|
4253
|
+
|
|
4254
|
+
def _typecheckingstub__1d4d1f5179685b1f07c7c071ba92b22bb46713fcb252cacbe1021a4e44aab274(
|
|
4255
|
+
value: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4256
|
+
) -> None:
|
|
4257
|
+
"""Type checking stubs"""
|
|
4258
|
+
pass
|
|
4259
|
+
|
|
4260
|
+
def _typecheckingstub__862df832163d3953cf547d4351e0a704e07a2f5bea11c179ad6855fa83bdc842(
|
|
4261
|
+
*,
|
|
4262
|
+
algorithm: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4263
|
+
campaign_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4264
|
+
data_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4265
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4266
|
+
target_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4267
|
+
training_job_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4268
|
+
user_config: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
4269
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4270
|
+
wait_for_inference_finish: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4271
|
+
) -> None:
|
|
4272
|
+
"""Type checking stubs"""
|
|
4273
|
+
pass
|
|
4274
|
+
|
|
4275
|
+
def _typecheckingstub__8bc31d177a7c9333439ccd42d60d12c555f6b0e12fe9918e7de3449c3eece375(
|
|
4276
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4277
|
+
id: builtins.str,
|
|
4278
|
+
props: typing.Union[RosSignatureProps, typing.Dict[builtins.str, typing.Any]],
|
|
4279
|
+
enable_resource_property_constraint: builtins.bool,
|
|
4280
|
+
) -> None:
|
|
4281
|
+
"""Type checking stubs"""
|
|
4282
|
+
pass
|
|
4283
|
+
|
|
4284
|
+
def _typecheckingstub__c07cf8815b9a265a51b741da602a917cf849c4f282783b127104d81d9cc83297(
|
|
4285
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4286
|
+
) -> None:
|
|
4287
|
+
"""Type checking stubs"""
|
|
4288
|
+
pass
|
|
4289
|
+
|
|
4290
|
+
def _typecheckingstub__771942f6809ffacd0e11a5960ef41f3f6f74405d5ed6f093d4579ba3b972e808(
|
|
4291
|
+
value: builtins.bool,
|
|
4292
|
+
) -> None:
|
|
4293
|
+
"""Type checking stubs"""
|
|
4294
|
+
pass
|
|
4295
|
+
|
|
4296
|
+
def _typecheckingstub__a1e0229dcb1b1f20416b7739ff98f1fa3d365f38145fd08827db19ea96153229(
|
|
4297
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4298
|
+
) -> None:
|
|
4299
|
+
"""Type checking stubs"""
|
|
4300
|
+
pass
|
|
4301
|
+
|
|
4302
|
+
def _typecheckingstub__bd18f9772f9b9f5aeeabfb61740fcccba832590a0557e7833258208f02c34d20(
|
|
4303
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4304
|
+
) -> None:
|
|
4305
|
+
"""Type checking stubs"""
|
|
4306
|
+
pass
|
|
4307
|
+
|
|
4308
|
+
def _typecheckingstub__2db14e0769b62fa39e4e2517e367ed1d81c3daa3e268c552e1a625eb324926fd(
|
|
4309
|
+
*,
|
|
4310
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4311
|
+
description: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4312
|
+
) -> None:
|
|
4313
|
+
"""Type checking stubs"""
|
|
4314
|
+
pass
|
|
4315
|
+
|
|
4316
|
+
def _typecheckingstub__2a19a260247482875184eec9c743e7d4c02fde9e05875b3f6e3353291f09bfbb(
|
|
4317
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4318
|
+
id: builtins.str,
|
|
4319
|
+
props: typing.Union[RosTemplateProps, typing.Dict[builtins.str, typing.Any]],
|
|
4320
|
+
enable_resource_property_constraint: builtins.bool,
|
|
4321
|
+
) -> None:
|
|
4322
|
+
"""Type checking stubs"""
|
|
4323
|
+
pass
|
|
4324
|
+
|
|
4325
|
+
def _typecheckingstub__136fc38fdbc29a6ca3d4d1b3dec1c4c57887b8afc824c1fb85d63d07e087e31b(
|
|
4326
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4327
|
+
) -> None:
|
|
4328
|
+
"""Type checking stubs"""
|
|
4329
|
+
pass
|
|
4330
|
+
|
|
4331
|
+
def _typecheckingstub__c3a2600456638f5f55032d0f49d9d3964c927601dd608d14cb3e23ab38ead0f8(
|
|
4332
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4333
|
+
) -> None:
|
|
4334
|
+
"""Type checking stubs"""
|
|
4335
|
+
pass
|
|
4336
|
+
|
|
4337
|
+
def _typecheckingstub__3c9a2986d610b137abeb4b893e29aa4590bc4a414ef03268b3b3a9077f91ca48(
|
|
4338
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4339
|
+
) -> None:
|
|
4340
|
+
"""Type checking stubs"""
|
|
4341
|
+
pass
|
|
4342
|
+
|
|
4343
|
+
def _typecheckingstub__9bf5dd55e053fb3ad6fba37967f7c8d088146ed47a4f49680368c59e9ca3b373(
|
|
4344
|
+
value: builtins.bool,
|
|
4345
|
+
) -> None:
|
|
4346
|
+
"""Type checking stubs"""
|
|
4347
|
+
pass
|
|
4348
|
+
|
|
4349
|
+
def _typecheckingstub__8013d1c6a80b51bdfbc5eb53d9c3cd13096bdb24ba26d4f84a5943138f430cb2(
|
|
4350
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4351
|
+
) -> None:
|
|
4352
|
+
"""Type checking stubs"""
|
|
4353
|
+
pass
|
|
4354
|
+
|
|
4355
|
+
def _typecheckingstub__fc1edae3a044e88e6075706bd5e50070b3ae74c1ed98c3693285b3272eaf7a80(
|
|
4356
|
+
value: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4357
|
+
) -> None:
|
|
4358
|
+
"""Type checking stubs"""
|
|
4359
|
+
pass
|
|
4360
|
+
|
|
4361
|
+
def _typecheckingstub__6bfe9c8cb7606698df3eb86694ee5e183fd6e93d7adddec39162a7cd8bf66565(
|
|
4362
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4363
|
+
) -> None:
|
|
4364
|
+
"""Type checking stubs"""
|
|
4365
|
+
pass
|
|
4366
|
+
|
|
4367
|
+
def _typecheckingstub__5a45c79027fa41d5d0a2a7ee84e53df72b44c07739dbd5d5ca901f0f433f7be7(
|
|
4368
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4369
|
+
) -> None:
|
|
4370
|
+
"""Type checking stubs"""
|
|
4371
|
+
pass
|
|
4372
|
+
|
|
4373
|
+
def _typecheckingstub__4ca94a8753dc3dd9bb4be64587bbe309b07ddda894bfdbba7fbf7c39e2fb6813(
|
|
4374
|
+
*,
|
|
4375
|
+
content: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4376
|
+
description: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4377
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4378
|
+
type: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4379
|
+
signature: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4380
|
+
signature_id: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4381
|
+
) -> None:
|
|
4382
|
+
"""Type checking stubs"""
|
|
4383
|
+
pass
|
|
4384
|
+
|
|
4385
|
+
def _typecheckingstub__89afcb05d2c2880af6295f48f89a4f65d596c10e666043cab7fc3de63da32d08(
|
|
4386
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4387
|
+
id: builtins.str,
|
|
4388
|
+
props: typing.Union[RosTrainingJobProps, typing.Dict[builtins.str, typing.Any]],
|
|
4389
|
+
enable_resource_property_constraint: builtins.bool,
|
|
4390
|
+
) -> None:
|
|
4391
|
+
"""Type checking stubs"""
|
|
4392
|
+
pass
|
|
4393
|
+
|
|
4394
|
+
def _typecheckingstub__e1eae5e9785bc375cc8c0d7b870745749fd80d2db972f30210e51582fd09ae04(
|
|
4395
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4396
|
+
) -> None:
|
|
4397
|
+
"""Type checking stubs"""
|
|
4398
|
+
pass
|
|
4399
|
+
|
|
4400
|
+
def _typecheckingstub__2e48fdb018ba7d6c92edad14ee6807a5c440f515595a83840fa268b6c1652139(
|
|
4401
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4402
|
+
) -> None:
|
|
4403
|
+
"""Type checking stubs"""
|
|
4404
|
+
pass
|
|
4405
|
+
|
|
4406
|
+
def _typecheckingstub__37aa4082a38bac2fe6a209dfe83cbb058d6e16c2572f8021526098956d3eb127(
|
|
4407
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4408
|
+
) -> None:
|
|
4409
|
+
"""Type checking stubs"""
|
|
4410
|
+
pass
|
|
4411
|
+
|
|
4412
|
+
def _typecheckingstub__e07de042739a95f82e601675785743fef135e37b5cc9a65a3174ef0af1ec0f31(
|
|
4413
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4414
|
+
) -> None:
|
|
4415
|
+
"""Type checking stubs"""
|
|
4416
|
+
pass
|
|
4417
|
+
|
|
4418
|
+
def _typecheckingstub__b10466a538ed87c80598600c9406e6464f3f80f10e9365a66168437c5168142b(
|
|
4419
|
+
value: builtins.bool,
|
|
4420
|
+
) -> None:
|
|
4421
|
+
"""Type checking stubs"""
|
|
4422
|
+
pass
|
|
4423
|
+
|
|
4424
|
+
def _typecheckingstub__d4fce401eb7e93a5ecf3112175c4467cb311d3291544a2854f21d359f7597ea0(
|
|
4425
|
+
value: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4426
|
+
) -> None:
|
|
4427
|
+
"""Type checking stubs"""
|
|
4428
|
+
pass
|
|
4429
|
+
|
|
4430
|
+
def _typecheckingstub__46ae961fc9292e4b28eaa4649d113caa3738ab29692430ab7575e39623be8e7b(
|
|
4431
|
+
value: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
4432
|
+
) -> None:
|
|
4433
|
+
"""Type checking stubs"""
|
|
4434
|
+
pass
|
|
4435
|
+
|
|
4436
|
+
def _typecheckingstub__2c0d7e7459d4c929f1c255f891cbd3aa12b58ba42ba06e91795515f1b0f0939f(
|
|
4437
|
+
value: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4438
|
+
) -> None:
|
|
4439
|
+
"""Type checking stubs"""
|
|
4440
|
+
pass
|
|
4441
|
+
|
|
4442
|
+
def _typecheckingstub__a8578299b4ea2ebb255e19b5d7c400844707d7bd0cee58bae66a0497e10070ff(
|
|
4443
|
+
value: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]],
|
|
4444
|
+
) -> None:
|
|
4445
|
+
"""Type checking stubs"""
|
|
4446
|
+
pass
|
|
4447
|
+
|
|
4448
|
+
def _typecheckingstub__432e70b8dcc47a6562e2060757cd5f367193a935063c3fbd1b3226deb75c7b44(
|
|
4449
|
+
*,
|
|
4450
|
+
algorithm: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4451
|
+
campaign_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4452
|
+
data_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4453
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4454
|
+
user_config: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
4455
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4456
|
+
wait_for_training_finish: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4457
|
+
) -> None:
|
|
4458
|
+
"""Type checking stubs"""
|
|
4459
|
+
pass
|
|
4460
|
+
|
|
4461
|
+
def _typecheckingstub__c82fcac36af6c18b166a3606950472b73ed189e7adbb6a11f546e0cd735ac9e2(
|
|
4462
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4463
|
+
id: builtins.str,
|
|
4464
|
+
props: typing.Union[SignatureProps, typing.Dict[builtins.str, typing.Any]],
|
|
4465
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
4466
|
+
) -> None:
|
|
4467
|
+
"""Type checking stubs"""
|
|
4468
|
+
pass
|
|
4469
|
+
|
|
4470
|
+
def _typecheckingstub__d29731b0f61c53a3c7c1eda13b05c0f32bcf381c4c7e2dbb2da57400f216345f(
|
|
4471
|
+
value: builtins.bool,
|
|
4472
|
+
) -> None:
|
|
4473
|
+
"""Type checking stubs"""
|
|
4474
|
+
pass
|
|
4475
|
+
|
|
4476
|
+
def _typecheckingstub__d3211d9a46f15458c66ac08d43b72e9a03ce757c9eac850a0587b9e3a60763a3(
|
|
4477
|
+
value: builtins.str,
|
|
4478
|
+
) -> None:
|
|
4479
|
+
"""Type checking stubs"""
|
|
4480
|
+
pass
|
|
4481
|
+
|
|
4482
|
+
def _typecheckingstub__c650330ae04b357ff0de9aa36538e390595fb0f5a6e0f9be42f0dcb2aa2abb1f(
|
|
4483
|
+
value: _ros_cdk_core_7adfd82f.Construct,
|
|
4484
|
+
) -> None:
|
|
4485
|
+
"""Type checking stubs"""
|
|
4486
|
+
pass
|
|
4487
|
+
|
|
4488
|
+
def _typecheckingstub__286e49536c7d1d708712639568dd33236d76e12ae952be44bd4d940a5fc69ff6(
|
|
4489
|
+
*,
|
|
4490
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4491
|
+
description: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4492
|
+
) -> None:
|
|
4493
|
+
"""Type checking stubs"""
|
|
4494
|
+
pass
|
|
4495
|
+
|
|
4496
|
+
def _typecheckingstub__77e4822b9126306739d1da7d954e32f4664eb9ec6460077a83802d090f9b7131(
|
|
4497
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4498
|
+
id: builtins.str,
|
|
4499
|
+
props: typing.Union[TemplateProps, typing.Dict[builtins.str, typing.Any]],
|
|
4500
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
4501
|
+
) -> None:
|
|
4502
|
+
"""Type checking stubs"""
|
|
4503
|
+
pass
|
|
4504
|
+
|
|
4505
|
+
def _typecheckingstub__1c6f1ec0f666e04ab9651bf3c8efdafab939b41494b9d9fdbfd5a2c950d6531d(
|
|
4506
|
+
value: builtins.bool,
|
|
4507
|
+
) -> None:
|
|
4508
|
+
"""Type checking stubs"""
|
|
4509
|
+
pass
|
|
4510
|
+
|
|
4511
|
+
def _typecheckingstub__999641da86e14db84e8816fa21d99a31f12a00d07a8bad117072dc2bc91950ea(
|
|
4512
|
+
value: builtins.str,
|
|
4513
|
+
) -> None:
|
|
4514
|
+
"""Type checking stubs"""
|
|
4515
|
+
pass
|
|
4516
|
+
|
|
4517
|
+
def _typecheckingstub__9c40d5b19cbddf4ac29d8f4ab11dd7fa7dc6bd2246cbb9dd784fc31440155284(
|
|
4518
|
+
value: _ros_cdk_core_7adfd82f.Construct,
|
|
4519
|
+
) -> None:
|
|
4520
|
+
"""Type checking stubs"""
|
|
4521
|
+
pass
|
|
4522
|
+
|
|
4523
|
+
def _typecheckingstub__bb86832fd1b85d40ef889b6c6bd4458575f2288a9b31a58ab9033a7d0b78a98b(
|
|
4524
|
+
*,
|
|
4525
|
+
content: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4526
|
+
description: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4527
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4528
|
+
type: typing.Union[jsii.Number, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4529
|
+
signature: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4530
|
+
signature_id: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4531
|
+
) -> None:
|
|
4532
|
+
"""Type checking stubs"""
|
|
4533
|
+
pass
|
|
4534
|
+
|
|
4535
|
+
def _typecheckingstub__c4b016cd541a9086610aaead48dec453470900fd3a16fa9df9045c0a295c5930(
|
|
4536
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4537
|
+
id: builtins.str,
|
|
4538
|
+
props: typing.Union[TrainingJobProps, typing.Dict[builtins.str, typing.Any]],
|
|
4539
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
4540
|
+
) -> None:
|
|
4541
|
+
"""Type checking stubs"""
|
|
4542
|
+
pass
|
|
4543
|
+
|
|
4544
|
+
def _typecheckingstub__611112019d322a36a7013b31a57c03dec89928deac3cc1341704d9b71fd5894f(
|
|
4545
|
+
value: builtins.bool,
|
|
4546
|
+
) -> None:
|
|
4547
|
+
"""Type checking stubs"""
|
|
4548
|
+
pass
|
|
4549
|
+
|
|
4550
|
+
def _typecheckingstub__7466856ede2de1b20cdb6fac8d1bf8ab9bce4daf0c661cfb905d7858b5be1f97(
|
|
4551
|
+
value: builtins.str,
|
|
4552
|
+
) -> None:
|
|
4553
|
+
"""Type checking stubs"""
|
|
4554
|
+
pass
|
|
4555
|
+
|
|
4556
|
+
def _typecheckingstub__cd5e6da1cec809c3afe6a8c8e9c711ff8faef1e4cd5fdc03bfa6a187755c0e0b(
|
|
4557
|
+
value: _ros_cdk_core_7adfd82f.Construct,
|
|
4558
|
+
) -> None:
|
|
4559
|
+
"""Type checking stubs"""
|
|
4560
|
+
pass
|
|
4561
|
+
|
|
4562
|
+
def _typecheckingstub__13d8d2c44ee0261550eb632d3a1b3fb5c018b45b61a41224e8e084793975ebc8(
|
|
4563
|
+
*,
|
|
4564
|
+
algorithm: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4565
|
+
campaign_id: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4566
|
+
data_path: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4567
|
+
name: typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable],
|
|
4568
|
+
user_config: typing.Union[_ros_cdk_core_7adfd82f.IResolvable, typing.Mapping[builtins.str, typing.Any]],
|
|
4569
|
+
remark: typing.Optional[typing.Union[builtins.str, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4570
|
+
wait_for_training_finish: typing.Optional[typing.Union[builtins.bool, _ros_cdk_core_7adfd82f.IResolvable]] = None,
|
|
4571
|
+
) -> None:
|
|
4572
|
+
"""Type checking stubs"""
|
|
4573
|
+
pass
|
|
4574
|
+
|
|
4575
|
+
def _typecheckingstub__5b736731c32166868ffc7f35cae50c2e73d26a607d47e9c9eddfb487bc593edb(
|
|
4576
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4577
|
+
id: builtins.str,
|
|
4578
|
+
props: typing.Union[CampaignProps, typing.Dict[builtins.str, typing.Any]],
|
|
4579
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
4580
|
+
) -> None:
|
|
4581
|
+
"""Type checking stubs"""
|
|
4582
|
+
pass
|
|
4583
|
+
|
|
4584
|
+
def _typecheckingstub__dc1c96347c5a5df0b0afdca86b501aa9cc72602ed789f0f9aaffed21b574f4bb(
|
|
4585
|
+
value: builtins.bool,
|
|
4586
|
+
) -> None:
|
|
4587
|
+
"""Type checking stubs"""
|
|
4588
|
+
pass
|
|
4589
|
+
|
|
4590
|
+
def _typecheckingstub__4e6b8cc9bbd791146fff2e11201480c200676dc7453de0af14ec41eafc0ee8ba(
|
|
4591
|
+
value: builtins.str,
|
|
4592
|
+
) -> None:
|
|
4593
|
+
"""Type checking stubs"""
|
|
4594
|
+
pass
|
|
4595
|
+
|
|
4596
|
+
def _typecheckingstub__115785c220bca5216d52527b204608f2ad6ce887aaff5bf1b24d33af67310a58(
|
|
4597
|
+
value: _ros_cdk_core_7adfd82f.Construct,
|
|
4598
|
+
) -> None:
|
|
4599
|
+
"""Type checking stubs"""
|
|
4600
|
+
pass
|
|
4601
|
+
|
|
4602
|
+
def _typecheckingstub__e359892a7ca47ef614982957d16ff58b0c8a1d87f70258f08dcca1e87a912847(
|
|
4603
|
+
scope: _ros_cdk_core_7adfd82f.Construct,
|
|
4604
|
+
id: builtins.str,
|
|
4605
|
+
props: typing.Union[GroupProps, typing.Dict[builtins.str, typing.Any]],
|
|
4606
|
+
enable_resource_property_constraint: typing.Optional[builtins.bool] = None,
|
|
4607
|
+
) -> None:
|
|
4608
|
+
"""Type checking stubs"""
|
|
4609
|
+
pass
|
|
4610
|
+
|
|
4611
|
+
def _typecheckingstub__736f7f1df90085b34236bcc05c1df287d4ffc11e72083882084a5413d8f44339(
|
|
4612
|
+
value: builtins.bool,
|
|
4613
|
+
) -> None:
|
|
4614
|
+
"""Type checking stubs"""
|
|
4615
|
+
pass
|
|
4616
|
+
|
|
4617
|
+
def _typecheckingstub__58da9615ef71b8d13c9b759ee9e7411330a3f91154324e274039a9ab2828eede(
|
|
4618
|
+
value: builtins.str,
|
|
4619
|
+
) -> None:
|
|
4620
|
+
"""Type checking stubs"""
|
|
4621
|
+
pass
|
|
4622
|
+
|
|
4623
|
+
def _typecheckingstub__e6b49ad50882d5b54aab954c0424aa720a654b918a049389c72f0e85b3bc1d7c(
|
|
4624
|
+
value: _ros_cdk_core_7adfd82f.Construct,
|
|
4625
|
+
) -> None:
|
|
4626
|
+
"""Type checking stubs"""
|
|
4627
|
+
pass
|