#[non_exhaustive]pub struct AuthenticationConfiguration {
pub connection_arn: Option<String>,
pub access_role_arn: Option<String>,
}
Expand description
Describes resources needed to authenticate access to some source repositories. The specific resource depends on the repository provider.
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.connection_arn: Option<String>
The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories.
access_role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).
Implementations§
source§impl AuthenticationConfiguration
impl AuthenticationConfiguration
sourcepub fn connection_arn(&self) -> Option<&str>
pub fn connection_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories.
sourcepub fn access_role_arn(&self) -> Option<&str>
pub fn access_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).
source§impl AuthenticationConfiguration
impl AuthenticationConfiguration
sourcepub fn builder() -> AuthenticationConfigurationBuilder
pub fn builder() -> AuthenticationConfigurationBuilder
Creates a new builder-style object to manufacture AuthenticationConfiguration
.
Trait Implementations§
source§impl Clone for AuthenticationConfiguration
impl Clone for AuthenticationConfiguration
source§fn clone(&self) -> AuthenticationConfiguration
fn clone(&self) -> AuthenticationConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthenticationConfiguration
impl Debug for AuthenticationConfiguration
impl StructuralPartialEq for AuthenticationConfiguration
Auto Trait Implementations§
impl Freeze for AuthenticationConfiguration
impl RefUnwindSafe for AuthenticationConfiguration
impl Send for AuthenticationConfiguration
impl Sync for AuthenticationConfiguration
impl Unpin for AuthenticationConfiguration
impl UnwindSafe for AuthenticationConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more