

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::CodeArtifact::PackageGroup
<a name="aws-resource-codeartifact-packagegroup"></a>

 Creates a package group. For more information about creating package groups, including example CLI commands, see [Create a package group](https://docs.aws.amazon.com/codeartifact/latest/ug/create-package-group.html) in the *CodeArtifact User Guide*. 

## Syntax
<a name="aws-resource-codeartifact-packagegroup-syntax"></a>

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

### JSON
<a name="aws-resource-codeartifact-packagegroup-syntax.json"></a>

```
{
  "Type" : "AWS::CodeArtifact::PackageGroup",
  "Properties" : {
      "[ContactInfo](#cfn-codeartifact-packagegroup-contactinfo)" : String,
      "[Description](#cfn-codeartifact-packagegroup-description)" : String,
      "[DomainName](#cfn-codeartifact-packagegroup-domainname)" : String,
      "[DomainOwner](#cfn-codeartifact-packagegroup-domainowner)" : String,
      "[OriginConfiguration](#cfn-codeartifact-packagegroup-originconfiguration)" : OriginConfiguration,
      "[Pattern](#cfn-codeartifact-packagegroup-pattern)" : String,
      "[Tags](#cfn-codeartifact-packagegroup-tags)" : [ Tag, ... ]
    }
}
```

### YAML
<a name="aws-resource-codeartifact-packagegroup-syntax.yaml"></a>

```
Type: AWS::CodeArtifact::PackageGroup
Properties:
  [ContactInfo](#cfn-codeartifact-packagegroup-contactinfo): String
  [Description](#cfn-codeartifact-packagegroup-description): String
  [DomainName](#cfn-codeartifact-packagegroup-domainname): String
  [DomainOwner](#cfn-codeartifact-packagegroup-domainowner): String
  [OriginConfiguration](#cfn-codeartifact-packagegroup-originconfiguration): 
    OriginConfiguration
  [Pattern](#cfn-codeartifact-packagegroup-pattern): String
  [Tags](#cfn-codeartifact-packagegroup-tags): 
    - Tag
```

## Properties
<a name="aws-resource-codeartifact-packagegroup-properties"></a>

`ContactInfo`  <a name="cfn-codeartifact-packagegroup-contactinfo"></a>
 The contact information of the package group.   
*Required*: No  
*Type*: String  
*Maximum*: `1000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-codeartifact-packagegroup-description"></a>
 The description of the package group.   
*Required*: No  
*Type*: String  
*Maximum*: `1000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DomainName`  <a name="cfn-codeartifact-packagegroup-domainname"></a>
 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`DomainOwner`  <a name="cfn-codeartifact-packagegroup-domainowner"></a>
 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`OriginConfiguration`  <a name="cfn-codeartifact-packagegroup-originconfiguration"></a>
Details about the package origin configuration of a package group.  
*Required*: No  
*Type*: [OriginConfiguration](aws-properties-codeartifact-packagegroup-originconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Pattern`  <a name="cfn-codeartifact-packagegroup-pattern"></a>
 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Tags`  <a name="cfn-codeartifact-packagegroup-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-codeartifact-packagegroup-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-codeartifact-packagegroup-return-values"></a>

### Ref
<a name="aws-resource-codeartifact-packagegroup-return-values-ref"></a>

### Fn::GetAtt
<a name="aws-resource-codeartifact-packagegroup-return-values-fn--getatt"></a>

#### 
<a name="aws-resource-codeartifact-packagegroup-return-values-fn--getatt-fn--getatt"></a>

`Arn`  <a name="Arn-fn::getatt"></a>
 The ARN of the package group. 

# AWS::CodeArtifact::PackageGroup OriginConfiguration
<a name="aws-properties-codeartifact-packagegroup-originconfiguration"></a>

<a name="aws-properties-codeartifact-packagegroup-originconfiguration-description"></a>The `OriginConfiguration` property type specifies Property description not available. for an [AWS::CodeArtifact::PackageGroup](aws-resource-codeartifact-packagegroup.md).

## Syntax
<a name="aws-properties-codeartifact-packagegroup-originconfiguration-syntax"></a>

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

### JSON
<a name="aws-properties-codeartifact-packagegroup-originconfiguration-syntax.json"></a>

```
{
  "[Restrictions](#cfn-codeartifact-packagegroup-originconfiguration-restrictions)" : Restrictions
}
```

### YAML
<a name="aws-properties-codeartifact-packagegroup-originconfiguration-syntax.yaml"></a>

```
  [Restrictions](#cfn-codeartifact-packagegroup-originconfiguration-restrictions): 
    Restrictions
```

## Properties
<a name="aws-properties-codeartifact-packagegroup-originconfiguration-properties"></a>

`Restrictions`  <a name="cfn-codeartifact-packagegroup-originconfiguration-restrictions"></a>
Property description not available.  
*Required*: Yes  
*Type*: [Restrictions](aws-properties-codeartifact-packagegroup-restrictions.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::CodeArtifact::PackageGroup Restrictions
<a name="aws-properties-codeartifact-packagegroup-restrictions"></a>

<a name="aws-properties-codeartifact-packagegroup-restrictions-description"></a>The `Restrictions` property type specifies Property description not available. for an [AWS::CodeArtifact::PackageGroup](aws-resource-codeartifact-packagegroup.md).

## Syntax
<a name="aws-properties-codeartifact-packagegroup-restrictions-syntax"></a>

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

### JSON
<a name="aws-properties-codeartifact-packagegroup-restrictions-syntax.json"></a>

```
{
  "[ExternalUpstream](#cfn-codeartifact-packagegroup-restrictions-externalupstream)" : RestrictionType,
  "[InternalUpstream](#cfn-codeartifact-packagegroup-restrictions-internalupstream)" : RestrictionType,
  "[Publish](#cfn-codeartifact-packagegroup-restrictions-publish)" : RestrictionType
}
```

### YAML
<a name="aws-properties-codeartifact-packagegroup-restrictions-syntax.yaml"></a>

```
  [ExternalUpstream](#cfn-codeartifact-packagegroup-restrictions-externalupstream): 
    RestrictionType
  [InternalUpstream](#cfn-codeartifact-packagegroup-restrictions-internalupstream): 
    RestrictionType
  [Publish](#cfn-codeartifact-packagegroup-restrictions-publish): 
    RestrictionType
```

## Properties
<a name="aws-properties-codeartifact-packagegroup-restrictions-properties"></a>

`ExternalUpstream`  <a name="cfn-codeartifact-packagegroup-restrictions-externalupstream"></a>
Property description not available.  
*Required*: No  
*Type*: [RestrictionType](aws-properties-codeartifact-packagegroup-restrictiontype.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InternalUpstream`  <a name="cfn-codeartifact-packagegroup-restrictions-internalupstream"></a>
Property description not available.  
*Required*: No  
*Type*: [RestrictionType](aws-properties-codeartifact-packagegroup-restrictiontype.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Publish`  <a name="cfn-codeartifact-packagegroup-restrictions-publish"></a>
Property description not available.  
*Required*: No  
*Type*: [RestrictionType](aws-properties-codeartifact-packagegroup-restrictiontype.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::CodeArtifact::PackageGroup RestrictionType
<a name="aws-properties-codeartifact-packagegroup-restrictiontype"></a>

<a name="aws-properties-codeartifact-packagegroup-restrictiontype-description"></a>The `RestrictionType` property type specifies Property description not available. for an [AWS::CodeArtifact::PackageGroup](aws-resource-codeartifact-packagegroup.md).

## Syntax
<a name="aws-properties-codeartifact-packagegroup-restrictiontype-syntax"></a>

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

### JSON
<a name="aws-properties-codeartifact-packagegroup-restrictiontype-syntax.json"></a>

```
{
  "[Repositories](#cfn-codeartifact-packagegroup-restrictiontype-repositories)" : [ String, ... ],
  "[RestrictionMode](#cfn-codeartifact-packagegroup-restrictiontype-restrictionmode)" : String
}
```

### YAML
<a name="aws-properties-codeartifact-packagegroup-restrictiontype-syntax.yaml"></a>

```
  [Repositories](#cfn-codeartifact-packagegroup-restrictiontype-repositories): 
    - String
  [RestrictionMode](#cfn-codeartifact-packagegroup-restrictiontype-restrictionmode): String
```

## Properties
<a name="aws-properties-codeartifact-packagegroup-restrictiontype-properties"></a>

`Repositories`  <a name="cfn-codeartifact-packagegroup-restrictiontype-repositories"></a>
Property description not available.  
*Required*: No  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RestrictionMode`  <a name="cfn-codeartifact-packagegroup-restrictiontype-restrictionmode"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `ALLOW | BLOCK | ALLOW_SPECIFIC_REPOSITORIES | INHERIT`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::CodeArtifact::PackageGroup Tag
<a name="aws-properties-codeartifact-packagegroup-tag"></a>

A tag is a key-value pair that can be used to manage, search for, or filter resources in AWS CodeArtifact.

## Syntax
<a name="aws-properties-codeartifact-packagegroup-tag-syntax"></a>

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

### JSON
<a name="aws-properties-codeartifact-packagegroup-tag-syntax.json"></a>

```
{
  "[Key](#cfn-codeartifact-packagegroup-tag-key)" : String,
  "[Value](#cfn-codeartifact-packagegroup-tag-value)" : String
}
```

### YAML
<a name="aws-properties-codeartifact-packagegroup-tag-syntax.yaml"></a>

```
  [Key](#cfn-codeartifact-packagegroup-tag-key): String
  [Value](#cfn-codeartifact-packagegroup-tag-value): String
```

## Properties
<a name="aws-properties-codeartifact-packagegroup-tag-properties"></a>

`Key`  <a name="cfn-codeartifact-packagegroup-tag-key"></a>
The tag key.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-codeartifact-packagegroup-tag-value"></a>
The tag value.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)