AWS::CodeArtifact::PackageGroup - AWS CloudFormation

AWS::CodeArtifact::PackageGroup

Creates a package group. For more information about creating package groups, including example CLI commands, see Create a package group in the CodeArtifact User Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::CodeArtifact::PackageGroup", "Properties" : { "ContactInfo" : String, "Description" : String, "DomainName" : String, "DomainOwner" : String, "OriginConfiguration" : OriginConfiguration, "Pattern" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::CodeArtifact::PackageGroup Properties: ContactInfo: String Description: String DomainName: String DomainOwner: String OriginConfiguration: OriginConfiguration Pattern: String Tags: - Tag

Properties

ContactInfo

The contact information of the package group.

Required: No

Type: String

Maximum: 1000

Update requires: No interruption

Description

The description of the package group.

Required: No

Type: String

Maximum: 1000

Update requires: No interruption

DomainName

The domain that contains the package group.

Required: Yes

Type: String

Pattern: ^([a-z][a-z0-9\-]{0,48}[a-z0-9])$

Minimum: 2

Maximum: 50

Update requires: Replacement

DomainOwner

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Required: No

Type: String

Pattern: [0-9]{12}

Update requires: No interruption

OriginConfiguration

Details about the package origin configuration of a package group.

Required: No

Type: OriginConfiguration

Update requires: No interruption

Pattern

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

Required: Yes

Type: String

Minimum: 2

Maximum: 520

Update requires: Replacement

Tags

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

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the resource arn.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

When you pass the logical ID of this resource, the function returns the Amazon Resource Name (ARN) of the package group.