# OriginConfigurationProperty

- Source: Generated code
- Type last changed: v2.134.0 · 26 Mar 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeartifact as codeartifact } from 'aws-cdk-lib';
const originConfigurationProperty: codeartifact.CfnPackageGroup.OriginConfigurationProperty = {
  restrictions: {
    externalUpstream: {
      restrictionMode: 'restrictionMode',

      // the properties below are optional
      repositories: ['repositories'],
    },
    internalUpstream: {
      restrictionMode: 'restrictionMode',

      // the properties below are optional
      repositories: ['repositories'],
    },
    publish: {
      restrictionMode: 'restrictionMode',

      // the properties below are optional
      repositories: ['repositories'],
    },
  },
};
```

## Properties

- `restrictions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPackageGroup.RestrictionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codeartifact.CfnPackageGroup.RestrictionsProperty.html) (required)
