Interface CfnPackagePropsMixin.OriginConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackagePropsMixin.OriginConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPackagePropsMixin
@Stability(Stable)
public static interface CfnPackagePropsMixin.OriginConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The package origin configuration 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.*;
OriginConfigurationProperty originConfigurationProperty = OriginConfigurationProperty.builder()
.restrictions(RestrictionsProperty.builder()
.publish("publish")
.upstream("upstream")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackagePropsMixin.OriginConfigurationPropertystatic final classAn implementation forCfnPackagePropsMixin.OriginConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRestrictions
The origin restrictions for the package.Returns union: either
IResolvableorCfnPackagePropsMixin.RestrictionsProperty- See Also:
-
builder
-