Class CfnPackageGroup.OriginConfigurationProperty
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeArtifact
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPackageGroup.OriginConfigurationProperty : CfnPackageGroup.IOriginConfigurationProperty
Syntax (vb)
Public Class CfnPackageGroup.OriginConfigurationProperty Implements CfnPackageGroup.IOriginConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeArtifact;
var originConfigurationProperty = new OriginConfigurationProperty {
Restrictions = new RestrictionsProperty {
ExternalUpstream = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
},
InternalUpstream = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
},
Publish = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
}
}
};
Synopsis
Constructors
| OriginConfigurationProperty() |
Properties
| Restrictions |
Constructors
OriginConfigurationProperty()
public OriginConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeArtifact;
var originConfigurationProperty = new OriginConfigurationProperty {
Restrictions = new RestrictionsProperty {
ExternalUpstream = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
},
InternalUpstream = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
},
Publish = new RestrictionTypeProperty {
RestrictionMode = "restrictionMode",
// the properties below are optional
Repositories = new [] { "repositories" }
}
}
};
Properties
Restrictions
public object Restrictions { get; set; }