interface RestrictionTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeArtifact.CfnPackageGroup.RestrictionTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodeartifact#CfnPackageGroup_RestrictionTypeProperty |
Java | software.amazon.awscdk.services.codeartifact.CfnPackageGroup.RestrictionTypeProperty |
Python | aws_cdk.aws_codeartifact.CfnPackageGroup.RestrictionTypeProperty |
TypeScript | aws-cdk-lib » aws_codeartifact » CfnPackageGroup » RestrictionTypeProperty |
Example
// 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
| Name | Type | Description |
|---|---|---|
| restriction | string | |
| repositories? | string[] |
restrictionMode
Type:
string
repositories?
Type:
string[]
(optional)

.NET
Go
Java
Python
TypeScript