Interface CfnPackageGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackageGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:47.398Z")
@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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackageGroupPropsstatic final classAn implementation forCfnPackageGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPackageGroupProps.Builderbuilder()default StringThe contact information of the package group.default StringThe description of the package group.The domain that contains the package group.default StringThe 12-digit account number of the AWS account that owns the domain.default ObjectDetails about the package origin configuration of a package group.The pattern of the package group.getTags()An array of key-value pairs to apply to the package group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
The domain that contains the package group.- See Also:
-
getPattern
The pattern of the package group.The pattern determines which packages are associated with the package group.
- See Also:
-
getContactInfo
The contact information of the package group.- See Also:
-
getDescription
The description of the package group.- See Also:
-
getDomainOwner
The 12-digit account number of the AWS account that owns the domain.It does not include dashes or spaces.
- See Also:
-
getOriginConfiguration
Details about the package origin configuration of a package group.Returns union: either
IResolvableorCfnPackageGroup.OriginConfigurationProperty- See Also:
-
getTags
An array of key-value pairs to apply to the package group.- See Also:
-
builder
- Returns:
- a
CfnPackageGroupProps.BuilderofCfnPackageGroupProps
-