Definitions for @turbot/aws-bedrock

bedrock

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

bedrockAka

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