Definitions for @turbot/aws-greengrass
greengrass
Schema
{ "allOf": [ { "$ref": "turbot#/definitions/service", "type": "object", "properties": { "name": { "const": "Greengrass" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/greengrassAka" } }, "title": { "const": "Greengrass" }, "custom": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" } } } } } }, "additionalProperties": true, "tests": [ { "description": "All valid properties", "input": { "name": "Greengrass", "turbot": { "akas": [ "arn:aws:greengrass:us-east-1:123456789012" ], "title": "Greengrass", "custom": { "aws": { "accountId": 123456789012 } } } } }, { "description": "invalid - name is missing", "input": { "turbot": { "akas": [ "arn:aws:greengrass:us-east-1:123456789012" ], "title": "Greengrass", "custom": { "aws": { "accountId": 123456789012 } } } }, "expected": false } ] } ], ".turbot": { "uri": "tmod:@turbot/aws-greengrass#/definitions/greengrass", "modUri": "tmod:@turbot/aws-greengrass" }}
greengrassAka
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:greengrass:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}$", "tests": [ { "description": "base", "input": "arn:aws:greengrass:us-east-1:123123123123" }, { "description": "invalid aka", "input": "arn:aws:greengrass11:us-east-1:123123123123", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-greengrass#/definitions/greengrassAka", "modUri": "tmod:@turbot/aws-greengrass" }}