CfnPackageGroupMixinProps

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

Bases: object

Properties for CfnPackageGroupPropsMixin.

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

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

  • domain_name (Optional[str]) – The domain that contains 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.

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

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply 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.mixins_preview.aws_codeartifact import mixins as codeartifact_mixins

cfn_package_group_mixin_props = codeartifact_mixins.CfnPackageGroupMixinProps(
    contact_info="contactInfo",
    description="description",
    domain_name="domainName",
    domain_owner="domainOwner",
    origin_configuration=codeartifact_mixins.CfnPackageGroupPropsMixin.OriginConfigurationProperty(
        restrictions=codeartifact_mixins.CfnPackageGroupPropsMixin.RestrictionsProperty(
            external_upstream=codeartifact_mixins.CfnPackageGroupPropsMixin.RestrictionTypeProperty(
                repositories=["repositories"],
                restriction_mode="restrictionMode"
            ),
            internal_upstream=codeartifact_mixins.CfnPackageGroupPropsMixin.RestrictionTypeProperty(
                repositories=["repositories"],
                restriction_mode="restrictionMode"
            ),
            publish=codeartifact_mixins.CfnPackageGroupPropsMixin.RestrictionTypeProperty(
                repositories=["repositories"],
                restriction_mode="restrictionMode"
            )
        )
    ),
    pattern="pattern",
    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

An array of key-value pairs to apply to the package group.

See:

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