@Stability(value=Stable) public static final class CfnService.SourceConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnService.SourceConfigurationProperty>
CfnService.SourceConfigurationProperty
Constructor and Description |
---|
Builder() |
@Stability(value=Stable) public CfnService.SourceConfigurationProperty.Builder authenticationConfiguration(CfnService.AuthenticationConfigurationProperty authenticationConfiguration)
CfnService.SourceConfigurationProperty.getAuthenticationConfiguration()
authenticationConfiguration
- Describes the resources that are needed to authenticate access to some source repositories.this
@Stability(value=Stable) public CfnService.SourceConfigurationProperty.Builder authenticationConfiguration(IResolvable authenticationConfiguration)
CfnService.SourceConfigurationProperty.getAuthenticationConfiguration()
authenticationConfiguration
- Describes the resources that are needed to authenticate access to some source repositories.this
@Stability(value=Stable) public CfnService.SourceConfigurationProperty.Builder autoDeploymentsEnabled(Boolean autoDeploymentsEnabled)
CfnService.SourceConfigurationProperty.getAutoDeploymentsEnabled()
autoDeploymentsEnabled
- 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 AWS 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).
this
@Stability(value=Stable) public CfnService.SourceConfigurationProperty.Builder autoDeploymentsEnabled(IResolvable autoDeploymentsEnabled)
CfnService.SourceConfigurationProperty.getAutoDeploymentsEnabled()
autoDeploymentsEnabled
- 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 AWS 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).
this
@Stability(value=Stable) public CfnService.SourceConfigurationProperty.Builder codeRepository(CfnService.CodeRepositoryProperty codeRepository)
CfnService.SourceConfigurationProperty.getCodeRepository()
codeRepository
- The description of a source code repository.
You must provide either this member or ImageRepository
(but not both).this
@Stability(value=Stable) public CfnService.SourceConfigurationProperty.Builder codeRepository(IResolvable codeRepository)
CfnService.SourceConfigurationProperty.getCodeRepository()
codeRepository
- The description of a source code repository.
You must provide either this member or ImageRepository
(but not both).this
@Stability(value=Stable) public CfnService.SourceConfigurationProperty.Builder imageRepository(CfnService.ImageRepositoryProperty imageRepository)
CfnService.SourceConfigurationProperty.getImageRepository()
imageRepository
- The description of a source image repository.
You must provide either this member or CodeRepository
(but not both).this
@Stability(value=Stable) public CfnService.SourceConfigurationProperty.Builder imageRepository(IResolvable imageRepository)
CfnService.SourceConfigurationProperty.getImageRepository()
imageRepository
- The description of a source image repository.
You must provide either this member or CodeRepository
(but not both).this
@Stability(value=Stable) public CfnService.SourceConfigurationProperty build()
build
in interface software.amazon.jsii.Builder<CfnService.SourceConfigurationProperty>
CfnService.SourceConfigurationProperty
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.