interface OriginConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CodeArtifact.CfnPackagePropsMixin.OriginConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscodeartifact#CfnPackagePropsMixin_OriginConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.codeartifact.CfnPackagePropsMixin.OriginConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_codeartifact.CfnPackagePropsMixin.OriginConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_codeartifact » CfnPackagePropsMixin » OriginConfigurationProperty |
The package origin configuration for the package.
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/cfn-property-mixins';
const originConfigurationProperty: codeartifact.CfnPackagePropsMixin.OriginConfigurationProperty = {
restrictions: {
publish: 'publish',
upstream: 'upstream',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| restrictions? | IResolvable | Restrictions | The origin restrictions for the package. |
restrictions?
Type:
IResolvable | Restrictions
(optional)
The origin restrictions for the package.

.NET
Go
Java
Python
TypeScript