Definitions for @turbot/aws-trustedadvisor

trustedAdvisor

{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "Trusted Advisor"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/trustedAdvisorAka"
}
},
"title": {
"const": "Trusted Advisor"
},
"custom": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Valid - All properties",
"input": {
"name": "Trusted Advisor",
"turbot": {
"akas": [
"arn:aws:trustedadvisor::123456789012"
],
"title": "Trusted Advisor",
"custom": {
"aws": {
"accountId": 123456789012,
"partition": "aws"
}
}
}
}
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/aws-trustedadvisor#/definitions/trustedAdvisor",
"modUri": "tmod:@turbot/aws-trustedadvisor"
}
}

trustedAdvisorAka

{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:trustedadvisor::[0-9]{12}$",
"tests": [
{
"description": "Base",
"input": "arn:aws:trustedadvisor::123456789012"
},
{
"description": "Invalid service name",
"input": "arn:aws:amplifye::123456789012",
"expected": false
},
{
"description": "Invalid partition name",
"input": "arn:aws-ec:amplifye::123456789012",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-trustedadvisor#/definitions/trustedAdvisorAka",
"modUri": "tmod:@turbot/aws-trustedadvisor"
}
}