Definitions for @turbot/aws-chime

chime

{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "Chime"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/chimeAka"
}
},
"title": {
"const": "Chime"
},
"custom": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "All valid properties",
"input": {
"name": "Chime",
"turbot": {
"akas": [
"arn:aws:chime::123456789012"
],
"title": "Chime",
"custom": {
"aws": {
"accountId": 123456789012
}
}
}
}
},
{
"description": "invalid - name is missing",
"input": {
"name": "Chime",
"turbot": {
"akas": [
"arn:aws:chime::123456789012"
],
"title": "Chime",
"custom": {
"aws": {
"accountId": 123456789012
}
}
}
},
"expected": false
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/aws-chime#/definitions/chime",
"modUri": "tmod:@turbot/aws-chime"
}
}

chimeAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:chime::[0-9]{12}",
"tests": [
{
"description": "base",
"input": "arn:aws:chime::123123123123"
},
{
"description": "invalid aka",
"input": "arn:aws:chime111::123123123123",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-chime#/definitions/chimeAka",
"modUri": "tmod:@turbot/aws-chime"
}
}