Interface CfnService.CodeConfigurationValuesProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnService.CodeConfigurationValuesProperty.Jsii$Proxy
Enclosing class:
CfnService

@Stability(Stable) public static interface CfnService.CodeConfigurationValuesProperty extends software.amazon.jsii.JsiiSerializable
Describes the basic configuration needed for building and running an AWS App Runner service.

This type doesn't support the full set of possible configuration options. Fur full configuration capabilities, use a apprunner.yaml file in the source code repository.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apprunner.*;
 CodeConfigurationValuesProperty codeConfigurationValuesProperty = CodeConfigurationValuesProperty.builder()
         .runtime("runtime")
         // the properties below are optional
         .buildCommand("buildCommand")
         .port("port")
         .runtimeEnvironmentSecrets(List.of(KeyValuePairProperty.builder()
                 .name("name")
                 .value("value")
                 .build()))
         .runtimeEnvironmentVariables(List.of(KeyValuePairProperty.builder()
                 .name("name")
                 .value("value")
                 .build()))
         .startCommand("startCommand")
         .build();
 

See Also: