Interface CfnPackageGroup.RestrictionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackageGroup.RestrictionsProperty.Jsii$Proxy
- Enclosing class:
CfnPackageGroup
@Stability(Stable)
public static interface CfnPackageGroup.RestrictionsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codeartifact.*;
RestrictionsProperty restrictionsProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackageGroup.RestrictionsPropertystatic final classAn implementation forCfnPackageGroup.RestrictionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe package group origin restriction setting for external, upstream repositories.default ObjectThe package group origin restriction setting for internal, upstream repositories.default ObjectThe package group origin restriction setting for publishing packages.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExternalUpstream
The package group origin restriction setting for external, upstream repositories.- See Also:
-
getInternalUpstream
The package group origin restriction setting for internal, upstream repositories.- See Also:
-
getPublish
The package group origin restriction setting for publishing packages.- See Also:
-
builder
-