AWS App Runner · JSON Structure
App Runner Update Service Request Structure
UpdateServiceRequest schema from AWS App Runner
Type: object
Properties: 7
Required: 1
CI/CDContainersDeploymentMicroservicesServerless
UpdateServiceRequest is a JSON Structure definition published by AWS App Runner, describing 7 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
ServiceArn
SourceConfiguration
InstanceConfiguration
AutoScalingConfigurationArn
HealthCheckConfiguration
NetworkConfiguration
ObservabilityConfiguration
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"type": "object",
"properties": {
"ServiceArn": {
"type": "string"
},
"SourceConfiguration": {
"type": "object",
"properties": {
"CodeRepository": {
"type": "object",
"properties": {
"RepositoryUrl": {
"type": "string"
},
"SourceCodeVersion": {
"type": "object",
"properties": {
"Type": {
"type": "string",
"enum": [
"BRANCH"
]
},
"Value": {
"type": "string"
}
}
},
"CodeConfiguration": {
"type": "object",
"properties": {
"ConfigurationSource": {
"type": "string",
"enum": [
"REPOSITORY",
"API"
]
},
"CodeConfigurationValues": {
"type": "object",
"properties": {
"Runtime": {
"type": "string",
"enum": [
"PYTHON_3",
"NODEJS_12",
"NODEJS_14",
"NODEJS_16",
"NODEJS_18",
"CORRETTO_8",
"CORRETTO_11",
"GO_1",
"DOTNET_6",
"PHP_81",
"RUBY_31"
]
},
"BuildCommand": {
"type": "string"
},
"StartCommand": {
"type": "string"
},
"Port": {
"type": "string"
},
"RuntimeEnvironmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"RuntimeEnvironmentSecrets": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
},
"SourceDirectory": {
"type": "string"
}
}
},
"ImageRepository": {
"type": "object",
"properties": {
"ImageIdentifier": {
"type": "string"
},
"ImageConfiguration": {
"type": "object",
"properties": {
"RuntimeEnvironmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"RuntimeEnvironmentSecrets": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"StartCommand": {
"type": "string"
},
"Port": {
"type": "string"
}
}
},
"ImageRepositoryType": {
"type": "string",
"enum": [
"ECR",
"ECR_PUBLIC"
]
}
}
},
"AutoDeploymentsEnabled": {
"type": "boolean"
},
"AuthenticationConfiguration": {
"type": "object",
"properties": {
"ConnectionArn": {
"type": "string"
},
"AccessRoleArn": {
"type": "string"
}
}
}
}
},
"InstanceConfiguration": {
"type": "object",
"properties": {
"Cpu": {
"type": "string",
"description": "CPU units (e.g., 1024 for 1 vCPU, 256, 512, 1024, 2048, 4096)."
},
"Memory": {
"type": "string",
"description": "Memory in MB (e.g., 2048 for 2 GB)."
},
"InstanceRoleArn": {
"type": "string"
}
}
},
"AutoScalingConfigurationArn": {
"type": "string"
},
"HealthCheckConfiguration": {
"type": "object",
"properties": {
"Protocol": {
"type": "string",
"enum": [
"TCP",
"HTTP"
]
},
"Path": {
"type": "string"
},
"Interval": {
"type": "int32",
"description": "Interval in seconds between health checks."
},
"Timeout": {
"type": "int32",
"description": "Timeout in seconds for each health check."
},
"HealthyThreshold": {
"type": "int32"
},
"UnhealthyThreshold": {
"type": "int32"
}
}
},
"NetworkConfiguration": {
"type": "object",
"properties": {
"EgressConfiguration": {
"type": "object",
"properties": {
"EgressType": {
"type": "string",
"enum": [
"DEFAULT",
"VPC"
]
},
"VpcConnectorArn": {
"type": "string"
}
}
},
"IngressConfiguration": {
"type": "object",
"properties": {
"IsPubliclyAccessible": {
"type": "boolean"
}
}
},
"IpAddressType": {
"type": "string",
"enum": [
"IPV4",
"DUAL_STACK"
]
}
}
},
"ObservabilityConfiguration": {
"type": "object",
"properties": {
"ObservabilityEnabled": {
"type": "boolean"
},
"ObservabilityConfigurationArn": {
"type": "string"
}
}
}
},
"required": [
"ServiceArn"
],
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/aws-app-runner/refs/heads/main/json-structure/app-runner-update-service-request-structure.json",
"name": "UpdateServiceRequest",
"description": "UpdateServiceRequest schema from AWS App Runner"
}