Struct aws_sdk_ecs::types::RepositoryCredentials
source · #[non_exhaustive]pub struct RepositoryCredentials {
pub credentials_parameter: String,
}
Expand description
The repository credentials for private registry authentication.
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.credentials_parameter: String
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.
Implementations§
source§impl RepositoryCredentials
impl RepositoryCredentials
sourcepub fn credentials_parameter(&self) -> &str
pub fn credentials_parameter(&self) -> &str
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.
source§impl RepositoryCredentials
impl RepositoryCredentials
sourcepub fn builder() -> RepositoryCredentialsBuilder
pub fn builder() -> RepositoryCredentialsBuilder
Creates a new builder-style object to manufacture RepositoryCredentials
.
Trait Implementations§
source§impl Clone for RepositoryCredentials
impl Clone for RepositoryCredentials
source§fn clone(&self) -> RepositoryCredentials
fn clone(&self) -> RepositoryCredentials
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RepositoryCredentials
impl Debug for RepositoryCredentials
source§impl PartialEq for RepositoryCredentials
impl PartialEq for RepositoryCredentials
source§fn eq(&self, other: &RepositoryCredentials) -> bool
fn eq(&self, other: &RepositoryCredentials) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RepositoryCredentials
Auto Trait Implementations§
impl Freeze for RepositoryCredentials
impl RefUnwindSafe for RepositoryCredentials
impl Send for RepositoryCredentials
impl Sync for RepositoryCredentials
impl Unpin for RepositoryCredentials
impl UnwindSafe for RepositoryCredentials
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> 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