Interface CfnPackageGroupPropsMixin.RestrictionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackageGroupPropsMixin.RestrictionsProperty.Jsii$Proxy
- Enclosing class:
CfnPackageGroupPropsMixin
@Stability(Stable)
public static interface CfnPackageGroupPropsMixin.RestrictionsProperty
extends software.amazon.jsii.JsiiSerializable
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()
.externalUpstream(RestrictionTypeProperty.builder()
.repositories(List.of("repositories"))
.restrictionMode("restrictionMode")
.build())
.internalUpstream(RestrictionTypeProperty.builder()
.repositories(List.of("repositories"))
.restrictionMode("restrictionMode")
.build())
.publish(RestrictionTypeProperty.builder()
.repositories(List.of("repositories"))
.restrictionMode("restrictionMode")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackageGroupPropsMixin.RestrictionsPropertystatic final classAn implementation forCfnPackageGroupPropsMixin.RestrictionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnPackageGroupPropsMixin.RestrictionTypePropertydefault ObjectReturns union: eitherIResolvableorCfnPackageGroupPropsMixin.RestrictionTypePropertydefault ObjectReturns union: eitherIResolvableorCfnPackageGroupPropsMixin.RestrictionTypePropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExternalUpstream
Returns union: eitherIResolvableorCfnPackageGroupPropsMixin.RestrictionTypeProperty- See Also:
-
getInternalUpstream
Returns union: eitherIResolvableorCfnPackageGroupPropsMixin.RestrictionTypeProperty- See Also:
-
getPublish
Returns union: eitherIResolvableorCfnPackageGroupPropsMixin.RestrictionTypeProperty- See Also:
-
builder
-