CfnPackageProps

class aws_cdk.aws_codeartifact.CfnPackageProps(*, domain_name, format, name, repository, namespace=None)

Bases: object

Properties for defining a CfnPackage.

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

  • format (str) – The format of the package.

  • name (str) – The name of the package.

  • repository (str) – The name of the repository that contains the package.

  • namespace (Optional[str]) – The namespace of the package.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_package_props = codeartifact.CfnPackageProps(
    domain_name="domainName",
    format="format",
    name="name",
    repository="repository",

    # the properties below are optional
    namespace="namespace"
)

Attributes

domain_name

The name of the domain that contains the repository that contains the package.

See:

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

format

The format of the package.

See:

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

name

The name of the package.

See:

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

namespace

The namespace of the package.

See:

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

repository

The name of the repository that contains the package.

See:

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