libZSservicesZSamazonka-codebuildZSamazonka-codebuild
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeBuild.Types.RegistryCredential

Description

 
Synopsis

Documentation

data RegistryCredential Source #

Information about credentials that provide access to a private Docker registry. When this is set:

  • imagePullCredentialsType must be set to SERVICE_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.

Constructors

RegistryCredential' 

Fields

  • credential :: Text

    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.

  • credentialProvider :: CredentialProviderType

    The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.

Instances

Instances details
Eq RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

Read RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

Show RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

Generic RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

Associated Types

type Rep RegistryCredential :: Type -> Type #

NFData RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

Methods

rnf :: RegistryCredential -> () #

Hashable RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

ToJSON RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

FromJSON RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

type Rep RegistryCredential Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.RegistryCredential

type Rep RegistryCredential = D1 ('MetaData "RegistryCredential" "Amazonka.CodeBuild.Types.RegistryCredential" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "RegistryCredential'" 'PrefixI 'True) (S1 ('MetaSel ('Just "credential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "credentialProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CredentialProviderType)))

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.