Struct aws_sdk_apprunner::types::CodeRepository
source · #[non_exhaustive]pub struct CodeRepository {
pub repository_url: String,
pub source_code_version: Option<SourceCodeVersion>,
pub code_configuration: Option<CodeConfiguration>,
pub source_directory: Option<String>,
}
Expand description
Describes a source code repository.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.repository_url: String
The location of the repository that contains the source code.
source_code_version: Option<SourceCodeVersion>
The version that should be used within the source code repository.
code_configuration: Option<CodeConfiguration>
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
source_directory: Option<String>
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
Implementations§
source§impl CodeRepository
impl CodeRepository
sourcepub fn repository_url(&self) -> &str
pub fn repository_url(&self) -> &str
The location of the repository that contains the source code.
sourcepub fn source_code_version(&self) -> Option<&SourceCodeVersion>
pub fn source_code_version(&self) -> Option<&SourceCodeVersion>
The version that should be used within the source code repository.
sourcepub fn code_configuration(&self) -> Option<&CodeConfiguration>
pub fn code_configuration(&self) -> Option<&CodeConfiguration>
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
sourcepub fn source_directory(&self) -> Option<&str>
pub fn source_directory(&self) -> Option<&str>
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
source§impl CodeRepository
impl CodeRepository
sourcepub fn builder() -> CodeRepositoryBuilder
pub fn builder() -> CodeRepositoryBuilder
Creates a new builder-style object to manufacture CodeRepository
.
Trait Implementations§
source§impl Clone for CodeRepository
impl Clone for CodeRepository
source§fn clone(&self) -> CodeRepository
fn clone(&self) -> CodeRepository
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CodeRepository
impl Debug for CodeRepository
source§impl PartialEq for CodeRepository
impl PartialEq for CodeRepository
source§fn eq(&self, other: &CodeRepository) -> bool
fn eq(&self, other: &CodeRepository) -> bool
self
and other
values to be equal, and is used
by ==
.