@Stability(value=Stable) public static final class CfnRepository.Builder extends Object implements software.amazon.jsii.Builder<CfnRepository>
CfnRepository.| Modifier and Type | Method and Description |
|---|---|
CfnRepository |
build() |
static CfnRepository.Builder |
create(software.constructs.Construct scope,
String id) |
CfnRepository.Builder |
description(String description)
A text description of the repository.
|
CfnRepository.Builder |
domainName(String domainName)
The name of the domain that contains the repository.
|
CfnRepository.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain that contains the repository.
|
CfnRepository.Builder |
externalConnections(List<String> externalConnections)
An array of external connections associated with the repository.
|
CfnRepository.Builder |
permissionsPolicyDocument(Object permissionsPolicyDocument)
The document that defines the resource policy that is set on a repository.
|
CfnRepository.Builder |
repositoryName(String repositoryName)
The name of an upstream repository.
|
CfnRepository.Builder |
tags(List<? extends CfnTag> tags)
A list of tags to be applied to the repository.
|
CfnRepository.Builder |
upstreams(List<String> upstreams)
A list of upstream repositories to associate with the repository.
|
@Stability(value=Stable) public static CfnRepository.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnRepository.Builder.@Stability(value=Stable) public CfnRepository.Builder domainName(String domainName)
domainName - The name of the domain that contains the repository. This parameter is required.this@Stability(value=Stable) public CfnRepository.Builder repositoryName(String repositoryName)
repositoryName - The name of an upstream repository. This parameter is required.this@Stability(value=Stable) public CfnRepository.Builder description(String description)
description - A text description of the repository. This parameter is required.this@Stability(value=Stable) public CfnRepository.Builder domainOwner(String domainOwner)
It does not include dashes or spaces.
domainOwner - The 12-digit account number of the AWS account that owns the domain that contains the repository. This parameter is required.this@Stability(value=Stable) public CfnRepository.Builder externalConnections(List<String> externalConnections)
externalConnections - An array of external connections associated with the repository. This parameter is required.this@Stability(value=Stable) public CfnRepository.Builder permissionsPolicyDocument(Object permissionsPolicyDocument)
permissionsPolicyDocument - The document that defines the resource policy that is set on a repository. This parameter is required.this@Stability(value=Stable) public CfnRepository.Builder tags(List<? extends CfnTag> tags)
tags - A list of tags to be applied to the repository. This parameter is required.this@Stability(value=Stable) public CfnRepository.Builder upstreams(List<String> upstreams)
The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories .
upstreams - A list of upstream repositories to associate with the repository. This parameter is required.this@Stability(value=Stable) public CfnRepository build()
build in interface software.amazon.jsii.Builder<CfnRepository>Copyright © 2022. All rights reserved.