interface CfnPackageProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeArtifact.CfnPackageProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodeartifact#CfnPackageProps |
Java | software.amazon.awscdk.services.codeartifact.CfnPackageProps |
Python | aws_cdk.aws_codeartifact.CfnPackageProps |
TypeScript | aws-cdk-lib » aws_codeartifact » CfnPackageProps |
Properties for defining a CfnPackage.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-package.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeartifact as codeartifact } from 'aws-cdk-lib';
const cfnPackageProps: codeartifact.CfnPackageProps = {
domainName: 'domainName',
format: 'format',
name: 'name',
repository: 'repository',
// the properties below are optional
namespace: 'namespace',
};
Properties
| Name | Type | Description |
|---|---|---|
| domain | string | The name of the domain that contains the repository that contains the package. |
| format | string | The format of the package. |
| name | string | The name of the package. |
| repository | string | The name of the repository that contains the package. |
| namespace? | string | The namespace of the package. |
domainName
Type:
string
The name of the domain that contains the repository that contains the package.
format
Type:
string
The format of the package.
name
Type:
string
The name of the package.
repository
Type:
string
The name of the repository that contains the package.
namespace?
Type:
string
(optional)
The namespace of the package.

.NET
Go
Java
Python
TypeScript