Struct aws_sdk_codebuild::model::RegistryCredential
source · [−]#[non_exhaustive]pub struct RegistryCredential { /* private fields */ }
Expand description
Information about credentials that provide access to a private Docker registry. When this is set:
-
imagePullCredentialsType
must 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.
Implementations
sourceimpl RegistryCredential
impl RegistryCredential
sourcepub fn credential(&self) -> Option<&str>
pub fn credential(&self) -> Option<&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) -> Option<&CredentialProviderType>
pub fn credential_provider(&self) -> Option<&CredentialProviderType>
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
sourceimpl RegistryCredential
impl RegistryCredential
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RegistryCredential
.
Trait Implementations
sourceimpl Clone for RegistryCredential
impl Clone for RegistryCredential
sourcefn clone(&self) -> RegistryCredential
fn clone(&self) -> RegistryCredential
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 moresourceimpl Debug for RegistryCredential
impl Debug for RegistryCredential
sourceimpl PartialEq<RegistryCredential> for RegistryCredential
impl PartialEq<RegistryCredential> for RegistryCredential
sourcefn eq(&self, other: &RegistryCredential) -> bool
fn eq(&self, other: &RegistryCredential) -> bool
impl StructuralPartialEq for RegistryCredential
Auto Trait Implementations
impl RefUnwindSafe for RegistryCredential
impl Send for RegistryCredential
impl Sync for RegistryCredential
impl Unpin for RegistryCredential
impl UnwindSafe for RegistryCredential
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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