Skip to content
v2.275.0

RestrictionTypeProperty 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 restrictionTypeProperty: codeartifact.CfnPackageGroup.RestrictionTypeProperty = {
  restrictionMode: 'restrictionMode',

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

Properties ​

repositoriesoptionalstring[]repositoriesoptionaltyping.List[str]repositoriesoptionalList<String>Repositoriesoptionalstring[]Repositoriesoptional*[]*string#
restrictionModestringrestriction_modestrrestrictionModeStringRestrictionModestringRestrictionMode*stringrequired#