Definitions for @turbot/aws-swf
domain
Schema
{ "type": "object", "properties": { "name": { "$ref": "#/definitions/domainName" }, "status": { "$ref": "#/definitions/domainStatus" }, "description": { "type": "string" }, "arn": { "$ref": "#/definitions/domainAka" }, "configuration": { "type": "object" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/domainAka" } }, "title": { "$ref": "#/definitions/domainName" }, "tags": { "$ref": "aws#/definitions/tagsMap" }, "custom": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" }, "createTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" } } } } } }, "additionalProperties": true, "tests": [ { "description": "Valid - All properties", "input": { "name": "domaintes01", "status": "REGISTERED", "description": "", "arn": "arn:aws:swf:us-west-2:492552618977:/domain/teast", "turbot": { "title": "domaintes01", "custom": { "aws": { "accountId": 123456789012, "regionName": "us-east-1" } } } } } ], ".turbot": { "uri": "tmod:@turbot/aws-swf#/definitions/domain", "modUri": "tmod:@turbot/aws-swf" }}
domainAka
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:swf:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}:/domain/[0-9a-zA-Z-]{1,256}$", "tests": [ { "description": "Valid - Base case", "input": "arn:aws:swf:us-east-1:123456789012:/domain/test01" }, { "description": "Invalid - Malformed resource collection", "input": "arn:aws:swf:us-east-1:123456789012:/domains/test01", "expected": false }, { "description": "Invalid - Malformed region name", "input": "arn:aws:swf:use-east-1:123456789012:/domain/test01", "expected": false }, { "description": "Invalid - Malformed account ID", "input": "arn:aws:swf:us-east-1:123456789012345:/domain/test01", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-swf#/definitions/domainAka", "modUri": "tmod:@turbot/aws-swf" }}
domainName
Schema
{ "type": "string", "minLength": 1, "maxLength": 256, "tests": [ { "input": "foo" }, { "input": "00123" }, { "input": "abcde" }, { "input": "TestThe-Kitchen_Sink" }, { "description": "min length", "input": "1" }, { "description": "max length", "input": "12345678901234567890123456789012345678901234567123456789012345678901234567890123456789012345671234567890123456789012345678901234567890123456712345678901234567890123456789012345678901234567123456789012345678901234567890123456789012345671234" }, { "description": "invalid - empty string", "input": "", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-swf#/definitions/domainName", "modUri": "tmod:@turbot/aws-swf" }}
domainStatus
Schema
{ "type": "string", "enum": [ "REGISTERED", "DEPRECATED" ], "tests": [ { "input": "REGISTERED" }, { "input": "DEPRECATED" }, { "description": "invalid - empty string", "input": "", "expected": false }, { "description": "invalid - case sensitive", "input": "registered", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-swf#/definitions/domainStatus", "modUri": "tmod:@turbot/aws-swf" }}
swf
Schema
{ "allOf": [ { "$ref": "turbot#/definitions/service" }, { "type": "object", "properties": { "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/swfAka" } }, "title": { "const": "SWF" }, "custom": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" } } } } } }, "additionalProperties": true, "tests": [ { "description": "All valid properties", "input": { "name": "SWF", "turbot": { "akas": [ "arn:aws:swf:us-east-1:123123123123" ], "title": "SWF", "custom": { "aws": { "accountId": 123456789012, "regionName": "us-east-1" } } } } } ] } ], ".turbot": { "uri": "tmod:@turbot/aws-swf#/definitions/swf", "modUri": "tmod:@turbot/aws-swf" }}
swfAka
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:swf:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}", "tests": [ { "description": "base", "input": "arn:aws:swf:us-east-1:123123123123" }, { "description": "invalid service name", "input": "arn:aws:swfs:us-east-1:123123123123", "expected": false }, { "description": "invalid region name", "input": "arn:aws:swf:us-eastdk-74381:123456786354", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-swf#/definitions/swfAka", "modUri": "tmod:@turbot/aws-swf" }}