Skip to content
v2.274.0

AWS::CodeArtifact Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';
python
import aws_cdk.aws_codeartifact as codeartifact
java
import software.amazon.awscdk.services.codeartifact.*;
csharp
using Amazon.CDK.AWS.CodeArtifact;
go
import codeartifact "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 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.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnDomainConstruct (L1)The AWS::CodeArtifact::Domain resource creates an AWS CodeArtifact domain.
CfnPackageGroupConstruct (L1)Creates a package group.
CfnRepositoryConstruct (L1)The AWS::CodeArtifact::Repository resource creates an AWS CodeArtifact repository.
CfnDomainPropsStructProperties for defining a CfnDomain.
CfnPackageGroup.OriginConfigurationPropertyStruct
CfnPackageGroup.RestrictionsPropertyStruct
CfnPackageGroup.RestrictionTypePropertyStruct
CfnPackageGroupPropsStructProperties for defining a CfnPackageGroup.
CfnRepositoryPropsStructProperties for defining a CfnRepository.