Definitions for @turbot/aws-transfer
transfer
Schema
{ "allOf": [ { "$ref": "turbot#/definitions/service" }, { "type": "object", "properties": { "name": { "const": "Transfer for SFTP" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/transferAka" } }, "title": { "const": "Transfer for SFTP" }, "custom": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" } } } } } }, "additionalProperties": true, "tests": [ { "description": "All valid properties", "input": { "name": "Transfer for SFTP", "turbot": { "akas": [ "arn:aws:transfer:us-east-1:123456789012" ], "title": "Transfer for SFTP", "custom": { "aws": { "accountId": 123456789012, "regionName": "us-east-1" } } } } }, { "description": "Invalid - Name does not match", "input": { "name": "Transfer for SFTP", "turbot": { "akas": [ "arn:aws:transfer:us-east-1:123456789012" ], "title": "Transfer for SFTP", "custom": { "aws": { "accountId": 123456789012 } } } }, "expected": false } ] } ], ".turbot": { "uri": "tmod:@turbot/aws-transfer#/definitions/transfer", "modUri": "tmod:@turbot/aws-transfer" }}
transferAka
Schema
{ "type": "string", "pattern": "arn:aws(-us-gov|-cn)?:transfer:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}$", "tests": [ { "description": "base", "input": "arn:aws:transfer:us-east-1:123456789012" }, { "description": "invalid service name", "input": "arn:aws:hshewofmwnwhjif:us-east-1:123456789012", "expected": false }, { "description": "invalid account id", "input": "arn:aws:transfer:us-east-1:7482384923473272947", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-transfer#/definitions/transferAka", "modUri": "tmod:@turbot/aws-transfer" }}