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
/
Copy pathproserve-cloudformation-stackinstances.json
225 lines (225 loc) · 7.92 KB
/
proserve-cloudformation-stackinstances.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
{
"typeName": "ProServe::Cloudformation::StackInstances",
"description": "Concurrent cloudformation stack instance management within stacksets",
"sourceUrl": "https://gitlab.aws.dev/manu-lz/aws-cloudformation-stack-instances",
"definitions": {
"OperationPreferences": {
"description": "The user-specified preferences for how AWS CloudFormation performs a stack set operation.",
"type": "object",
"properties": {
"FailureToleranceCount": {
"type": "integer",
"minimum": 0
},
"FailureTolerancePercentage": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"MaxConcurrentCount": {
"type": "integer",
"minimum": 1
},
"MaxConcurrentPercentage": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"RegionOrder": {
"type": "array",
"items": {
"$ref": "#/definitions/Region"
}
},
"RegionConcurrencyType": {
"$ref": "#/definitions/RegionConcurrencyType"
}
},
"additionalProperties": false
},
"Parameter": {
"type": "object",
"properties": {
"ParameterKey": {
"description": "The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.",
"type": "string"
},
"ParameterValue": {
"description": "The input value associated with the parameter.",
"type": "string"
}
},
"required": [
"ParameterKey",
"ParameterValue"
],
"additionalProperties": false
},
"Capability": {
"type": "string",
"enum": [
"CAPABILITY_IAM",
"CAPABILITY_NAMED_IAM",
"CAPABILITY_AUTO_EXPAND"
]
},
"RegionConcurrencyType": {
"description": "The concurrency type of deploying StackSets operations in regions, could be in parallel or one region at a time",
"type": "string",
"enum": [
"SEQUENTIAL",
"PARALLEL"
]
},
"Account": {
"pattern": "^[0-9]{12}$",
"type": "string"
},
"Region": {
"pattern": "^[a-zA-Z0-9-]{1,128}$",
"type": "string"
},
"DeploymentTargets": {
"description": " The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions.",
"type": "object",
"properties": {
"Accounts": {
"description": "AWS accounts that you want to create stack instances in the specified Region(s) for.",
"type": "array",
"minItems": 1,
"uniqueItems": true,
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Account"
}
}
},
"additionalProperties": false
},
"StackInstances": {
"description": "Stack instances in some specific accounts and Regions.",
"type": "object",
"properties": {
"DeploymentTargets": {
"$ref": "#/definitions/DeploymentTargets"
},
"Regions": {
"description": "The names of one or more Regions where you want to create stack instances using the specified AWS account(s).",
"type": "array",
"minItems": 1,
"uniqueItems": true,
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Region"
}
},
"ParameterOverrides": {
"description": "A list of stack set parameters whose values you want to override in the selected stack instances.",
"type": "array",
"uniqueItems": true,
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Parameter"
}
}
},
"required": [
"DeploymentTargets",
"Regions"
],
"additionalProperties": false
}
},
"properties": {
"InstanceId": {
"description": "Id is automatically generated on creation and assigned as the unique identifier.",
"type": "string"
},
"StackSetName": {
"description": "The name to associate with the stack set. The name must be unique in the Region where you create your stack set.",
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,127}$",
"maxLength": 128
},
"Capabilities": {
"description": "In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances.",
"type": "array",
"uniqueItems": true,
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Capability"
}
},
"StackInstances": {
"$ref": "#/definitions/StackInstances"
},
"OperationPreferences": {
"$ref": "#/definitions/OperationPreferences"
},
"Parameters": {
"description": "The input parameters for the stack set template.",
"type": "array",
"uniqueItems": true,
"insertionOrder": false,
"items": {
"$ref": "#/definitions/Parameter"
}
}
},
"additionalProperties": false,
"required": [
"StackSetName",
"StackInstances"
],
"readOnlyProperties": [
"/properties/InstanceId"
],
"primaryIdentifier": [
"/properties/InstanceId"
],
"handlers": {
"create": {
"timeoutInMinutes" : 720,
"permissions": [
"cloudformation:CreateStackInstances",
"cloudformation:Get*",
"cloudformation:List*",
"cloudformation:Describe*"
]
},
"read": {
"permissions": [
"cloudformation:DescribeStackInstances",
"cloudformation:Get*",
"cloudformation:List*",
"cloudformation:Describe*"
]
},
"update": {
"timeoutInMinutes" : 720,
"permissions": [
"cloudformation:UpdateStackInstances",
"cloudformation:Get*",
"cloudformation:List*",
"cloudformation:Describe*"
]
},
"delete": {
"timeoutInMinutes" : 720,
"permissions": [
"cloudformation:DeleteStackInstances",
"cloudformation:Get*",
"cloudformation:List*",
"cloudformation:Describe*"
]
},
"list": {
"permissions": [
"cloudformation:ListStackInstances",
"cloudformation:Get*",
"cloudformation:List*",
"cloudformation:Describe*"
]
}
}
}