| 1 | { |
| 2 | "version": "1.0", |
| 3 | "testCases": [ |
| 4 | { |
| 5 | "documentation": "simple region endpoint", |
| 6 | "params": { |
| 7 | "region": "us-east-1" |
| 8 | }, |
| 9 | "expect": { |
| 10 | "endpoint": { |
| 11 | "url": "https://events.us-east-1.amazonaws.com" |
| 12 | } |
| 13 | } |
| 14 | }, |
| 15 | { |
| 16 | "documentation": "basic case of endpointId", |
| 17 | "params": { |
| 18 | "region": "us-east-1", |
| 19 | "endpointId": "myendpoint" |
| 20 | }, |
| 21 | "expect": { |
| 22 | "endpoint": { |
| 23 | "url": "https://myendpoint.endpoint.events.amazonaws.com", |
| 24 | "properties": { |
| 25 | "authSchemes": [ |
| 26 | { |
| 27 | "name": "sigv4a", |
| 28 | "signingName": "events", |
| 29 | "signingRegionSet": ["*"] |
| 30 | } |
| 31 | ] |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | }, |
| 36 | { |
| 37 | "documentation": "endpointId & FIPS", |
| 38 | "params": { |
| 39 | "region": "us-east-1", |
| 40 | "endpointId": "myendpoint", |
| 41 | "useFIPSEndpoint": true |
| 42 | }, |
| 43 | "expect": { |
| 44 | "error": "FIPS endpoints not supported with multi-region endpoints" |
| 45 | } |
| 46 | } |
| 47 | ] |
| 48 | } |