Struct aws_sdk_apprunner::model::SourceConfiguration
source · [−]#[non_exhaustive]pub struct SourceConfiguration { /* private fields */ }
Expand description
Describes the source deployed to an App Runner service. It can be a code or an image repository.
Implementations
sourceimpl SourceConfiguration
impl SourceConfiguration
sourcepub fn code_repository(&self) -> Option<&CodeRepository>
pub fn code_repository(&self) -> Option<&CodeRepository>
The description of a source code repository.
You must provide either this member or ImageRepository
(but not both).
sourcepub fn image_repository(&self) -> Option<&ImageRepository>
pub fn image_repository(&self) -> Option<&ImageRepository>
The description of a source image repository.
You must provide either this member or CodeRepository
(but not both).
sourcepub fn auto_deployments_enabled(&self) -> Option<bool>
pub fn auto_deployments_enabled(&self) -> Option<bool>
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).
sourcepub fn authentication_configuration(
&self
) -> Option<&AuthenticationConfiguration>
pub fn authentication_configuration(
&self
) -> Option<&AuthenticationConfiguration>
Describes the resources that are needed to authenticate access to some source repositories.
sourceimpl SourceConfiguration
impl SourceConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SourceConfiguration
.
Trait Implementations
sourceimpl Clone for SourceConfiguration
impl Clone for SourceConfiguration
sourcefn clone(&self) -> SourceConfiguration
fn clone(&self) -> SourceConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SourceConfiguration
impl Debug for SourceConfiguration
sourceimpl PartialEq<SourceConfiguration> for SourceConfiguration
impl PartialEq<SourceConfiguration> for SourceConfiguration
sourcefn eq(&self, other: &SourceConfiguration) -> bool
fn eq(&self, other: &SourceConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SourceConfiguration) -> bool
fn ne(&self, other: &SourceConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for SourceConfiguration
Auto Trait Implementations
impl RefUnwindSafe for SourceConfiguration
impl Send for SourceConfiguration
impl Sync for SourceConfiguration
impl Unpin for SourceConfiguration
impl UnwindSafe for SourceConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more