Struct aws_sdk_codebuild::types::RegistryCredential
source · #[non_exhaustive]pub struct RegistryCredential {
pub credential: String,
pub credential_provider: CredentialProviderType,
}Expand description
Information about credentials that provide access to a private Docker registry. When this is set:
-
imagePullCredentialsTypemust be set toSERVICE_ROLE. -
images cannot be curated or an Amazon ECR image.
For more information, see Private Registry with Secrets Manager Sample for CodeBuild.
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.credential: StringThe Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.
credential_provider: CredentialProviderTypeThe service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
Implementations§
source§impl RegistryCredential
impl RegistryCredential
sourcepub fn credential(&self) -> &str
pub fn credential(&self) -> &str
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.
sourcepub fn credential_provider(&self) -> &CredentialProviderType
pub fn credential_provider(&self) -> &CredentialProviderType
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
source§impl RegistryCredential
impl RegistryCredential
sourcepub fn builder() -> RegistryCredentialBuilder
pub fn builder() -> RegistryCredentialBuilder
Creates a new builder-style object to manufacture RegistryCredential.
Trait Implementations§
source§impl Clone for RegistryCredential
impl Clone for RegistryCredential
source§fn clone(&self) -> RegistryCredential
fn clone(&self) -> RegistryCredential
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RegistryCredential
impl Debug for RegistryCredential
source§impl PartialEq for RegistryCredential
impl PartialEq for RegistryCredential
source§fn eq(&self, other: &RegistryCredential) -> bool
fn eq(&self, other: &RegistryCredential) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegistryCredential
Auto Trait Implementations§
impl Freeze for RegistryCredential
impl RefUnwindSafe for RegistryCredential
impl Send for RegistryCredential
impl Sync for RegistryCredential
impl Unpin for RegistryCredential
impl UnwindSafe for RegistryCredential
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