@Stability(value=Stable)
public static interface CfnService.SourceCodeVersionProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
SourceCodeVersionProperty sourceCodeVersionProperty = SourceCodeVersionProperty.builder()
.type("type")
.value("value")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.SourceCodeVersionProperty.Builder
A builder for
CfnService.SourceCodeVersionProperty |
static class |
CfnService.SourceCodeVersionProperty.Jsii$Proxy
An implementation for
CfnService.SourceCodeVersionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.SourceCodeVersionProperty.Builder |
builder() |
String |
getType()
The type of version identifier.
|
String |
getValue()
A source code version.
|
@Stability(value=Stable) @NotNull String getType()
For a git-based repository, branches represent versions.
@Stability(value=Stable) @NotNull String getValue()
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
@Stability(value=Stable) static CfnService.SourceCodeVersionProperty.Builder builder()
Copyright © 2022. All rights reserved.