Definitions for @turbot/aws-servicecatalog

serviceCatalog

{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "ServiceCatalog"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/serviceCatalogAka"
}
},
"title": {
"const": "ServiceCatalog"
},
"custom": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "All valid properties",
"input": {
"name": "ServiceCatalog",
"turbot": {
"akas": [
"arn:aws:catalog:us-east-1:123456789012"
],
"title": "ServiceCatalog",
"custom": {
"aws": {
"accountId": 123456789012,
"regionName": "us-east-1"
}
}
}
}
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/aws-servicecatalog#/definitions/serviceCatalog",
"modUri": "tmod:@turbot/aws-servicecatalog"
}
}

serviceCatalogAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:catalog:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}",
"tests": [
{
"description": "base",
"input": "arn:aws:catalog:us-east-1:123123123123"
},
{
"description": "invalid aka",
"input": "arn:aws:service111:us-east-1:123123123123",
"expected": false
},
{
"description": "partition aka",
"input": "arn:aws-ec:service111:us-east-1:123123123123",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-servicecatalog#/definitions/serviceCatalogAka",
"modUri": "tmod:@turbot/aws-servicecatalog"
}
}