Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data RegistryCredential Source #
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.
See: newRegistryCredential
smart constructor.
RegistryCredential' | |
|
Instances
newRegistryCredential Source #
Create a value of RegistryCredential
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:credential:RegistryCredential'
, registryCredential_credential
- 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.
$sel:credentialProvider:RegistryCredential'
, registryCredential_credentialProvider
- The service that created the credentials to access a private Docker
registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
registryCredential_credential :: Lens' RegistryCredential Text Source #
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.
registryCredential_credentialProvider :: Lens' RegistryCredential CredentialProviderType Source #
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.