CodeArtifact

3 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

CodeArtifactDomain # GA

CodeArtifactDomain is the Schema for managing CodeArtifact domains.

kubectl get codeartifactdomains · example on GitHub

Example

# CodeArtifactDomain — CodeArtifact
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/codeartifact.html#codeartifactdomain
apiVersion: aws.konfig.io/v1alpha1
kind: CodeArtifactDomain
metadata:
  name: example-codeartifactdomain
  namespace: default
spec:
  domainName: example-codeartifactdomain
  encryptionKeyRef:
    name: example-codeartifactdomain
  providerRef:
    name: example-codeartifactdomain
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
domainNamestringyesDomainName is the name of the CodeArtifact domain.
encryptionKeyRefobject—EncryptionKeyRef references the KMS key used to encrypt domain content, either a managed KMSKey CR (name) or a direct key ID/ARN (keyId).
encryptionKeyRef.keyIdstring—KeyID is a direct AWS KMS key ID or ARN.
encryptionKeyRef.namestring—Name of a KMSKey CR in the same namespace.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags to apply at creation time.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the domain.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
ownerstring—Owner is the AWS account ID that owns the domain.

CodeArtifactPackageGroup # CLOUD CONTROL · AWS::CodeArtifact::PackageGroup

CodeArtifactPackageGroup manages AWS::CodeArtifact::PackageGroup through the AWS Cloud Control API.

kubectl get codeartifactpackagegroups · example on GitHub

Example

# CodeArtifactPackageGroup — CodeArtifact
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/codeartifact.html#codeartifactpackagegroup
apiVersion: aws.konfig.io/v1alpha1
kind: CodeArtifactPackageGroup
metadata:
  name: example-codeartifactpackagegroup
  namespace: default
spec:
  contactInfo: example
  description: Managed by konfig-konector
  domainName: example-codeartifactpackagegroup
  domainOwner: example
  originConfiguration:
    restrictions:
      externalUpstream:
        repositories:
        - example
        restrictionMode: ALLOW
      internalUpstream:
        repositories:
        - example
        restrictionMode: ALLOW
      publish:
        repositories:
        - example
        restrictionMode: ALLOW
  pattern: example
  providerRef:
    name: example-codeartifactpackagegroup
    region: us-east-1
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
contactInfostring—The contact info of the package group.
descriptionstring—The text description of the package group.
domainNamestringyesThe name of the domain that contains the package group.
domainOwnerstring—The 12-digit account ID of the AWS account that owns the domain.
originConfigurationobject—The package origin configuration of the package group.
originConfiguration.restrictionsobjectyesThe origin configuration that is applied to the package group.
originConfiguration.restrictions.externalUpstreamobject—The external upstream restriction determines if new package versions can be ingested or retained from external connections.
originConfiguration.restrictions.externalUpstream.repositoriesarray<string>—
originConfiguration.restrictions.externalUpstream.restrictionModeenumyesAllowed: ALLOW, BLOCK, ALLOW_SPECIFIC_REPOSITORIES, INHERIT
originConfiguration.restrictions.internalUpstreamobject—The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
originConfiguration.restrictions.internalUpstream.repositoriesarray<string>—
originConfiguration.restrictions.internalUpstream.restrictionModeenumyesAllowed: ALLOW, BLOCK, ALLOW_SPECIFIC_REPOSITORIES, INHERIT
originConfiguration.restrictions.publishobject—The publish restriction determines if new package versions can be published.
originConfiguration.restrictions.publish.repositoriesarray<string>—
originConfiguration.restrictions.publish.restrictionModeenumyesAllowed: ALLOW, BLOCK, ALLOW_SPECIFIC_REPOSITORIES, INHERIT
patternstringyesThe package group pattern that is used to gather packages.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—An array of key-value pairs to apply to the package group.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
arnstring—The ARN of the package group.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

CodeArtifactRepository # GA

CodeArtifactRepository is the Schema for managing CodeArtifact repositories.

kubectl get codeartifactrepositories · example on GitHub

Example

# CodeArtifactRepository — CodeArtifact
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/codeartifact.html#codeartifactrepository
apiVersion: aws.konfig.io/v1alpha1
kind: CodeArtifactRepository
metadata:
  name: example-codeartifactrepository
  namespace: default
spec:
  description: Managed by konfig-konector
  domainRef:
    domainName: example-codeartifactrepository
    name: example-codeartifactrepository
  externalConnections:
  - example
  providerRef:
    name: example-codeartifactrepository
    region: us-east-1
  repositoryName: example-codeartifactrepository
  tags:
    environment: dev
    team: platform
  upstreams:
  - example

Spec

FieldTypeRequiredDescription
descriptionstring—Description is a text description of the repository.
domainRefobjectyesDomainRef references the CodeArtifact domain that contains the repository.
domainRef.domainNamestring—DomainName is a direct AWS CodeArtifact domain name, bypassing CR lookup.
domainRef.namestring—Name of a CodeArtifactDomain CR in the same namespace.
externalConnectionsarray<string>—ExternalConnections is a list of external connection names to associate, e.g.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
repositoryNamestringyesRepositoryName is the name of the repository.
tagsmap<string>—Tags are AWS resource tags to apply at creation time.
upstreamsarray<string>—Upstreams is an ordered list of upstream repository names in the same domain.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the repository.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
domainNamestring—DomainName is the resolved AWS domain name the repository was created in.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.