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§
source§impl 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.
source§impl RegistryCredential
impl RegistryCredential
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RegistryCredential
impl Debug for RegistryCredential
source§impl PartialEq<RegistryCredential> for RegistryCredential
impl PartialEq<RegistryCredential> for RegistryCredential
source§fn eq(&self, other: &RegistryCredential) -> bool
fn eq(&self, other: &RegistryCredential) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.