Definitions for @turbot/aws-xray

encryptionConfig

{
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"KeyId": {
"type": "string"
},
"Status": {
"type": "string",
"enum": [
"UPDATING",
"ACTIVE"
]
},
"Type": {
"type": "string",
"enum": [
"NONE",
"KMS"
]
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/encryptionConfigAka"
}
},
"metadata": {
"type": "object",
"properties": {
"createTimestamp": {
"$ref": "turbot#/definitions/isoTimestamp"
},
"aws": {
"$ref": "aws#/definitions/awsMetadata"
}
}
}
}
}
},
"additionalProperties": true,
".turbot": {
"uri": "tmod:@turbot/aws-xray#/definitions/encryptionConfig",
"modUri": "tmod:@turbot/aws-xray"
}
}

encryptionConfigAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:xray:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}:encryptionconfig$",
"tests": [
{
"description": "Valid - Base case",
"input": "arn:aws:xray:us-west-2:492552618977:encryptionconfig"
},
{
"description": "Invalid - Malformed aka",
"input": "arn:aws:xray:usa-west-2:49255261897322237:encryptionconfig",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-xray#/definitions/encryptionConfigAka",
"modUri": "tmod:@turbot/aws-xray"
}
}

xray

{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "X-Ray"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/xrayAka"
}
},
"title": {
"const": "X-Ray"
},
"custom": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "All valid properties",
"input": {
"name": "X-Ray",
"turbot": {
"akas": [
"arn:aws:xray:eu-west-1:123123123123"
],
"title": "X-Ray",
"custom": {
"aws": {
"accountId": 123456789012,
"regionName": "us-east-1",
"partition": "aws"
}
}
}
}
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/aws-xray#/definitions/xray",
"modUri": "tmod:@turbot/aws-xray"
}
}

xrayAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:xray:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}",
"tests": [
{
"description": "base",
"input": "arn:aws:xray:eu-west-1:123123123123"
},
{
"description": "invalid aka",
"input": "arn:aws:xray:eu-west-1:123123",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-xray#/definitions/xrayAka",
"modUri": "tmod:@turbot/aws-xray"
}
}