Class: Aws::AppRunner::Types::SourceConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppRunner::Types::SourceConfiguration
- Defined in:
- gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb
Overview
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, NODEJS_14, CORRETTO_8, CORRETTO_11
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: "StartCommand",
port: "String",
},
image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
},
auto_deployments_enabled: false,
authentication_configuration: {
connection_arn: "AppRunnerResourceArn",
access_role_arn: "RoleArn",
},
}
Describes the source deployed to an App Runner service. It can be a code or an image repository.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#authentication_configuration ⇒ Types::AuthenticationConfiguration
Describes the resources that are needed to authenticate access to some source repositories.
-
#auto_deployments_enabled ⇒ Boolean
If
true
, continuous integration from the source repository is enabled for the App Runner service. -
#code_repository ⇒ Types::CodeRepository
The description of a source code repository.
-
#image_repository ⇒ Types::ImageRepository
The description of a source image repository.
Instance Attribute Details
#authentication_configuration ⇒ Types::AuthenticationConfiguration
Describes the resources that are needed to authenticate access to some source repositories.
2816 2817 2818 2819 2820 2821 2822 2823 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 2816 class SourceConfiguration < Struct.new( :code_repository, :image_repository, :auto_deployments_enabled, :authentication_configuration) SENSITIVE = [] include Aws::Structure end |
#auto_deployments_enabled ⇒ Boolean
If true
, continuous integration from the source repository is
enabled for the App Runner service. Each repository change
(including any source code commit or new image version) starts a
deployment.
Default: App Runner sets to false
for a source image that uses an
ECR Public repository or an ECR repository that's in an Amazon Web
Services account other than the one that the service is in. App
Runner sets to true
in all other cases (which currently include a
source code repository or a source image using a same-account ECR
repository).
2816 2817 2818 2819 2820 2821 2822 2823 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 2816 class SourceConfiguration < Struct.new( :code_repository, :image_repository, :auto_deployments_enabled, :authentication_configuration) SENSITIVE = [] include Aws::Structure end |
#code_repository ⇒ Types::CodeRepository
The description of a source code repository.
You must provide either this member or ImageRepository
(but not
both).
2816 2817 2818 2819 2820 2821 2822 2823 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 2816 class SourceConfiguration < Struct.new( :code_repository, :image_repository, :auto_deployments_enabled, :authentication_configuration) SENSITIVE = [] include Aws::Structure end |
#image_repository ⇒ Types::ImageRepository
The description of a source image repository.
You must provide either this member or CodeRepository
(but not
both).
2816 2817 2818 2819 2820 2821 2822 2823 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 2816 class SourceConfiguration < Struct.new( :code_repository, :image_repository, :auto_deployments_enabled, :authentication_configuration) SENSITIVE = [] include Aws::Structure end |