|
1 | 1 | {
|
2 | 2 | "testCases": [
|
| 3 | + { |
| 4 | + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", |
| 5 | + "expect": { |
| 6 | + "endpoint": { |
| 7 | + "url": "https://private-networks-fips.us-west-2.api.aws" |
| 8 | + } |
| 9 | + }, |
| 10 | + "params": { |
| 11 | + "UseFIPS": true, |
| 12 | + "UseDualStack": true, |
| 13 | + "Region": "us-west-2" |
| 14 | + } |
| 15 | + }, |
| 16 | + { |
| 17 | + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", |
| 18 | + "expect": { |
| 19 | + "endpoint": { |
| 20 | + "url": "https://private-networks-fips.us-west-2.amazonaws.com" |
| 21 | + } |
| 22 | + }, |
| 23 | + "params": { |
| 24 | + "UseFIPS": true, |
| 25 | + "UseDualStack": false, |
| 26 | + "Region": "us-west-2" |
| 27 | + } |
| 28 | + }, |
| 29 | + { |
| 30 | + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", |
| 31 | + "expect": { |
| 32 | + "endpoint": { |
| 33 | + "url": "https://private-networks.us-west-2.api.aws" |
| 34 | + } |
| 35 | + }, |
| 36 | + "params": { |
| 37 | + "UseFIPS": false, |
| 38 | + "UseDualStack": true, |
| 39 | + "Region": "us-west-2" |
| 40 | + } |
| 41 | + }, |
| 42 | + { |
| 43 | + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", |
| 44 | + "expect": { |
| 45 | + "endpoint": { |
| 46 | + "url": "https://private-networks.us-west-2.amazonaws.com" |
| 47 | + } |
| 48 | + }, |
| 49 | + "params": { |
| 50 | + "UseFIPS": false, |
| 51 | + "UseDualStack": false, |
| 52 | + "Region": "us-west-2" |
| 53 | + } |
| 54 | + }, |
| 55 | + { |
| 56 | + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", |
| 57 | + "expect": { |
| 58 | + "endpoint": { |
| 59 | + "url": "https://private-networks-fips.us-east-1.api.aws" |
| 60 | + } |
| 61 | + }, |
| 62 | + "params": { |
| 63 | + "UseFIPS": true, |
| 64 | + "UseDualStack": true, |
| 65 | + "Region": "us-east-1" |
| 66 | + } |
| 67 | + }, |
| 68 | + { |
| 69 | + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", |
| 70 | + "expect": { |
| 71 | + "endpoint": { |
| 72 | + "url": "https://private-networks-fips.us-east-1.amazonaws.com" |
| 73 | + } |
| 74 | + }, |
| 75 | + "params": { |
| 76 | + "UseFIPS": true, |
| 77 | + "UseDualStack": false, |
| 78 | + "Region": "us-east-1" |
| 79 | + } |
| 80 | + }, |
| 81 | + { |
| 82 | + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", |
| 83 | + "expect": { |
| 84 | + "endpoint": { |
| 85 | + "url": "https://private-networks.us-east-1.api.aws" |
| 86 | + } |
| 87 | + }, |
| 88 | + "params": { |
| 89 | + "UseFIPS": false, |
| 90 | + "UseDualStack": true, |
| 91 | + "Region": "us-east-1" |
| 92 | + } |
| 93 | + }, |
| 94 | + { |
| 95 | + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", |
| 96 | + "expect": { |
| 97 | + "endpoint": { |
| 98 | + "url": "https://private-networks.us-east-1.amazonaws.com" |
| 99 | + } |
| 100 | + }, |
| 101 | + "params": { |
| 102 | + "UseFIPS": false, |
| 103 | + "UseDualStack": false, |
| 104 | + "Region": "us-east-1" |
| 105 | + } |
| 106 | + }, |
| 107 | + { |
| 108 | + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", |
| 109 | + "expect": { |
| 110 | + "endpoint": { |
| 111 | + "url": "https://private-networks-fips.us-east-2.api.aws" |
| 112 | + } |
| 113 | + }, |
| 114 | + "params": { |
| 115 | + "UseFIPS": true, |
| 116 | + "UseDualStack": true, |
| 117 | + "Region": "us-east-2" |
| 118 | + } |
| 119 | + }, |
| 120 | + { |
| 121 | + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", |
| 122 | + "expect": { |
| 123 | + "endpoint": { |
| 124 | + "url": "https://private-networks-fips.us-east-2.amazonaws.com" |
| 125 | + } |
| 126 | + }, |
| 127 | + "params": { |
| 128 | + "UseFIPS": true, |
| 129 | + "UseDualStack": false, |
| 130 | + "Region": "us-east-2" |
| 131 | + } |
| 132 | + }, |
| 133 | + { |
| 134 | + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", |
| 135 | + "expect": { |
| 136 | + "endpoint": { |
| 137 | + "url": "https://private-networks.us-east-2.api.aws" |
| 138 | + } |
| 139 | + }, |
| 140 | + "params": { |
| 141 | + "UseFIPS": false, |
| 142 | + "UseDualStack": true, |
| 143 | + "Region": "us-east-2" |
| 144 | + } |
| 145 | + }, |
| 146 | + { |
| 147 | + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", |
| 148 | + "expect": { |
| 149 | + "endpoint": { |
| 150 | + "url": "https://private-networks.us-east-2.amazonaws.com" |
| 151 | + } |
| 152 | + }, |
| 153 | + "params": { |
| 154 | + "UseFIPS": false, |
| 155 | + "UseDualStack": false, |
| 156 | + "Region": "us-east-2" |
| 157 | + } |
| 158 | + }, |
3 | 159 | {
|
4 | 160 | "documentation": "For custom endpoint with fips disabled and dualstack disabled",
|
5 | 161 | "expect": {
|
|
8 | 164 | }
|
9 | 165 | },
|
10 | 166 | "params": {
|
| 167 | + "UseFIPS": false, |
11 | 168 | "UseDualStack": false,
|
12 | 169 | "Region": "us-east-1",
|
13 |
| - "UseFIPS": false, |
14 | 170 | "Endpoint": "https://example.com"
|
15 | 171 | }
|
16 | 172 | },
|
|
20 | 176 | "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21 | 177 | },
|
22 | 178 | "params": {
|
| 179 | + "UseFIPS": true, |
23 | 180 | "UseDualStack": false,
|
24 | 181 | "Region": "us-east-1",
|
25 |
| - "UseFIPS": true, |
26 | 182 | "Endpoint": "https://example.com"
|
27 | 183 | }
|
28 | 184 | },
|
|
32 | 188 | "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
33 | 189 | },
|
34 | 190 | "params": {
|
| 191 | + "UseFIPS": false, |
35 | 192 | "UseDualStack": true,
|
36 | 193 | "Region": "us-east-1",
|
37 |
| - "UseFIPS": false, |
38 | 194 | "Endpoint": "https://example.com"
|
39 | 195 | }
|
40 | 196 | }
|
|
0 commit comments