@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.858Z") @Stability(value=Stable) public interface CfnCodeRepositoryProps 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.sagemaker.*;
CfnCodeRepositoryProps cfnCodeRepositoryProps = CfnCodeRepositoryProps.builder()
.gitConfig(GitConfigProperty.builder()
.repositoryUrl("repositoryUrl")
// the properties below are optional
.branch("branch")
.secretArn("secretArn")
.build())
// the properties below are optional
.codeRepositoryName("codeRepositoryName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCodeRepositoryProps.Builder
A builder for
CfnCodeRepositoryProps |
static class |
CfnCodeRepositoryProps.Jsii$Proxy
An implementation for
CfnCodeRepositoryProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnCodeRepositoryProps.Builder |
builder() |
default String |
getCodeRepositoryName()
The name of the Git repository.
|
Object |
getGitConfig()
Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository.
|
default List<CfnTag> |
getTags()
List of tags for Code Repository.
|
@Stability(value=Stable) @NotNull Object getGitConfig()
@Stability(value=Stable) @Nullable default String getCodeRepositoryName()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnCodeRepositoryProps.Builder builder()
CfnCodeRepositoryProps.Builder of CfnCodeRepositoryPropsCopyright © 2022. All rights reserved.