Definitions for @turbot/aws-codedeploy

codeDeploy

Schema
{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "CodeDeploy"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/codeDeployAka"
}
},
"title": {
"const": "CodeDeploy"
},
"custom": {
"type": "object",
"properties": {
"aws": {
"$ref": "aws#/definitions/awsMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "All data are valid",
"input": {
"name": "CodeDeploy",
"turbot": {
"akas": [
"arn:aws:codedeploy:us-east-1:123456789012"
],
"title": "CodeDeploy",
"custom": {
"aws": {
"accountId": 123456789012
}
}
}
}
},
{
"description": "Invalid - Name does not match",
"input": {
"name": "CODEDEPLOY",
"turbot": {
"akas": [
"arn:aws:codedeploy:us-east-1:123456789012"
],
"title": "CodeDeploy",
"custom": {
"aws": {
"accountId": 123456789012
}
}
}
},
"expected": false
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/aws-codedeploy#/definitions/codeDeploy",
"modUri": "tmod:@turbot/aws-codedeploy"
}
}

codeDeployAka

Schema
{
"type": "string",
"pattern": "^arn:aws(-us-gov|-cn)?:codedeploy:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}",
"tests": [
{
"description": "base",
"input": "arn:aws:codedeploy:us-east-1:123123123123"
},
{
"description": "invalid service name",
"input": "arn:aws:codedeployS:us-east-1:123123123123",
"expected": false
},
{
"description": "invalid region name",
"input": "arn:aws:codedeploy:us-eastdk-74381:123456786354",
"expected": false
},
{
"description": "invalid provider name",
"input": "arn:gcp:codedeploy:us-eastdk-74381:123456786354",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/aws-codedeploy#/definitions/codeDeployAka",
"modUri": "tmod:@turbot/aws-codedeploy"
}
}