CodeArtifact
Icon
About
Software packages (artifacts) depend on each other to be build (i.e., dependencies), and new ones are created.
This management of artifacts for storing are retrieving artifacts is called artifact management.
CodeArtifact
is a scalable, secure and cost-effective artifact management software for software development.It works like common dependency management software such as
Maven
,Gradle
,yarn
,npm
,twine
,pip
,NuGet
etc.Developers and
CodeBuild
can then retrieve dependencies straight fromCodeArtifact
.CodeArtifact
can act as a proxy to public artifact repositories likenpm
,maven central
etc. The artifacts pulled from public artifact repositories will be cached inCodeArtifact
.Developers can also publish their own artifacts into
CodeArtifact
.AWS KMS
orCustomer Managed Key
can be used to encrypt artifacts in a domain.
Terminology
Domain:
This is where artifact is stored in
CodeArtifact
.Each domain can have multiple repositories.
Domain and repositories should exist in same AWS region.
Integration
EventBridge
An event is emitted when a package version is modified, created or deleted.
This emitted event is then send to
EventBridge
.Once event is recieved at
EventBridge
it can be used to invoke aLambda
,Step Functions
,SNS
,SQS
,CodePipeline
.
Security
Resource Policy
When another account needs to access resource from
CodeArtifact
, then resource policy is needed.A given
Principal
can either read all of the package in a repository or none of them.
Last updated