Skip to content
v2.274.0

OriginConfigurationProperty Struct ​

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 ​

restrictionsIResolvable | CfnPackageGroup.RestrictionsPropertyrestrictionstyping.Union[IResolvable, RestrictionsProperty]restrictionsIResolvableRestrictionsIResolvableRestrictionsinterface{}required#