AWS::CodeBuild::Project RegistryCredential - AWS CloudFormation (original) (raw)

RegistryCredential is a property of the AWS CodeBuild Project Environment property type that specifies information about credentials that provide access to a private Docker registry. When this is set:

For more information, see Private Registry with AWS Secrets Manager Sample for AWS CodeBuild.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
  "Credential" : String,
  "CredentialProvider" : String
}

YAML

  Credential: String
  CredentialProvider: String

Properties

Credential

The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager.

Note

The credential can use the name of the credentials only if they exist in your current AWS Region.

Required: Yes

Type: String

Minimum: 1

Update requires: No interruption

CredentialProvider

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

Required: Yes

Type: String

Allowed values: SECRETS_MANAGER

Update requires: No interruption

See also

ProjectTriggers

S3LogsConfig

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.