@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.273Z") @Stability(value=Stable) public interface CfnRepositoryProps 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.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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRepositoryProps.Builder
A builder for
CfnRepositoryProps |
static class |
CfnRepositoryProps.Jsii$Proxy
An implementation for
CfnRepositoryProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRepositoryProps.Builder |
builder() |
default String |
getDescription()
A text description of the repository.
|
String |
getDomainName()
The name of the domain that contains the repository.
|
default String |
getDomainOwner()
The 12-digit account number of the AWS account that owns the domain that contains the repository.
|
default List<String> |
getExternalConnections()
An array of external connections associated with the repository.
|
default Object |
getPermissionsPolicyDocument()
The document that defines the resource policy that is set on a repository.
|
String |
getRepositoryName()
The name of an upstream repository.
|
default List<CfnTag> |
getTags()
A list of tags to be applied to the repository.
|
default List<String> |
getUpstreams()
A list of upstream repositories to associate with the repository.
|
@Stability(value=Stable) @NotNull String getDomainName()
@Stability(value=Stable) @NotNull String getRepositoryName()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getDomainOwner()
It does not include dashes or spaces.
@Stability(value=Stable) @Nullable default List<String> getExternalConnections()
@Stability(value=Stable) @Nullable default Object getPermissionsPolicyDocument()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default List<String> getUpstreams()
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 .
@Stability(value=Stable) static CfnRepositoryProps.Builder builder()
CfnRepositoryProps.Builder of CfnRepositoryPropsCopyright © 2022. All rights reserved.