CfnRepositoryProps

class aws_cdk.aws_codeartifact.CfnRepositoryProps(*, domain_name, repository_name, description=None, domain_owner=None, external_connections=None, permissions_policy_document=None, tags=None, upstreams=None)

Bases: object

Properties for defining a CfnRepository.

Parameters:
  • domain_name (str) – The name of the domain that contains the repository.

  • repository_name (str) – The name of an upstream repository.

  • description (Optional[str]) – A text description of the repository.

  • domain_owner (Optional[str]) – The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include dashes or spaces.

  • external_connections (Optional[Sequence[str]]) – An array of external connections associated with the repository.

  • permissions_policy_document (Optional[Any]) – The document that defines the resource policy that is set on a repository.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of tags to be applied to the repository.

  • upstreams (Optional[Sequence[str]]) – 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 .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_codeartifact as codeartifact

# permissions_policy_document: Any

cfn_repository_props = codeartifact.CfnRepositoryProps(
    domain_name="domainName",
    repository_name="repositoryName",

    # the properties below are optional
    description="description",
    domain_owner="domainOwner",
    external_connections=["externalConnections"],
    permissions_policy_document=permissions_policy_document,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    upstreams=["upstreams"]
)

Attributes

description

A text description of the repository.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-description

domain_name

The name of the domain that contains the repository.

Link:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-domainname

domain_owner

The 12-digit account number of the AWS account that owns the domain that contains the repository.

It does not include dashes or spaces.

Link:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-domainowner

external_connections

An array of external connections associated with the repository.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-externalconnections

permissions_policy_document

The document that defines the resource policy that is set on a repository.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-permissionspolicydocument

repository_name

The name of an upstream repository.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-repositoryname

tags

A list of tags to be applied to the repository.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-tags

upstreams

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 .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-upstreams