/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about credentials that provide access to a private Docker
* registry. When this is set:
* images cannot be curated or an Amazon ECR image. For more information, see Private
* Registry with Secrets Manager Sample for CodeBuild.
imagePullCredentialsType
must be set to SERVICE_ROLE
.
* See
* Also:
AWS
* API Reference
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.
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.
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.
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.
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.
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.
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.
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.
The service that created the credentials to access a private Docker * registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
*/ inline const CredentialProviderType& GetCredentialProvider() const{ return m_credentialProvider; } /** *The service that created the credentials to access a private Docker * registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
*/ inline bool CredentialProviderHasBeenSet() const { return m_credentialProviderHasBeenSet; } /** *The service that created the credentials to access a private Docker * registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
*/ inline void SetCredentialProvider(const CredentialProviderType& value) { m_credentialProviderHasBeenSet = true; m_credentialProvider = value; } /** *The service that created the credentials to access a private Docker * registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
*/ inline void SetCredentialProvider(CredentialProviderType&& value) { m_credentialProviderHasBeenSet = true; m_credentialProvider = std::move(value); } /** *The service that created the credentials to access a private Docker * registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
*/ inline RegistryCredential& WithCredentialProvider(const CredentialProviderType& value) { SetCredentialProvider(value); return *this;} /** *The service that created the credentials to access a private Docker * registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
*/ inline RegistryCredential& WithCredentialProvider(CredentialProviderType&& value) { SetCredentialProvider(std::move(value)); return *this;} private: Aws::String m_credential; bool m_credentialHasBeenSet = false; CredentialProviderType m_credentialProvider; bool m_credentialProviderHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws