Definitions for @turbot/aws-neptune

neptune

{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "Neptune"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/neptuneAka"
}
},
"title": {
"const": "Neptune"
},
"custom": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "All data are valid",
"input": {
"name": "Neptune",
"turbot": {
"akas": [
"arn:aws:neptune-db:us-east-1:123456789012"
],
"title": "Neptune",
"custom": {
"aws": {
"accountId": 123456789012,
"regionName": "us-east-1"
}
}
}
}
},
{
"description": "invalid - service name prefixed",
"input": {
"title": "AWS Neptune"
},
"expected": false
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/aws-neptune#/definitions/neptune",
"modUri": "tmod:@turbot/aws-neptune"
}
}

neptuneAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:neptune-db:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}$",
"tests": [
{
"description": "base",
"input": "arn:aws:neptune-db:us-east-1:123123123123"
},
{
"description": "invalid service name",
"input": "arn:aws:Dms:us-east-1:123123123123",
"expected": false
},
{
"description": "invalid region name",
"input": "arn:aws:neptune-db:us-eastdk-74381:123456786354",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-neptune#/definitions/neptuneAka",
"modUri": "tmod:@turbot/aws-neptune"
}
}