2013-07-13 15:10:04 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
|
"title": "EC2 manifest for instance store AMIs",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2013-07-14 23:16:37 +02:00
|
|
|
"credentials": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"certificate": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"private-key": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"user-id": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2013-07-13 15:10:04 +02:00
|
|
|
"image": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"bucket": {
|
|
|
|
"type": "string"
|
2014-05-03 10:43:14 +02:00
|
|
|
},
|
|
|
|
"region": {
|
|
|
|
"$ref": "#/definitions/aws-region"
|
2013-07-13 15:10:04 +02:00
|
|
|
}
|
|
|
|
},
|
2014-05-03 10:43:14 +02:00
|
|
|
"required": ["bucket", "region"]
|
2013-07-13 15:10:04 +02:00
|
|
|
}
|
|
|
|
},
|
2014-05-03 10:43:14 +02:00
|
|
|
"required": ["image"],
|
|
|
|
"definitions": {
|
|
|
|
"aws-region": {
|
|
|
|
"enum": ["ap-northeast-1", "ap-southeast-1",
|
|
|
|
"ap-southeast-2", "eu-west-1",
|
|
|
|
"sa-east-1", "us-east-1",
|
|
|
|
"us-gov-west-1", "us-west-1",
|
|
|
|
"us-west-2", "cn-north-1"]
|
|
|
|
}
|
|
|
|
}
|
2013-07-13 15:10:04 +02:00
|
|
|
}
|