CfnRepositoryProps

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

Bases: object

Properties for defining a AWS::CodeArtifact::Repository.

Parameters
  • description (Optional[str]) – AWS::CodeArtifact::Repository.Description.

  • domain_name (str) – AWS::CodeArtifact::Repository.DomainName.

  • domain_owner (Optional[str]) – AWS::CodeArtifact::Repository.DomainOwner.

  • external_connections (Optional[Sequence[str]]) – AWS::CodeArtifact::Repository.ExternalConnections.

  • permissions_policy_document (Optional[Any]) – AWS::CodeArtifact::Repository.PermissionsPolicyDocument.

  • repository_name (str) – AWS::CodeArtifact::Repository.RepositoryName.

  • tags (Optional[Sequence[CfnTag]]) – AWS::CodeArtifact::Repository.Tags.

  • upstreams (Optional[Sequence[str]]) – AWS::CodeArtifact::Repository.Upstreams.

Link

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

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 is of type object

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

AWS::CodeArtifact::Repository.Description.

Link

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

Return type

Optional[str]

domain_name

AWS::CodeArtifact::Repository.DomainName.

Link

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

Return type

str

domain_owner

AWS::CodeArtifact::Repository.DomainOwner.

Link

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

Return type

Optional[str]

external_connections

AWS::CodeArtifact::Repository.ExternalConnections.

Link

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

Return type

Optional[List[str]]

permissions_policy_document

AWS::CodeArtifact::Repository.PermissionsPolicyDocument.

Link

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

Return type

Any

repository_name

AWS::CodeArtifact::Repository.RepositoryName.

Link

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

Return type

str

tags

AWS::CodeArtifact::Repository.Tags.

Link

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

Return type

Optional[List[CfnTag]]

upstreams

AWS::CodeArtifact::Repository.Upstreams.

Link

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

Return type

Optional[List[str]]