107 109 | baseConfig = PartitionConfig(
|
108 110 | name = "aws-cn",
|
109 111 | dnsSuffix = "amazonaws.com.cn",
|
110 112 | dualStackDnsSuffix = "api.amazonwebservices.com.cn",
|
111 113 | supportsFIPS = true,
|
112 114 | supportsDualStack = true,
|
113 115 | implicitGlobalRegion = "cn-northwest-1",
|
114 116 | ),
|
115 117 | ),
|
116 118 | Partition(
|
117 - | id = "aws-us-gov",
|
118 - | regionRegex = Regex("^us\\-gov\\-\\w+\\-\\d+$"),
|
119 + | id = "aws-eusc",
|
120 + | regionRegex = Regex("^eusc\\-(de)\\-\\w+\\-\\d+$"),
|
119 121 | regions = mapOf(
|
120 - | "aws-us-gov-global" to PartitionConfig(
|
121 - | ),
|
122 - | "us-gov-east-1" to PartitionConfig(
|
123 - | ),
|
124 - | "us-gov-west-1" to PartitionConfig(
|
122 + | "eusc-de-east-1" to PartitionConfig(
|
125 123 | ),
|
126 124 | ),
|
127 125 | baseConfig = PartitionConfig(
|
128 - | name = "aws-us-gov",
|
129 - | dnsSuffix = "amazonaws.com",
|
130 - | dualStackDnsSuffix = "api.aws",
|
126 + | name = "aws-eusc",
|
127 + | dnsSuffix = "amazonaws.eu",
|
128 + | dualStackDnsSuffix = "api.amazonwebservices.eu",
|
131 129 | supportsFIPS = true,
|
132 130 | supportsDualStack = true,
|
133 - | implicitGlobalRegion = "us-gov-west-1",
|
131 + | implicitGlobalRegion = "eusc-de-east-1",
|
134 132 | ),
|
135 133 | ),
|
136 134 | Partition(
|
137 135 | id = "aws-iso",
|
138 136 | regionRegex = Regex("^us\\-iso\\-\\w+\\-\\d+$"),
|
139 137 | regions = mapOf(
|
140 138 | "aws-iso-global" to PartitionConfig(
|
141 139 | ),
|
142 140 | "us-iso-east-1" to PartitionConfig(
|
143 141 | ),
|
144 142 | "us-iso-west-1" to PartitionConfig(
|
145 143 | ),
|
146 144 | ),
|
147 145 | baseConfig = PartitionConfig(
|
148 146 | name = "aws-iso",
|
149 147 | dnsSuffix = "c2s.ic.gov",
|
150 - | dualStackDnsSuffix = "c2s.ic.gov",
|
148 + | dualStackDnsSuffix = "api.aws.ic.gov",
|
151 149 | supportsFIPS = true,
|
152 - | supportsDualStack = false,
|
150 + | supportsDualStack = true,
|
153 151 | implicitGlobalRegion = "us-iso-east-1",
|
154 152 | ),
|
155 153 | ),
|
156 154 | Partition(
|
157 155 | id = "aws-iso-b",
|
158 156 | regionRegex = Regex("^us\\-isob\\-\\w+\\-\\d+$"),
|
159 157 | regions = mapOf(
|
160 158 | "aws-iso-b-global" to PartitionConfig(
|
161 159 | ),
|
162 160 | "us-isob-east-1" to PartitionConfig(
|
163 161 | ),
|
164 162 | ),
|
165 163 | baseConfig = PartitionConfig(
|
166 164 | name = "aws-iso-b",
|
167 165 | dnsSuffix = "sc2s.sgov.gov",
|
168 - | dualStackDnsSuffix = "sc2s.sgov.gov",
|
166 + | dualStackDnsSuffix = "api.aws.scloud",
|
169 167 | supportsFIPS = true,
|
170 - | supportsDualStack = false,
|
168 + | supportsDualStack = true,
|
171 169 | implicitGlobalRegion = "us-isob-east-1",
|
172 170 | ),
|
173 171 | ),
|
174 172 | Partition(
|
175 173 | id = "aws-iso-e",
|
176 174 | regionRegex = Regex("^eu\\-isoe\\-\\w+\\-\\d+$"),
|
177 175 | regions = mapOf(
|
178 176 | "aws-iso-e-global" to PartitionConfig(
|
179 177 | ),
|
180 178 | "eu-isoe-west-1" to PartitionConfig(
|
181 179 | ),
|
182 180 | ),
|
183 181 | baseConfig = PartitionConfig(
|
184 182 | name = "aws-iso-e",
|
185 183 | dnsSuffix = "cloud.adc-e.uk",
|
186 - | dualStackDnsSuffix = "cloud.adc-e.uk",
|
184 + | dualStackDnsSuffix = "api.cloud-aws.adc-e.uk",
|
187 185 | supportsFIPS = true,
|
188 - | supportsDualStack = false,
|
186 + | supportsDualStack = true,
|
189 187 | implicitGlobalRegion = "eu-isoe-west-1",
|
190 188 | ),
|
191 189 | ),
|
192 190 | Partition(
|
193 191 | id = "aws-iso-f",
|
194 192 | regionRegex = Regex("^us\\-isof\\-\\w+\\-\\d+$"),
|
195 193 | regions = mapOf(
|
196 194 | "aws-iso-f-global" to PartitionConfig(
|
197 195 | ),
|
198 196 | "us-isof-east-1" to PartitionConfig(
|
199 197 | ),
|
200 198 | "us-isof-south-1" to PartitionConfig(
|
201 199 | ),
|
202 200 | ),
|
203 201 | baseConfig = PartitionConfig(
|
204 202 | name = "aws-iso-f",
|
205 203 | dnsSuffix = "csp.hci.ic.gov",
|
206 - | dualStackDnsSuffix = "csp.hci.ic.gov",
|
204 + | dualStackDnsSuffix = "api.aws.hci.ic.gov",
|
207 205 | supportsFIPS = true,
|
208 - | supportsDualStack = false,
|
206 + | supportsDualStack = true,
|
209 207 | implicitGlobalRegion = "us-isof-south-1",
|
210 208 | ),
|
211 209 | ),
|
212 210 | Partition(
|
213 - | id = "aws-eusc",
|
214 - | regionRegex = Regex("^eusc\\-(de)\\-\\w+\\-\\d+$"),
|
211 + | id = "aws-us-gov",
|
212 + | regionRegex = Regex("^us\\-gov\\-\\w+\\-\\d+$"),
|
215 213 | regions = mapOf(
|
216 - | "eusc-de-east-1" to PartitionConfig(
|
214 + | "aws-us-gov-global" to PartitionConfig(
|
215 + | ),
|
216 + | "us-gov-east-1" to PartitionConfig(
|
217 + | ),
|
218 + | "us-gov-west-1" to PartitionConfig(
|
217 219 | ),
|
218 220 | ),
|
219 221 | baseConfig = PartitionConfig(
|
220 - | name = "aws-eusc",
|
221 - | dnsSuffix = "amazonaws.eu",
|
222 - | dualStackDnsSuffix = "amazonaws.eu",
|
222 + | name = "aws-us-gov",
|
223 + | dnsSuffix = "amazonaws.com",
|
224 + | dualStackDnsSuffix = "api.aws",
|
223 225 | supportsFIPS = true,
|
224 - | supportsDualStack = false,
|
225 - | implicitGlobalRegion = "eusc-de-east-1",
|
226 + | supportsDualStack = true,
|
227 + | implicitGlobalRegion = "us-gov-west-1",
|
226 228 | ),
|
227 229 | ),
|
228 230 | )
|