This repository has been archived by the owner on Jun 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
proserve-servicecatalog-concurrentprovisionedproduct.json
286 lines (286 loc) · 9.29 KB
/
proserve-servicecatalog-concurrentprovisionedproduct.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
{
"typeName": "ProServe::ServiceCatalog::ConcurrentProvisionedProduct",
"description": "Resource Schema for ProServe::ServiceCatalog::ConcurrentProvisionedProduct",
"sourceUrl": "https://gitlab.aws.dev/manu-lz/aws-concurrent-provisioned-product.git",
"definitions": {
"ProvisioningPreferences": {
"description": "StackSet preferences that are required for provisioning the product or updating a provisioned product.\n\n",
"type": "object",
"properties": {
"StackSetAccounts": {
"type": "array",
"uniqueItems": true,
"insertionOrder": false,
"items" : {
"type" : "string",
"pattern": "^[0-9]{12}$"
}
},
"StackSetFailureToleranceCount": {
"type": "integer",
"minimum": 0
},
"StackSetFailureTolerancePercentage": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"StackSetMaxConcurrencyCount": {
"type": "integer",
"minimum": 1
},
"StackSetMaxConcurrencyPercentage": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"StackSetOperationType": {
"type": "string",
"enum": [
"CREATE",
"UPDATE",
"DELETE"
]
},
"StackSetRegions": {
"type": "array",
"uniqueItems": true,
"insertionOrder": false,
"items" : {
"type" : "string",
"pattern": "^[a-z]{2}-([a-z]+-)+[1-9]"
}
}
},
"additionalProperties": false
},
"ProvisioningParameter": {
"type": "object",
"properties": {
"Key": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"Value": {
"type": "string",
"maxLength": 4096
}
},
"additionalProperties": false,
"required": [
"Key",
"Value"
]
},
"Tag": {
"type": "object",
"properties": {
"Key": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"Value": {
"type": "string",
"minLength": 1,
"maxLength": 256
}
},
"additionalProperties": false,
"required": [
"Key",
"Value"
]
},
"OutputType": {
"type": "string"
}
},
"properties": {
"RoleArn": {
"description": "Role ARN to be assumed in order to launch the product.",
"type": "string"
},
"AcceptLanguage": {
"description": "The language code.",
"type": "string",
"enum": [
"en",
"jp",
"zh"
]
},
"NotificationArns": {
"description": "Passed to AWS CloudFormation. The SNS topic ARNs to which to publish stack-related events.",
"type" : "array",
"insertionOrder": false,
"uniqueItems": true,
"items" : {
"type" : "string"
},
"maxItems": 5
},
"PathId": {
"description": "The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"PathName": {
"description": "The name of the path. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"ProductId": {
"description": "The product identifier.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"ProductName": {
"description": "A user-friendly name for the provisioned product. This value must be unique for the AWS account and cannot be updated after the product is provisioned.\n\nEach time a stack is created or updated, if ProductName is provided it will successfully resolve to ProductId as long as only one product exists in the account or Region with that ProductName.",
"type": "string",
"minLength": 1,
"maxLength": 128
},
"ProvisionedProductName": {
"description": "A user-friendly name for the provisioned product. This value must be unique for the AWS account and cannot be updated after the product is provisioned.",
"type": "string",
"minLength": 1,
"maxLength": 128
},
"ProvisioningArtifactId": {
"description": "The identifier of the provisioning artifact (also known as a version).",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"ProvisioningArtifactName": {
"description": "The name of the provisioning artifact (also known as a version) for the product. This name must be unique for the product.",
"type": "string"
},
"ProvisioningParameters": {
"description": "Parameters specified by the administrator that are required for provisioning the product.",
"type": "array",
"insertionOrder": false,
"items": {
"$ref" : "#/definitions/ProvisioningParameter"
}
},
"ProvisioningPreferences": {
"$ref" : "#/definitions/ProvisioningPreferences"
},
"Tags": {
"description": "One or more tags.",
"type": "array",
"insertionOrder": false,
"items": {
"$ref" : "#/definitions/Tag"
}
},
"Id": {
"description": "Unique internal identifier, used to properly track state",
"type": "string",
"minLength": 1,
"maxLength": 50
},
"ProvisionedProductId": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"RecordId": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"OutputKey": {
"description": "The output key defines one key of an output of the launched product which should be returned as OutputValue",
"type": "string"
},
"Outputs": {
"description": "List of key-value pair outputs.",
"type": "object",
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"$ref": "#/definitions/OutputType"
}
},
"additionalProperties": false,
"maxProperties": 100
},
"OutputValue": {
"description": "The output value returned from provisioned product, key defined in OutputKey property",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"ProvisionedProductName"
],
"oneOf": [
{
"required": [
"ProductId",
"ProvisioningArtifactId"
]
},
{
"required": [
"ProductName",
"ProvisioningArtifactId"
]
},
{
"required": [
"ProductName",
"ProvisioningArtifactName"
]
},
{
"required": [
"ProductId",
"ProvisioningArtifactName"
]
}
],
"readOnlyProperties": [
"/properties/Id",
"/properties/ProvisionedProductId",
"/properties/Outputs",
"/properties/OutputValue"
],
"createOnlyProperties": [
"/properties/NotificationArns",
"/properties/ProvisionedProductName"
],
"primaryIdentifier": [
"/properties/Id"
],
"handlers": {
"create": {
"permissions": [
"*"
],
"timeoutInMinutes": 720
},
"read": {
"permissions": [
"*"
]
},
"update": {
"permissions": [
"*"
],
"timeoutInMinutes": 720
},
"delete": {
"permissions": [
"*"
]
}
}
}