CodeDeploy

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

API Group: aws.konfig.io/v1alpha1

CodeDeployApplication # GA

CodeDeployApplication is the Schema for managing AWS CodeDeploy applications.

kubectl get codedeployapplications · example on GitHub

Example

# CodeDeployApplication — CodeDeploy
# 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/codedeploy.html#codedeployapplication
apiVersion: aws.konfig.io/v1alpha1
kind: CodeDeployApplication
metadata:
  name: example-codedeployapplication
  namespace: default
spec:
  applicationName: example-codedeployapplication
  computePlatform: Server
  providerRef:
    name: example-codedeployapplication
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
applicationNamestringyesApplicationName is the name of the application.
computePlatformenum—ComputePlatform is the destination platform (Server, Lambda, or ECS). Allowed: Server, Lambda, ECS
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 metadata tags for the application.

Status

FieldTypeRequiredDescription
applicationIDstring—ApplicationID is the CodeDeploy application ID.
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.

CodeDeployDeploymentConfig # CLOUD CONTROL · AWS::CodeDeploy::DeploymentConfig

CodeDeployDeploymentConfig manages AWS::CodeDeploy::DeploymentConfig through the AWS Cloud Control API.

kubectl get codedeploydeploymentconfigs · example on GitHub

Example

# CodeDeployDeploymentConfig — CodeDeploy
# 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/codedeploy.html#codedeploydeploymentconfig
apiVersion: aws.konfig.io/v1alpha1
kind: CodeDeployDeploymentConfig
metadata:
  name: example-codedeploydeploymentconfig
  namespace: default
spec:
  computePlatform: example
  deploymentConfigName: example-codedeploydeploymentconfig
  minimumHealthyHosts:
    type: example
    value: 1
  providerRef:
    name: example-codedeploydeploymentconfig
    region: us-east-1
  trafficRoutingConfig:
    timeBasedCanary:
      canaryInterval: 1
      canaryPercentage: 1
    timeBasedLinear:
      linearInterval: 1
      linearPercentage: 1
    type: example
  zonalConfig:
    firstZoneMonitorDurationInSeconds: 300
    minimumHealthyHostsPerZone:
      type: example
      value: 1
    monitorDurationInSeconds: 300

Spec

FieldTypeRequiredDescription
computePlatformstring—The destination platform type for the deployment (Lambda, Server, or ECS).
deploymentConfigNamestring—A name for the deployment configuration.
minimumHealthyHostsobject—The minimum number of healthy instances that should be available at any time during the deployment.
minimumHealthyHosts.typestringyes
minimumHealthyHosts.valueintegeryes
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.
trafficRoutingConfigobject—The configuration that specifies how the deployment traffic is routed.
trafficRoutingConfig.timeBasedCanaryobject—CodeDeployDeploymentConfigTimeBasedCanary is a nested property type of AWS::CodeDeploy::DeploymentConfig.
trafficRoutingConfig.timeBasedCanary.canaryIntervalintegeryes
trafficRoutingConfig.timeBasedCanary.canaryPercentageintegeryes
trafficRoutingConfig.timeBasedLinearobject—CodeDeployDeploymentConfigTimeBasedLinear is a nested property type of AWS::CodeDeploy::DeploymentConfig.
trafficRoutingConfig.timeBasedLinear.linearIntervalintegeryes
trafficRoutingConfig.timeBasedLinear.linearPercentageintegeryes
trafficRoutingConfig.typestringyes
zonalConfigobject—The zonal deployment config that specifies how the zonal deployment behaves Create-only in AWS: changing it requires replacing the resource.
zonalConfig.firstZoneMonitorDurationInSecondsinteger—
zonalConfig.minimumHealthyHostsPerZoneobject—CodeDeployDeploymentConfigMinimumHealthyHostsPerZone is a nested property type of AWS::CodeDeploy::DeploymentConfig.
zonalConfig.minimumHealthyHostsPerZone.typestringyes
zonalConfig.minimumHealthyHostsPerZone.valueintegeryes
zonalConfig.monitorDurationInSecondsinteger—

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.
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.

CodeDeployDeploymentGroup # GA

CodeDeployDeploymentGroup is the Schema for managing AWS CodeDeploy deployment groups.

kubectl get codedeploydeploymentgroups · example on GitHub

Example

# CodeDeployDeploymentGroup — CodeDeploy
# 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/codedeploy.html#codedeploydeploymentgroup
apiVersion: aws.konfig.io/v1alpha1
kind: CodeDeployDeploymentGroup
metadata:
  name: example-codedeploydeploymentgroup
  namespace: default
spec:
  applicationName: example-codedeploydeploymentgroup
  autoScalingGroups:
  - example
  deploymentConfigName: example-codedeploydeploymentgroup
  deploymentGroupName: example-codedeploydeploymentgroup
  providerRef:
    name: example-codedeploydeploymentgroup
    region: us-east-1
  serviceRoleARN: arn:aws:iam::123456789012:role/example-role
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
applicationNamestringyesApplicationName is the name of the CodeDeploy application.
autoScalingGroupsarray<string>—AutoScalingGroups is the list of Auto Scaling group names.
deploymentConfigNamestring—DeploymentConfigName is the deployment configuration name.
deploymentGroupNamestringyesDeploymentGroupName is the name of the deployment group.
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.
serviceRoleARNstringyesServiceRoleARN is the IAM role ARN that allows CodeDeploy to act on the user's behalf.
tagsmap<string>—Tags are metadata tags for the deployment group.

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.
deploymentGroupIDstring—DeploymentGroupID is the CodeDeploy deployment group ID.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.