Runtime
- class aws_cdk.aws_apprunner_alpha.Runtime(*args: Any, **kwargs)
Bases:
object
(experimental) The code runtimes.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
apprunner.Service(self, "Service", source=apprunner.Source.from_git_hub( repository_url="https://github.com/aws-containers/hello-app-runner", branch="main", configuration_source=apprunner.ConfigurationSourceType.API, code_configuration_values=apprunner.CodeConfigurationValues( runtime=apprunner.Runtime.PYTHON_3, port="8000", start_command="python app.py", build_command="yum install -y pycairo && pip install -r requirements.txt" ), connection=apprunner.GitHubConnection.from_connection_arn("CONNECTION_ARN") ) )
Attributes
- CORRETTO_11 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- CORRETTO_8 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- DOTNET_6 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- GO_1 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- NODEJS_12 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- NODEJS_14 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- NODEJS_16 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- NODEJS_18 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- PHP_81 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- PYTHON_3 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- PYTHON_311 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- RUBY_31 = <aws_cdk.aws_apprunner_alpha.Runtime object>
- name
(experimental) The runtime name.
- Stability:
experimental
Static Methods
- classmethod of(name)
(experimental) Other runtimes.
- Parameters:
name (
str
) – runtime name.- See:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtime for all available runtimes.
- Stability:
experimental
- Return type: