147 lines
4.7 KiB
JSON
147 lines
4.7 KiB
JSON
|
{
|
||
|
"testCases": [
|
||
|
{
|
||
|
"documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://api.pricing-fips.ap-south-1.api.aws"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "ap-south-1",
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://api.pricing-fips.ap-south-1.amazonaws.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "ap-south-1",
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://api.pricing.ap-south-1.api.aws"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "ap-south-1",
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://api.pricing.ap-south-1.amazonaws.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "ap-south-1",
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://api.pricing-fips.us-east-1.api.aws"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "us-east-1",
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://api.pricing-fips.us-east-1.amazonaws.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "us-east-1",
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://api.pricing.us-east-1.api.aws"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "us-east-1",
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://api.pricing.us-east-1.amazonaws.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "us-east-1",
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"documentation": "For custom endpoint with fips disabled and dualstack disabled",
|
||
|
"expect": {
|
||
|
"endpoint": {
|
||
|
"url": "https://example.com"
|
||
|
}
|
||
|
},
|
||
|
"params": {
|
||
|
"Region": "us-east-1",
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": false,
|
||
|
"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": {
|
||
|
"Region": "us-east-1",
|
||
|
"UseDualStack": false,
|
||
|
"UseFIPS": true,
|
||
|
"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": {
|
||
|
"Region": "us-east-1",
|
||
|
"UseDualStack": true,
|
||
|
"UseFIPS": false,
|
||
|
"Endpoint": "https://example.com"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"version": "1.0"
|
||
|
}
|