# AWS::CodeArtifact Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for CodeArtifact construct libraries](https://constructs.dev/search?q=codeartifact)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::CodeArtifact resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeArtifact.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::CodeArtifact](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeArtifact.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnDomain`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnDomain) | Construct (L1) | The `AWS::CodeArtifact::Domain` resource creates an AWS CodeArtifact domain. |
| [`CfnPackageGroup`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnPackageGroup) | Construct (L1) | Creates a package group. |
| [`CfnRepository`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnRepository) | Construct (L1) | The `AWS::CodeArtifact::Repository` resource creates an AWS CodeArtifact repository. |
| [`CfnDomainProps`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnDomainProps) | Struct | Properties for defining a `CfnDomain`. |
| [`CfnPackageGroup.OriginConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnPackageGroup.OriginConfigurationProperty) | Struct |  |
| [`CfnPackageGroup.RestrictionsProperty`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnPackageGroup.RestrictionsProperty) | Struct |  |
| [`CfnPackageGroup.RestrictionTypeProperty`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnPackageGroup.RestrictionTypeProperty) | Struct |  |
| [`CfnPackageGroupProps`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnPackageGroupProps) | Struct | Properties for defining a `CfnPackageGroup`. |
| [`CfnRepositoryProps`](/v2/docs/aws-cdk-lib.aws_codeartifact.CfnRepositoryProps) | Struct | Properties for defining a `CfnRepository`. |
