#[non_exhaustive]pub struct AwsCodeBuildProjectEnvironmentRegistryCredential {
pub credential: Option<String>,
pub credential_provider: Option<String>,
}
Expand description
The credentials for access to a private registry.
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: Option<String>
The 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: Option<String>
The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for Secrets Manager.
Implementations§
source§impl AwsCodeBuildProjectEnvironmentRegistryCredential
impl AwsCodeBuildProjectEnvironmentRegistryCredential
sourcepub fn credential(&self) -> Option<&str>
pub fn credential(&self) -> Option<&str>
The 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<&str>
pub fn credential_provider(&self) -> Option<&str>
The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for Secrets Manager.
source§impl AwsCodeBuildProjectEnvironmentRegistryCredential
impl AwsCodeBuildProjectEnvironmentRegistryCredential
sourcepub fn builder() -> AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
pub fn builder() -> AwsCodeBuildProjectEnvironmentRegistryCredentialBuilder
Creates a new builder-style object to manufacture AwsCodeBuildProjectEnvironmentRegistryCredential
.
Trait Implementations§
source§impl Clone for AwsCodeBuildProjectEnvironmentRegistryCredential
impl Clone for AwsCodeBuildProjectEnvironmentRegistryCredential
source§fn clone(&self) -> AwsCodeBuildProjectEnvironmentRegistryCredential
fn clone(&self) -> AwsCodeBuildProjectEnvironmentRegistryCredential
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsCodeBuildProjectEnvironmentRegistryCredential
impl PartialEq for AwsCodeBuildProjectEnvironmentRegistryCredential
source§fn eq(&self, other: &AwsCodeBuildProjectEnvironmentRegistryCredential) -> bool
fn eq(&self, other: &AwsCodeBuildProjectEnvironmentRegistryCredential) -> bool
self
and other
values to be equal, and is used
by ==
.