CfnPackageGroupProps

class aws_cdk.aws_codeartifact.CfnPackageGroupProps(*, domain_name, pattern, contact_info=None, description=None, domain_owner=None, origin_configuration=None, tags=None)

Bases: object

Properties for defining a CfnPackageGroup.

Parameters:
  • domain_name (str) – The domain that contains the package group.

  • pattern (str) – The pattern of the package group. The pattern determines which packages are associated with the package group.

  • contact_info (Optional[str]) – The contact information of the package group.

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

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

  • origin_configuration (Union[IResolvable, OriginConfigurationProperty, Dict[str, Any], None]) – Details about the package origin configuration of a package group.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.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_group_props = codeartifact.CfnPackageGroupProps(
    domain_name="domainName",
    pattern="pattern",

    # the properties below are optional
    contact_info="contactInfo",
    description="description",
    domain_owner="domainOwner",
    origin_configuration=codeartifact.CfnPackageGroup.OriginConfigurationProperty(
        restrictions=codeartifact.CfnPackageGroup.RestrictionsProperty(
            external_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
                restriction_mode="restrictionMode",

                # the properties below are optional
                repositories=["repositories"]
            ),
            internal_upstream=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
                restriction_mode="restrictionMode",

                # the properties below are optional
                repositories=["repositories"]
            ),
            publish=codeartifact.CfnPackageGroup.RestrictionTypeProperty(
                restriction_mode="restrictionMode",

                # the properties below are optional
                repositories=["repositories"]
            )
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

contact_info

The contact information of the package group.

See:

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

description

The description of the package group.

See:

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

domain_name

The domain that contains the package group.

See:

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

domain_owner

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

It does not include dashes or spaces.

See:

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

origin_configuration

Details about the package origin configuration of a package group.

See:

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

pattern

The pattern of the package group.

The pattern determines which packages are associated with the package group.

See:

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

tags

A list of tags to be applied to the package group.

See:

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