CodePipeline

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

API Group: aws.konfig.io/v1alpha1

CodePipeline # GA

CodePipeline is the Schema for managing AWS CodePipeline pipelines.

kubectl get codepipelines · example on GitHub

Example

# CodePipeline — CodePipeline
# 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/codepipeline.html#codepipeline
apiVersion: aws.konfig.io/v1alpha1
kind: CodePipeline
metadata:
  name: example-codepipeline
  namespace: default
spec:
  artifactStore:
    location: example
    type: S3
  pipelineName: example-codepipeline
  providerRef:
    name: example-codepipeline
    region: us-east-1
  roleARN: arn:aws:iam::123456789012:role/example-role
  stages:
  - actions:
    - actionTypeID:
        category: example
        owner: example
        provider: example
        version: '1.0'
      inputArtifacts:
      - example
      name: example-codepipeline
      outputArtifacts:
      - example
      runOrder: 1
    name: example-codepipeline
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
artifactStoreobjectyesArtifactStore defines the artifact store.
artifactStore.locationstringyesLocation is the S3 bucket name.
artifactStore.typeenumyesType is the artifact store type (S3). Allowed: S3
pipelineNamestringyesPipelineName is the name of the pipeline.
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.
roleARNstringyesRoleARN is the IAM role ARN for CodePipeline.
stagesarray<object>yesStages is the ordered list of pipeline stages (minimum 2).
stages[].actionsarray<object>yesActions is the list of actions in this stage.
stages[].actions[].actionTypeIDobjectyesActionTypeID identifies the action type.
stages[].actions[].actionTypeID.categorystringyesCategory is the action category (Source, Build, Deploy, etc.).
stages[].actions[].actionTypeID.ownerstringyesOwner is the action owner (AWS, ThirdParty, or Custom).
stages[].actions[].actionTypeID.providerstringyesProvider is the action provider (e.g.
stages[].actions[].actionTypeID.versionstringyesVersion is the action version (typically "1").
stages[].actions[].configurationmap<string>—Configuration is the action configuration key/value pairs.
stages[].actions[].inputArtifactsarray<string>—InputArtifacts is the list of input artifact names.
stages[].actions[].namestringyesName is the action name.
stages[].actions[].outputArtifactsarray<string>—OutputArtifacts is the list of output artifact names.
stages[].actions[].runOrderinteger—RunOrder is the action run order within the stage.
stages[].namestringyesName is the stage name.
tagsmap<string>—Tags are metadata tags for the pipeline.

Status

FieldTypeRequiredDescription
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.
pipelineARNstring—PipelineARN is the ARN of the pipeline.

CodePipelineCustomActionType # CLOUD CONTROL · AWS::CodePipeline::CustomActionType

CodePipelineCustomActionType manages AWS::CodePipeline::CustomActionType through the AWS Cloud Control API.

kubectl get codepipelinecustomactiontypes · example on GitHub

Example

# CodePipelineCustomActionType — CodePipeline
# 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/codepipeline.html#codepipelinecustomactiontype
apiVersion: aws.konfig.io/v1alpha1
kind: CodePipelineCustomActionType
metadata:
  name: example-codepipelinecustomactiontype
  namespace: default
spec:
  category: example
  configurationProperties:
  - description: Managed by konfig-konector
    key: false
    name: example-codepipelinecustomactiontype
    queryable: false
    required: false
    secret: false
    type: example
  inputArtifactDetails:
    maximumCount: 2
    minimumCount: 2
  outputArtifactDetails:
    maximumCount: 2
    minimumCount: 2
  provider: example
  providerRef:
    name: example-codepipelinecustomactiontype
    region: us-east-1
  settings:
    entityUrlTemplate: example
    executionUrlTemplate: example
    revisionUrlTemplate: example
    thirdPartyConfigurationUrl: example
  tags:
  - key: example
    value: example
  version: '1.0'

Spec

FieldTypeRequiredDescription
categorystringyesThe category of the custom action, such as a build action or a test action.
configurationPropertiesarray<object>—The configuration properties for the custom action.
configurationProperties[].descriptionstring—The description of the action configuration property that is displayed to users.
configurationProperties[].keybooleanyesWhether the configuration property is a key.
configurationProperties[].namestringyesThe name of the action configuration property.
configurationProperties[].queryableboolean—Indicates that the property is used with PollForJobs.
configurationProperties[].requiredbooleanyesWhether the configuration property is a required value.
configurationProperties[].secretbooleanyesWhether the configuration property is secret.
configurationProperties[].typestring—The type of the configuration property.
inputArtifactDetailsobjectyesThe details of the input artifact for the action, such as its commit ID.
inputArtifactDetails.maximumCountintegeryesThe maximum number of artifacts allowed for the action type.
inputArtifactDetails.minimumCountintegeryesThe minimum number of artifacts allowed for the action type.
outputArtifactDetailsobjectyesThe details of the output artifact of the action, such as its commit ID.
outputArtifactDetails.maximumCountintegeryesThe maximum number of artifacts allowed for the action type.
outputArtifactDetails.minimumCountintegeryesThe minimum number of artifacts allowed for the action type.
providerstringyesThe provider of the service used in the custom action, such as AWS CodeDeploy.
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.
settingsobject—URLs that provide users information about this custom action.
settings.entityUrlTemplatestring—The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system, such as the configuration page for an AWS CodeDeploy deployment group.
settings.executionUrlTemplatestring—The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system, such as the console page for AWS CodeDeploy.
settings.revisionUrlTemplatestring—The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.
settings.thirdPartyConfigurationUrlstring—The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.
tagsarray<object>—Any tags assigned to the custom action.
tags[].keystringyes
tags[].valuestringyes
versionstringyesThe version identifier of the custom action.

Status

FieldTypeRequiredDescription
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.
idstring—Read-only: reported by AWS after creation.
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.

CodePipelineWebhook # CLOUD CONTROL · AWS::CodePipeline::Webhook

CodePipelineWebhook manages AWS::CodePipeline::Webhook through the AWS Cloud Control API.

kubectl get codepipelinewebhooks · example on GitHub

Example

# CodePipelineWebhook — CodePipeline
# 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/codepipeline.html#codepipelinewebhook
apiVersion: aws.konfig.io/v1alpha1
kind: CodePipelineWebhook
metadata:
  name: example-codepipelinewebhook
  namespace: default
spec:
  authentication: GITHUB_HMAC
  authenticationConfiguration:
    allowedIPRange: example
    secretToken: example
  filters:
  - jsonPath: example
    matchEquals: example
  name: example-codepipelinewebhook
  providerRef:
    name: example-codepipelinewebhook
    region: us-east-1
  registerWithThirdParty: false
  tags:
  - key: example
    value: example
  targetAction: example
  targetPipeline: example
  targetPipelineVersion: 1

Spec

FieldTypeRequiredDescription
authenticationenumyesSupported options are GITHUB_HMAC, IP, and UNAUTHENTICATED. Allowed: GITHUB_HMAC, IP, UNAUTHENTICATED
authenticationConfigurationobjectyesProperties that configure the authentication applied to incoming webhook trigger requests
authenticationConfiguration.allowedIPRangestring—The property used to configure acceptance of webhooks in an IP address range.
authenticationConfiguration.secretTokenstring—The property used to configure GitHub authentication.
filtersarray<object>yesA list of rules applied to the body/payload sent in the POST request to a webhook URL
filters[].jsonPathstringyesA JsonPath expression that is applied to the body/payload of the webhook.
filters[].matchEqualsstring—The value selected by the JsonPath expression must match what is supplied in the MatchEquals field.
namestring—The name of the webhook Create-only in AWS: changing it requires replacing the resource.
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.
registerWithThirdPartyboolean—Configures a connection between the webhook that was created and the external tool with events to be detected.
tagsarray<object>—An array of key-value pairs to apply to this resource.
tags[].keystringyes
tags[].valuestringyes
targetActionstringyesThe name of the action in a pipeline you want to connect to the webhook.
targetPipelinestringyesThe name of the pipeline you want to connect to the webhook.
targetPipelineVersioninteger—The version number of the pipeline to be connected to the trigger request.

Status

FieldTypeRequiredDescription
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.
idstring—logical id of the webhook Read-only: reported by AWS after creation.
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.
urlstring—The webhook URL generated by AWS CodePipeline Read-only: reported by AWS after creation.