Interface CfnRepositoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRepositoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:05.426Z")
@Stability(Stable)
public interface CfnRepositoryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRepository.
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.codeartifact.*;
Object permissionsPolicyDocument;
CfnRepositoryProps cfnRepositoryProps = CfnRepositoryProps.builder()
.domainName("domainName")
.repositoryName("repositoryName")
// the properties below are optional
.description("description")
.domainOwner("domainOwner")
.externalConnections(List.of("externalConnections"))
.permissionsPolicyDocument(permissionsPolicyDocument)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.upstreams(List.of("upstreams"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRepositoryPropsstatic final classAn implementation forCfnRepositoryProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRepositoryProps.Builderbuilder()default StringA text description of the repository.The name of the domain that contains the repository.default StringThe 12-digit account ID of the AWS account that owns the domain.An array of external connections associated with the repository.default ObjectThe document that defines the resource policy that is set on a repository.The name of an upstream repository.getTags()A list of tags to be applied to the repository.A list of upstream repositories to associate with the repository.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
The name of the domain that contains the repository.- See Also:
-
getRepositoryName
The name of an upstream repository.- See Also:
-
getDescription
A text description of the repository.- See Also:
-
getDomainOwner
The 12-digit account ID of the AWS account that owns the domain.- See Also:
-
getExternalConnections
An array of external connections associated with the repository.- See Also:
-
getPermissionsPolicyDocument
The document that defines the resource policy that is set on a repository.- See Also:
-
getTags
A list of tags to be applied to the repository.- See Also:
-
getUpstreams
A list of upstream repositories to associate with the repository.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 .
- See Also:
-
builder
- Returns:
- a
CfnRepositoryProps.BuilderofCfnRepositoryProps
-