Definitions for @turbot/aws-medialive
mediaLive
Schema
{ "allOf": [ { "$ref": "turbot#/definitions/service" }, { "type": "object", "properties": { "name": { "const": "MediaLive" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/mediaLiveAka" } }, "title": { "const": "MediaLive" }, "custom": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" } } } } } }, "additionalProperties": true, "tests": [ { "description": "Valid - All properties", "input": { "name": "MediaLive", "turbot": { "akas": [ "arn:aws:medialive:us-east-1:123456789012" ], "title": "MediaLive", "custom": { "aws": { "accountId": 123456789012, "regionName": "us-east-1", "partition": "aws" } } } } } ] } ], ".turbot": { "uri": "tmod:@turbot/aws-medialive#/definitions/mediaLive", "modUri": "tmod:@turbot/aws-medialive" }}
mediaLiveAka
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:medialive:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}$", "tests": [ { "description": "Base", "input": "arn:aws:medialive:us-east-1:123456789012" }, { "description": "Invalid service name", "input": "arn:aws:amplifye:us-east-1:123456789012", "expected": false }, { "description": "Invalid region name", "input": "arn:aws:medialive:us-eastdk-74381:123456786354", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-medialive#/definitions/mediaLiveAka", "modUri": "tmod:@turbot/aws-medialive" }}