interface RestrictionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeArtifact.CfnPackageGroup.RestrictionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodeartifact#CfnPackageGroup_RestrictionsProperty |
Java | software.amazon.awscdk.services.codeartifact.CfnPackageGroup.RestrictionsProperty |
Python | aws_cdk.aws_codeartifact.CfnPackageGroup.RestrictionsProperty |
TypeScript | aws-cdk-lib » aws_codeartifact » CfnPackageGroup » RestrictionsProperty |
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 restrictionsProperty: codeartifact.CfnPackageGroup.RestrictionsProperty = {
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
| Name | Type | Description |
|---|---|---|
| external | IResolvable | Restriction | |
| internal | IResolvable | Restriction | |
| publish? | IResolvable | Restriction |
externalUpstream?
Type:
IResolvable | Restriction
(optional)
internalUpstream?
Type:
IResolvable | Restriction
(optional)
publish?
Type:
IResolvable | Restriction
(optional)

.NET
Go
Java
Python
TypeScript