interface RestrictionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeArtifact.CfnPackageGroup.RestrictionsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodeartifact#CfnPackageGroup_RestrictionsProperty |
![]() | software.amazon.awscdk.services.codeartifact.CfnPackageGroup.RestrictionsProperty |
![]() | aws_cdk.aws_codeartifact.CfnPackageGroup.RestrictionsProperty |
![]() | aws-cdk-lib » aws_codeartifact » CfnPackageGroup » RestrictionsProperty |
Contains information about the configured restrictions of the origin controls of a package group.
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 | The package group origin restriction setting for external, upstream repositories. |
internal | IResolvable | Restriction | The package group origin restriction setting for internal, upstream repositories. |
publish? | IResolvable | Restriction | The package group origin restriction setting for publishing packages. |
externalUpstream?
Type:
IResolvable
|
Restriction
(optional)
The package group origin restriction setting for external, upstream repositories.
internalUpstream?
Type:
IResolvable
|
Restriction
(optional)
The package group origin restriction setting for internal, upstream repositories.
publish?
Type:
IResolvable
|
Restriction
(optional)
The package group origin restriction setting for publishing packages.