Struct aws_sdk_codebuild::model::RegistryCredential [−][src]
#[non_exhaustive]pub struct RegistryCredential {
pub credential: Option<String>,
pub credential_provider: Option<CredentialProviderType>,
}
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.
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 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: Option<CredentialProviderType>
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
Implementations
Creates a new builder-style object to manufacture RegistryCredential
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more