295 lines
9.7 KiB
JSON
295 lines
9.7 KiB
JSON
|
{
|
||
|
"testCases": [
|
||
|
{
|
||
|
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime-fips.us-gov-east-1.api.aws"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-gov-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime-fips.us-gov-east-1.amazonaws.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-gov-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime.us-gov-east-1.api.aws"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-gov-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime.us-gov-east-1.amazonaws.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-gov-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime-fips.cn-north-1.api.amazonwebservices.com.cn"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "cn-north-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime-fips.cn-north-1.amazonaws.com.cn"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "cn-north-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime.cn-north-1.api.amazonwebservices.com.cn"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "cn-north-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime.cn-north-1.amazonaws.com.cn"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "cn-north-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-iso-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime-fips.us-iso-east-1.c2s.ic.gov"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-iso-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"error": "DualStack is enabled but this partition does not support DualStack"
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-iso-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime.us-iso-east-1.c2s.ic.gov"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-iso-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime-fips.us-east-1.api.aws"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime-fips.us-east-1.amazonaws.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime.us-east-1.api.aws"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime.us-east-1.amazonaws.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-isob-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime-fips.us-isob-east-1.sc2s.sgov.gov"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-isob-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"error": "DualStack is enabled but this partition does not support DualStack"
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-isob-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://voice-chime.us-isob-east-1.sc2s.sgov.gov"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-isob-east-1"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For custom endpoint with fips disabled and dualstack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://example.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-east-1",
|
||
|
"Endpoint": "https://example.com"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
||
|
"expect": {
|
||
|
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true,
|
||
|
"Region": "us-east-1",
|
||
|
"Endpoint": "https://example.com"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
||
|
"expect": {
|
||
|
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
||
|
},
|
||
|
"params": {
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false,
|
||
|
"Region": "us-east-1",
|
||
|
"Endpoint": "https://example.com"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"version": "1.0"
|
||
|
}
|