@Stability(value=Stable)
public static interface CfnService.SourceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apprunner.*;
SourceConfigurationProperty sourceConfigurationProperty = SourceConfigurationProperty.builder()
.authenticationConfiguration(AuthenticationConfigurationProperty.builder()
.accessRoleArn("accessRoleArn")
.connectionArn("connectionArn")
.build())
.autoDeploymentsEnabled(false)
.codeRepository(CodeRepositoryProperty.builder()
.repositoryUrl("repositoryUrl")
.sourceCodeVersion(SourceCodeVersionProperty.builder()
.type("type")
.value("value")
.build())
// the properties below are optional
.codeConfiguration(CodeConfigurationProperty.builder()
.configurationSource("configurationSource")
// the properties below are optional
.codeConfigurationValues(CodeConfigurationValuesProperty.builder()
.runtime("runtime")
// the properties below are optional
.buildCommand("buildCommand")
.port("port")
.runtimeEnvironmentVariables(List.of(KeyValuePairProperty.builder()
.name("name")
.value("value")
.build()))
.startCommand("startCommand")
.build())
.build())
.build())
.imageRepository(ImageRepositoryProperty.builder()
.imageIdentifier("imageIdentifier")
.imageRepositoryType("imageRepositoryType")
// the properties below are optional
.imageConfiguration(ImageConfigurationProperty.builder()
.port("port")
.runtimeEnvironmentVariables(List.of(KeyValuePairProperty.builder()
.name("name")
.value("value")
.build()))
.startCommand("startCommand")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.SourceConfigurationProperty.Builder
A builder for
CfnService.SourceConfigurationProperty |
static class |
CfnService.SourceConfigurationProperty.Jsii$Proxy
An implementation for
CfnService.SourceConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.SourceConfigurationProperty.Builder |
builder() |
default Object |
getAuthenticationConfiguration()
`CfnService.SourceConfigurationProperty.AuthenticationConfiguration`.
|
default Object |
getAutoDeploymentsEnabled()
`CfnService.SourceConfigurationProperty.AutoDeploymentsEnabled`.
|
default Object |
getCodeRepository()
`CfnService.SourceConfigurationProperty.CodeRepository`.
|
default Object |
getImageRepository()
`CfnService.SourceConfigurationProperty.ImageRepository`.
|
@Stability(value=Stable) @Nullable default Object getAuthenticationConfiguration()
@Stability(value=Stable) @Nullable default Object getAutoDeploymentsEnabled()
@Stability(value=Stable) @Nullable default Object getCodeRepository()
@Stability(value=Stable) @Nullable default Object getImageRepository()
@Stability(value=Stable) static CfnService.SourceConfigurationProperty.Builder builder()
Copyright © 2021. All rights reserved.