Definitions for @turbot/aws-robomaker
- applicationVersion
- fleet
- fleetArn
- fleetName
- roboMaker
- roboMakerAka
- robot
- robotApplication
- robotApplicationArn
- robotApplicationName
- robotArn
- robotName
applicationVersion
Schema
{ "type": "string", "pattern": "^($LATEST)|[0-9]*$", "minLength": 1, "maxLength": 255, "tests": [ { "input": "$LATEST" }, { "input": "1546430840777" }, { "description": "invalid - should not be an array", "input": [ "$LATEST" ], "expected": false }, { "description": "invalid - exceeds maximum length", "input": "3833928452485883787021772862086711592724688379689805986807909843286122285321027735236627169734651973646904218518855595181189425601981251225637932127450234421020827120667575354736366369608902533248483731423835816852197395656398651638812614486618803703541686", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/applicationVersion", "modUri": "tmod:@turbot/aws-robomaker" }}
fleet
Schema
{ "type": "object", "properties": { "name": { "$ref": "#/definitions/fleetName" }, "arn": { "$ref": "#/definitions/fleetArn" }, "tags": { "$ref": "aws#/definitions/tagsMap" }, "robots": { "type": "array" }, "createdAt": { "$ref": "turbot#/definitions/isoTimestamp" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/fleetArn" } }, "title": { "$ref": "#/definitions/fleetName" }, "tags": { "$ref": "aws#/definitions/tagsMap" }, "metadata": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" }, "createTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" } } } } } }, "additionalProperties": true, "tests": [ { "description": "Base - all properties provided", "input": { "arn": "arn:aws:robomaker:us-east-1:560741234067:deployment-fleet/Fleet1/1576000044196", "name": "Fleet1", "robots": [], "tags": { "Env": "Test" }, "turbot": { "akas": [ "arn:aws:robomaker:us-east-1:560741234067:deployment-fleet/Fleet1/1576000044196" ], "title": "Fleet1", "tags": { "Env": "Test" }, "metadata": { "aws": { "accountId": 560741234067, "regionName": "us-east-1", "partition": "aws" } } } } } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/fleet", "modUri": "tmod:@turbot/aws-robomaker" }}
fleetArn
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:robomaker:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:deployment-fleet/[a-zA-Z0-9-\\_]{1,255}/[0-9]{13}$", "tests": [ { "input": "arn:aws:robomaker:us-east-1:560741234067:deployment-fleet/Fleet1/1576000044196" }, { "description": "Invalid - should not contain space", "input": "hi hi", "expected": false }, { "description": "Invalid - aws account id is wrong", "input": "arn:aws:robomaker:us-west-2:492552618977777:fleet/test01/1546430840777", "expected": false }, { "description": "Invalid - incorrect service arn provided", "input": "arn:aws:acm:us-west-2:492552618977777:certificate/test01/1546430840777", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/fleetArn", "modUri": "tmod:@turbot/aws-robomaker" }}
fleetName
Schema
{ "type": "string", "pattern": "^[a-zA-Z0-9-\\_]{1,255}$", "tests": [ { "input": "test01" }, { "description": "Invalid - exceeds maximum length", "input": "testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1test01test01", "expected": false }, { "description": "Invalid - should not contain space", "input": "test 01", "expected": false }, { "description": "Invalid - empty string passed", "input": "", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/fleetName", "modUri": "tmod:@turbot/aws-robomaker" }}
roboMaker
Schema
{ "allOf": [ { "$ref": "turbot#/definitions/service" }, { "type": "object", "properties": { "name": { "const": "RoboMaker" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/roboMakerAka" } }, "title": { "const": "RoboMaker" }, "metadata": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" } } } } } }, "additionalProperties": true, "tests": [ { "description": "All valid properties", "input": { "name": "RoboMaker", "turbot": { "akas": [ "arn:aws:robomaker:us-east-1:123456789012" ], "title": "RoboMaker", "metadata": { "aws": { "accountId": 123456789012, "regionName": "us-east-1" } } } } } ] } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/roboMaker", "modUri": "tmod:@turbot/aws-robomaker" }}
roboMakerAka
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:robomaker:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}$", "tests": [ { "description": "Valid AWS Partition Non-Gov", "input": "arn:aws:robomaker:us-west-1:560741234067" }, { "description": "Valid AWS Partition US Gov", "input": "arn:aws-us-gov:robomaker:us-gov-west-1:560741234067" }, { "description": "Valid AWS Partition CHINA Gov", "input": "arn:aws-cn:robomaker:cn-north-1:560741234067" }, { "description": "Invalid Service Name in the AKA", "input": "arn:aws:ds11:us-east-1:560741234067", "expected": false }, { "description": "Invalid Region Name in the AKA", "input": "arn:aws:robomaker:us-easted-441:560741234067", "expected": false }, { "description": "Invalid Account Id in the AKA", "input": "arn:aws:robomaker:us-east-1:12345678905512", "expected": false }, { "description": "Invalid AKA pattern", "input": "robomakerV2|us-east-1:560741234067", "expected": false }, { "description": "Invalid AWS partition name", "input": "arn:aws-eu:robomaker:us-east-1:560741234067", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/roboMakerAka", "modUri": "tmod:@turbot/aws-robomaker" }}
robot
Schema
{ "type": "object", "properties": { "arn": { "$ref": "#/definitions/robotArn" }, "name": { "$ref": "#/definitions/robotName" }, "tags": { "$ref": "aws#/definitions/tagsMap" }, "status": { "type": "string" }, "createdAt": { "$ref": "turbot#/definitions/isoTimestamp" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/robotArn" } }, "title": { "$ref": "#/definitions/robotName" }, "tags": { "$ref": "aws#/definitions/tagsMap" }, "metadata": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" }, "createTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" } } } } } }, "additionalProperties": true, "tests": [ { "description": "Base - all properties provided", "input": { "arn": "arn:aws:robomaker:us-east-1:560741234067:robot/Robot1/1575999285304", "name": "Robot1", "tags": { "Key": "Env", "Value": "Test" }, "turbot": { "akas": [ "arn:aws:robomaker:us-east-1:560741234067:robot/Robot1/1575999285304" ], "title": "Robot1", "tags": { "Env": "Test" }, "metadata": { "aws": { "accountId": 560741234067, "regionName": "us-east-1" } } } } } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/robot", "modUri": "tmod:@turbot/aws-robomaker" }}
robotApplication
Schema
{ "type": "object", "properties": { "name": { "$ref": "#/definitions/robotApplicationName" }, "arn": { "$ref": "#/definitions/robotApplicationArn" }, "applicationVersion": { "$ref": "#/definitions/applicationVersion" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/robotApplicationArn" } }, "title": { "$ref": "#/definitions/robotApplicationName" }, "tags": { "$ref": "aws#/definitions/tagsMap" }, "metadata": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" }, "createTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" }, "lastUsedTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" }, "updateTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" } } } } } }, "required": [ "arn", "name", "turbot" ], "tests": [ { "description": "base - all properties provided", "input": { "arn": "arn:aws:robomaker:us-west-2:492552618977:robot-application/test01/1546430840777", "applicationVersion": "$LATEST", "name": "test01", "tags": [ { "Key": "Env", "Value": "Test" }, { "Key": "App", "Value": "Facebook" } ], "turbot": { "akas": [ "arn:aws:robomaker:us-west-2:492552618977:robot-application/test01/1546430840777" ], "tags": { "Env": "Test", "App": "Facebook" }, "metadata": { "aws": { "accountId": 123456789012, "regionName": "us-west-2", "partition": "aws" } } } } }, { "description": "invalid - Missing name", "input": { "arn": "arn:aws:robomaker:us-west-2:492552618977:robot-application/test01/1546430840777", "applicationVersion": "$LATEST", "tags": [ { "Key": "Env", "Value": "Test" }, { "Key": "App", "Value": "Facebook" } ], "turbot": { "akas": [ "arn:aws:robomaker:us-west-2:492552618977:robot-application/test01/1546430840777" ], "tags": { "Env": "Test", "App": "Facebook" }, "metadata": { "aws": { "accountId": 123456789012, "regionName": "us-west-2", "partition": "aws" } } } }, "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/robotApplication", "modUri": "tmod:@turbot/aws-robomaker" }}
robotApplicationArn
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:robomaker:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:robot-application/[a-zA-Z0-9_/-]*/[0-9]{13}$", "tests": [ { "input": "arn:aws:robomaker:us-west-2:492552618977:robot-application/test01/1546430840777" }, { "description": "invalid - should not contain space", "input": "hi hi", "expected": false }, { "description": "invalid - aws account id is wrong", "input": "arn:aws:robomaker:us-west-2:492552618977777:robot-application/test01/1546430840777", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/robotApplicationArn", "modUri": "tmod:@turbot/aws-robomaker" }}
robotApplicationName
Schema
{ "type": "string", "minLength": 1, "maxLength": 255, "pattern": "^[a-zA-Z0-9/-_]*$", "tests": [ { "input": "test01/" }, { "description": "invalid - exceeds maximum length", "input": "testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1test01test01", "expected": false }, { "description": "invalid - should not contain space", "input": "test 01", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/robotApplicationName", "modUri": "tmod:@turbot/aws-robomaker" }}
robotArn
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:robomaker:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:robot/[a-zA-Z0-9_\\-]{1,255}/[0-9]{13}$", "tests": [ { "input": "arn:aws:robomaker:us-east-1:560741234067:robot/Robot1/1575999285304" }, { "description": "Invalid - should not contain space", "input": "hi hi", "expected": false }, { "description": "Invalid - aws account id is wrong", "input": "arn:aws:robomaker:us-east-1:56074123775456764067:robot/Robot1/1575999285304", "expected": false }, { "description": "Invalid - incorrect service arn provided", "input": "arn:aws:rroboobomaker:us-east-1:560741234067:robot/Robot1/1575999285304", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/robotArn", "modUri": "tmod:@turbot/aws-robomaker" }}
robotName
Schema
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-]{1,255}$", "tests": [ { "input": "test01" }, { "description": "Invalid - exceeds maximum length", "input": "testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1testo1test01test01", "expected": false }, { "description": "Invalid - should not contain space", "input": "test 01", "expected": false }, { "description": "Invalid - empty string passed", "input": "", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-robomaker#/definitions/robotName", "modUri": "tmod:@turbot/aws-robomaker" }}