Interface CfnPackagePropsMixin.RestrictionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackagePropsMixin.RestrictionsProperty.Jsii$Proxy
- Enclosing class:
CfnPackagePropsMixin
@Stability(Stable)
public static interface CfnPackagePropsMixin.RestrictionsProperty
extends software.amazon.jsii.JsiiSerializable
The origin restrictions for the package.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.codeartifact.*;
RestrictionsProperty restrictionsProperty = RestrictionsProperty.builder()
.publish("publish")
.upstream("upstream")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackagePropsMixin.RestrictionsPropertystatic final classAn implementation forCfnPackagePropsMixin.RestrictionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe package origin configuration that determines if new versions of the package can be published directly to the repository.default StringThe package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPublish
The package origin configuration that determines if new versions of the package can be published directly to the repository.- See Also:
-
getUpstream
The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.- See Also:
-
builder
-