Interface CfnPackageGroup.OriginConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackageGroup.OriginConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPackageGroup
@Stability(Stable)
public static interface CfnPackageGroup.OriginConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codeartifact.*;
OriginConfigurationProperty originConfigurationProperty = OriginConfigurationProperty.builder()
.restrictions(RestrictionsProperty.builder()
.externalUpstream(RestrictionTypeProperty.builder()
.restrictionMode("restrictionMode")
// the properties below are optional
.repositories(List.of("repositories"))
.build())
.internalUpstream(RestrictionTypeProperty.builder()
.restrictionMode("restrictionMode")
// the properties below are optional
.repositories(List.of("repositories"))
.build())
.publish(RestrictionTypeProperty.builder()
.restrictionMode("restrictionMode")
// the properties below are optional
.repositories(List.of("repositories"))
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackageGroup.OriginConfigurationPropertystatic final classAn implementation forCfnPackageGroup.OriginConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The origin configuration settings that determine how package versions can enter repositories.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRestrictions
The origin configuration settings that determine how package versions can enter repositories.- See Also:
-
builder
-