@goldstack/infra-aws
Version:
Utilities to work with AWS infrastructure via the cli.
74 lines (73 loc) • 2.35 kB
JSON
{
"$ref": "#/definitions/AWSDeployment",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AWSDeployment": {
"properties": {
"awsRegion": {
"$ref": "#/definitions/AWSDeploymentRegion"
},
"awsUser": {
"$ref": "#/definitions/AWSUserName"
},
"configuration": {
"$ref": "#/definitions/DeploymentConfiguration"
},
"name": {
"$ref": "#/definitions/DeploymentName"
}
},
"required": [
"awsRegion",
"awsUser",
"configuration",
"name"
],
"type": "object"
},
"AWSDeploymentRegion": {
"description": "AWS region that infrastructure should be deployed to.",
"enum": [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
"af-south-1",
"ap-east-1",
"ap-south-1",
"ap-northeast-3",
"ap-northeast-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"ca-central-1",
"eu-central-1",
"eu-west-1",
"eu-west-2",
"eu-south-1",
"eu-west-3",
"eu-north-1",
"me-south-1",
"sa-east-1"
],
"title": "AWS Deployment Region",
"type": "string"
},
"AWSUserName": {
"description": "Name of the AWS user that is used to perform the deployment.",
"title": "AWS User Name",
"type": "string"
},
"DeploymentConfiguration": {
"description": "Specifies configuration for a specific deployment.",
"title": "Deployment Configuration",
"type": "object"
},
"DeploymentName": {
"description": "Identifier for this deployment. No spaces allowed in name.",
"pattern": "^[^\\s]*$",
"title": "Deployment Name",
"type": "string"
}
}
}