interface OriginConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeArtifact.CfnPackageGroup.OriginConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodeartifact#CfnPackageGroup_OriginConfigurationProperty |
Java | software.amazon.awscdk.services.codeartifact.CfnPackageGroup.OriginConfigurationProperty |
Python | aws_cdk.aws_codeartifact.CfnPackageGroup.OriginConfigurationProperty |
TypeScript | aws-cdk-lib » aws_codeartifact » CfnPackageGroup » OriginConfigurationProperty |
The package group origin configuration that determines how package versions can enter repositories.
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 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
Name | Type | Description |
---|---|---|
restrictions | IResolvable | Restrictions | The origin configuration settings that determine how package versions can enter repositories. |
restrictions
Type:
IResolvable
|
Restrictions
The origin configuration settings that determine how package versions can enter repositories.