class Aws::AppRunner::Types::SourceConfiguration
Describes the source deployed to an AWS App Runner service. It can be a code or an image repository.
@note When making an API call, you may pass SourceConfiguration
data as a hash: { code_repository: { repository_url: "String", # required source_code_version: { # required type: "BRANCH", # required, accepts BRANCH value: "String", # required }, code_configuration: { configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API code_configuration_values: { runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12 build_command: "BuildCommand", start_command: "StartCommand", port: "String", runtime_environment_variables: { "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue", }, }, }, }, image_repository: { image_identifier: "ImageIdentifier", # required image_configuration: { runtime_environment_variables: { "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue", }, start_command: "String", port: "String", }, image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC }, auto_deployments_enabled: false, authentication_configuration: { connection_arn: "AppRunnerResourceArn", access_role_arn: "RoleArn", }, }
@!attribute [rw] code_repository
The description of a source code repository. You must provide either this member or `ImageRepository` (but not both). @return [Types::CodeRepository]
@!attribute [rw] image_repository
The description of a source image repository. You must provide either this member or `CodeRepository` (but not both). @return [Types::ImageRepository]
@!attribute [rw] auto_deployments_enabled
If `true`, continuous integration from the source repository is enabled for the App Runner service. Each repository change (source code commit or new image version) starts a deployment. Default: `true` @return [Boolean]
@!attribute [rw] authentication_configuration
Describes the resources that are needed to authenticate access to some source repositories. @return [Types::AuthenticationConfiguration]
@see docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/SourceConfiguration AWS API Documentation
Constants
- SENSITIVE