/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the source deployed to an App Runner service. It can be a code or
* an image repository.See Also:
AWS
* API Reference
The description of a source code repository.
You must provide either
* this member or ImageRepository
(but not both).
The description of a source code repository.
You must provide either
* this member or ImageRepository
(but not both).
The description of a source code repository.
You must provide either
* this member or ImageRepository
(but not both).
The description of a source code repository.
You must provide either
* this member or ImageRepository
(but not both).
The description of a source code repository.
You must provide either
* this member or ImageRepository
(but not both).
The description of a source code repository.
You must provide either
* this member or ImageRepository
(but not both).
The description of a source image repository.
You must provide either
* this member or CodeRepository
(but not both).
The description of a source image repository.
You must provide either
* this member or CodeRepository
(but not both).
The description of a source image repository.
You must provide either
* this member or CodeRepository
(but not both).
The description of a source image repository.
You must provide either
* this member or CodeRepository
(but not both).
The description of a source image repository.
You must provide either
* this member or CodeRepository
(but not both).
The description of a source image repository.
You must provide either
* this member or CodeRepository
(but not both).
If true
, continuous integration from the source repository is
* enabled for the App Runner service. Each repository change (including any source
* code commit or new image version) starts a deployment.
Default: App
* Runner sets to false
for a source image that uses an ECR Public
* repository or an ECR repository that's in an Amazon Web Services account other
* than the one that the service is in. App Runner sets to true
in all
* other cases (which currently include a source code repository or a source image
* using a same-account ECR repository).
If true
, continuous integration from the source repository is
* enabled for the App Runner service. Each repository change (including any source
* code commit or new image version) starts a deployment.
Default: App
* Runner sets to false
for a source image that uses an ECR Public
* repository or an ECR repository that's in an Amazon Web Services account other
* than the one that the service is in. App Runner sets to true
in all
* other cases (which currently include a source code repository or a source image
* using a same-account ECR repository).
If true
, continuous integration from the source repository is
* enabled for the App Runner service. Each repository change (including any source
* code commit or new image version) starts a deployment.
Default: App
* Runner sets to false
for a source image that uses an ECR Public
* repository or an ECR repository that's in an Amazon Web Services account other
* than the one that the service is in. App Runner sets to true
in all
* other cases (which currently include a source code repository or a source image
* using a same-account ECR repository).
If true
, continuous integration from the source repository is
* enabled for the App Runner service. Each repository change (including any source
* code commit or new image version) starts a deployment.
Default: App
* Runner sets to false
for a source image that uses an ECR Public
* repository or an ECR repository that's in an Amazon Web Services account other
* than the one that the service is in. App Runner sets to true
in all
* other cases (which currently include a source code repository or a source image
* using a same-account ECR repository).
Describes the resources that are needed to authenticate access to some source * repositories.
*/ inline const AuthenticationConfiguration& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; } /** *Describes the resources that are needed to authenticate access to some source * repositories.
*/ inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; } /** *Describes the resources that are needed to authenticate access to some source * repositories.
*/ inline void SetAuthenticationConfiguration(const AuthenticationConfiguration& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = value; } /** *Describes the resources that are needed to authenticate access to some source * repositories.
*/ inline void SetAuthenticationConfiguration(AuthenticationConfiguration&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::move(value); } /** *Describes the resources that are needed to authenticate access to some source * repositories.
*/ inline SourceConfiguration& WithAuthenticationConfiguration(const AuthenticationConfiguration& value) { SetAuthenticationConfiguration(value); return *this;} /** *Describes the resources that are needed to authenticate access to some source * repositories.
*/ inline SourceConfiguration& WithAuthenticationConfiguration(AuthenticationConfiguration&& value) { SetAuthenticationConfiguration(std::move(value)); return *this;} private: CodeRepository m_codeRepository; bool m_codeRepositoryHasBeenSet = false; ImageRepository m_imageRepository; bool m_imageRepositoryHasBeenSet = false; bool m_autoDeploymentsEnabled; bool m_autoDeploymentsEnabledHasBeenSet = false; AuthenticationConfiguration m_authenticationConfiguration; bool m_authenticationConfigurationHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws