Interface CfnPackageGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPackageGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:04.125Z") @Stability(Stable) public interface CfnPackageGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnPackageGroup.

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.*;
 CfnPackageGroupProps cfnPackageGroupProps = CfnPackageGroupProps.builder()
         .domainName("domainName")
         .pattern("pattern")
         // the properties below are optional
         .contactInfo("contactInfo")
         .description("description")
         .domainOwner("domainOwner")
         .originConfiguration(OriginConfigurationProperty.builder()
                 .restrictions(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())
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: