Interface CfnCodeRepositoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeRepositoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.087Z")
@Stability(Stable)
public interface CfnCodeRepositoryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCodeRepository
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCodeRepositoryProps
static final class
An implementation forCfnCodeRepositoryProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The name of the Git repository.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.getTags()
List of tags for Code Repository.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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. -
getCodeRepositoryName
The name of the Git repository. -
getTags
List of tags for Code Repository. -
builder
- Returns:
- a
CfnCodeRepositoryProps.Builder
ofCfnCodeRepositoryProps
-