Definitions for @turbot/aws-iotthingsgraph
iotThingsGraph
Schema
{ "allOf": [ { "$ref": "turbot#/definitions/service" }, { "type": "object", "properties": { "name": { "const": "IoT Things Graph" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/iotThingsGraphAka" } }, "title": { "const": "IoT Things Graph" }, "custom": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" } } } } } }, "additionalProperties": true, "tests": [ { "description": "All data are valid", "input": { "name": "IoT Things Graph", "turbot": { "akas": [ "arn:aws:iotthingsgraph:us-east-1:123123123123" ], "title": "IoT Things Graph", "custom": { "aws": { "accountId": 123456789012 } } } } }, { "description": "Invalid - Name does not match", "input": { "name": "IoT Things Graph", "turbot": { "akas": [ "arn:aws:iotthingsgraph:us-east-1:123456789012" ], "title": "IoT Things Graph", "custom": { "aws": { "accountId": 123456789012 } } } }, "expected": false } ] } ], ".turbot": { "uri": "tmod:@turbot/aws-iotthingsgraph#/definitions/iotThingsGraph", "modUri": "tmod:@turbot/aws-iotthingsgraph" }}
iotThingsGraphAka
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:iotthingsgraph:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}$", "tests": [ { "description": "base", "input": "arn:aws:iotthingsgraph:us-east-1:123123123123" }, { "description": "invalid service name", "input": "arn:aws:iotthingsgraph3:us-east-1:123123123123", "expected": false }, { "description": "invalid region name", "input": "arn:aws:iotthingsgraph:us-eastdk-74381:123456786354", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-iotthingsgraph#/definitions/iotThingsGraphAka", "modUri": "tmod:@turbot/aws-iotthingsgraph" }}