public static final class CfnCodeRepository.Builder
extends java.lang.Object
CfnCodeRepository
.Modifier and Type | Method and Description |
---|---|
CfnCodeRepository |
build() |
CfnCodeRepository.Builder |
codeRepositoryName(java.lang.String codeRepositoryName)
The name of the Git repository.
|
static CfnCodeRepository.Builder |
create(Construct scope,
java.lang.String id) |
CfnCodeRepository.Builder |
gitConfig(CfnCodeRepository.GitConfigProperty gitConfig)
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.
|
CfnCodeRepository.Builder |
gitConfig(IResolvable gitConfig)
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.
|
CfnCodeRepository.Builder |
tags(java.util.List<? extends CfnTag> tags)
List of tags for Code Repository.
|
public static CfnCodeRepository.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnCodeRepository.GitConfigProperty.Builder
.public CfnCodeRepository.Builder gitConfig(IResolvable gitConfig)
gitConfig
- 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. This parameter is required.this
public CfnCodeRepository.Builder gitConfig(CfnCodeRepository.GitConfigProperty gitConfig)
gitConfig
- 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. This parameter is required.this
public CfnCodeRepository.Builder codeRepositoryName(java.lang.String codeRepositoryName)
codeRepositoryName
- The name of the Git repository. This parameter is required.this
public CfnCodeRepository.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- List of tags for Code Repository. This parameter is required.this
public CfnCodeRepository build()