Struct aws_sdk_ecs::types::RepositoryCredentials
source · #[non_exhaustive]pub struct RepositoryCredentials {
pub credentials_parameter: Option<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: Option<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) -> Option<&str>
pub fn credentials_parameter(&self) -> Option<&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<RepositoryCredentials> for RepositoryCredentials
impl PartialEq<RepositoryCredentials> 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 ==
.