Interface CfnPackageGroup.RestrictionTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackageGroup.RestrictionTypeProperty.Jsii$Proxy
- Enclosing class:
CfnPackageGroup
@Stability(Stable)
public static interface CfnPackageGroup.RestrictionTypeProperty
extends software.amazon.jsii.JsiiSerializable
The
RestrictionType
property type specifies the package group origin configuration restriction mode, and the repositories when the RestrictionMode
is set to ALLOW_SPECIFIC_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.*; RestrictionTypeProperty restrictionTypeProperty = RestrictionTypeProperty.builder() .restrictionMode("restrictionMode") // the properties below are optional .repositories(List.of("repositories")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPackageGroup.RestrictionTypeProperty
static final class
An implementation forCfnPackageGroup.RestrictionTypeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The repositories to add to the allowed repositories list.The package group origin restriction setting.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRestrictionMode
The package group origin restriction setting.When the value is
INHERIT
, the value is set to the value of the first parent package group which does not have a value ofINHERIT
.- See Also:
-
getRepositories
The repositories to add to the allowed repositories list.The allowed repositories list is used when the
RestrictionMode
is set toALLOW_SPECIFIC_REPOSITORIES
.- See Also:
-
builder
-