

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 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)