@Generated(value="software.amazon.awssdk:codegen") public final class SourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceConfiguration.Builder,SourceConfiguration>
Describes the source deployed to an App Runner service. It can be a code or an image repository.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationConfiguration |
authenticationConfiguration()
Describes the resources that are needed to authenticate access to some source repositories.
|
Boolean |
autoDeploymentsEnabled()
If
true, continuous integration from the source repository is enabled for the App Runner service. |
static SourceConfiguration.Builder |
builder() |
CodeRepository |
codeRepository()
The description of a source code repository.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ImageRepository |
imageRepository()
The description of a source image repository.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceConfiguration.Builder> |
serializableBuilderClass() |
SourceConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CodeRepository codeRepository()
The description of a source code repository.
You must provide either this member or ImageRepository (but not both).
You must provide either this member or ImageRepository (but not both).
public final ImageRepository imageRepository()
The description of a source image repository.
You must provide either this member or CodeRepository (but not both).
You must provide either this member or CodeRepository (but not both).
public final Boolean 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 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).
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).
public final AuthenticationConfiguration authenticationConfiguration()
Describes the resources that are needed to authenticate access to some source repositories.
public SourceConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceConfiguration.Builder,SourceConfiguration>public static SourceConfiguration.Builder builder()
public static Class<? extends SourceConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.