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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPackageGroupProps
static final class
An implementation forCfnPackageGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPackageGroupProps.Builder
builder()
default String
The contact information of the package group.default String
The description of the package group.The domain that contains the package group.default String
The 12-digit account number of the AWS account that owns the domain.default Object
Details about the package origin configuration of a package group.The pattern of the package group.getTags()
A list of tags to be applied 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.- See Also:
-
getTags
A list of tags to be applied to the package group.- See Also:
-
builder
- Returns:
- a
CfnPackageGroupProps.Builder
ofCfnPackageGroupProps
-