Interface CfnPackageProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:50:59.455Z")
@Stability(Stable)
public interface CfnPackageProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPackage.
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.*;
CfnPackageProps cfnPackageProps = CfnPackageProps.builder()
.domainName("domainName")
.format("format")
.name("name")
.repository("repository")
// the properties below are optional
.namespace("namespace")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackagePropsstatic final classAn implementation forCfnPackageProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPackageProps.Builderbuilder()The name of the domain that contains the repository that contains the package.The format of the package.getName()The name of the package.default StringThe namespace of the package.The name of the repository that contains the package.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
The name of the domain that contains the repository that contains the package.- See Also:
-
getFormat
The format of the package.- See Also:
-
getName
The name of the package.- See Also:
-
getRepository
The name of the repository that contains the package.- See Also:
-
getNamespace
The namespace of the package.- See Also:
-
builder
- Returns:
- a
CfnPackageProps.BuilderofCfnPackageProps
-