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
| Field | Type | Required | Description |
|---|---|---|---|
applicationName | string | yes | ApplicationName is the name of the application. |
computePlatform | enum | — | ComputePlatform is the destination platform (Server, Lambda, or ECS). Allowed: Server, Lambda, ECS |
providerRef | object | — | ProviderRef selects the AWSProvider (account/region) this resource is reconciled against. |
providerRef.name | string | yes | Name of a cluster-scoped AWSProvider. |
providerRef.region | string | — | Region overrides the provider's region for this resource only. |
tags | map<string> | — | Tags are metadata tags for the application. |
Status
| Field | Type | Required | Description |
|---|---|---|---|
applicationID | string | — | ApplicationID is the CodeDeploy application ID. |
awsProvider | object | — | AWSProvider confirms the account and region this resource was reconciled against. |
awsProvider.accountId | string | — | AccountID the resource lives in. |
awsProvider.name | string | — | Name of the AWSProvider used; empty when the operator's own credentials were used. |
awsProvider.region | string | — | Region the resource lives in (empty for global services). |
conditions | array<object> | — | Conditions describe the current state of the resource. |
conditions[].lastTransitionTime | string | yes | lastTransitionTime is the last time the condition transitioned from one status to another. |
conditions[].message | string | yes | message is a human readable message indicating details about the transition. |
conditions[].observedGeneration | integer | — | observedGeneration represents the .metadata.generation that the condition was set based upon. |
conditions[].reason | string | yes | reason contains a programmatic identifier indicating the reason for the condition's last transition. |
conditions[].status | enum | yes | status of the condition, one of True, False, Unknown. Allowed: True, False, Unknown |
conditions[].type | string | yes | type of condition in CamelCase or in foo.example.com/CamelCase. |
lastSyncTime | string | — | LastSyncTime is when the resource was last successfully reconciled. |
observedGeneration | integer | — | 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
| Field | Type | Required | Description |
|---|---|---|---|
computePlatform | string | — | The destination platform type for the deployment (Lambda, Server, or ECS). |
deploymentConfigName | string | — | A name for the deployment configuration. |
minimumHealthyHosts | object | — | The minimum number of healthy instances that should be available at any time during the deployment. |
minimumHealthyHosts.type | string | yes | |
minimumHealthyHosts.value | integer | yes | |
providerRef | object | — | ProviderRef selects the AWSProvider (account/region) this resource is reconciled against. |
providerRef.name | string | yes | Name of a cluster-scoped AWSProvider. |
providerRef.region | string | — | Region overrides the provider's region for this resource only. |
trafficRoutingConfig | object | — | The configuration that specifies how the deployment traffic is routed. |
trafficRoutingConfig.timeBasedCanary | object | — | CodeDeployDeploymentConfigTimeBasedCanary is a nested property type of AWS::CodeDeploy::DeploymentConfig. |
trafficRoutingConfig.timeBasedCanary.canaryInterval | integer | yes | |
trafficRoutingConfig.timeBasedCanary.canaryPercentage | integer | yes | |
trafficRoutingConfig.timeBasedLinear | object | — | CodeDeployDeploymentConfigTimeBasedLinear is a nested property type of AWS::CodeDeploy::DeploymentConfig. |
trafficRoutingConfig.timeBasedLinear.linearInterval | integer | yes | |
trafficRoutingConfig.timeBasedLinear.linearPercentage | integer | yes | |
trafficRoutingConfig.type | string | yes | |
zonalConfig | object | — | The zonal deployment config that specifies how the zonal deployment behaves Create-only in AWS: changing it requires replacing the resource. |
zonalConfig.firstZoneMonitorDurationInSeconds | integer | — | |
zonalConfig.minimumHealthyHostsPerZone | object | — | CodeDeployDeploymentConfigMinimumHealthyHostsPerZone is a nested property type of AWS::CodeDeploy::DeploymentConfig. |
zonalConfig.minimumHealthyHostsPerZone.type | string | yes | |
zonalConfig.minimumHealthyHostsPerZone.value | integer | yes | |
zonalConfig.monitorDurationInSeconds | integer | — |
Status
| Field | Type | Required | Description |
|---|---|---|---|
attempt | integer | — | Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure. |
awsProvider | object | — | AWSProvider confirms the account and region this resource was reconciled against. |
awsProvider.accountId | string | — | AccountID the resource lives in. |
awsProvider.name | string | — | Name of the AWSProvider used; empty when the operator's own credentials were used. |
awsProvider.region | string | — | Region the resource lives in (empty for global services). |
conditions | array<object> | — | Conditions describe the current state of the resource. |
conditions[].lastTransitionTime | string | yes | lastTransitionTime is the last time the condition transitioned from one status to another. |
conditions[].message | string | yes | message is a human readable message indicating details about the transition. |
conditions[].observedGeneration | integer | — | observedGeneration represents the .metadata.generation that the condition was set based upon. |
conditions[].reason | string | yes | reason contains a programmatic identifier indicating the reason for the condition's last transition. |
conditions[].status | enum | yes | status of the condition, one of True, False, Unknown. Allowed: True, False, Unknown |
conditions[].type | string | yes | type of condition in CamelCase or in foo.example.com/CamelCase. |
identifier | string | — | Identifier is the Cloud Control primary identifier of the resource. |
lastSyncTime | string | — | |
observedGeneration | integer | — | |
operation | string | — | Operation is the in-flight operation (CREATE, UPDATE, DELETE). |
operationStatus | string | — | OperationStatus is the last reported operation status. |
requestToken | string | — | 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
| Field | Type | Required | Description |
|---|---|---|---|
applicationName | string | yes | ApplicationName is the name of the CodeDeploy application. |
autoScalingGroups | array<string> | — | AutoScalingGroups is the list of Auto Scaling group names. |
deploymentConfigName | string | — | DeploymentConfigName is the deployment configuration name. |
deploymentGroupName | string | yes | DeploymentGroupName is the name of the deployment group. |
providerRef | object | — | ProviderRef selects the AWSProvider (account/region) this resource is reconciled against. |
providerRef.name | string | yes | Name of a cluster-scoped AWSProvider. |
providerRef.region | string | — | Region overrides the provider's region for this resource only. |
serviceRoleARN | string | yes | ServiceRoleARN is the IAM role ARN that allows CodeDeploy to act on the user's behalf. |
tags | map<string> | — | Tags are metadata tags for the deployment group. |
Status
| Field | Type | Required | Description |
|---|---|---|---|
awsProvider | object | — | AWSProvider confirms the account and region this resource was reconciled against. |
awsProvider.accountId | string | — | AccountID the resource lives in. |
awsProvider.name | string | — | Name of the AWSProvider used; empty when the operator's own credentials were used. |
awsProvider.region | string | — | Region the resource lives in (empty for global services). |
conditions | array<object> | — | Conditions describe the current state of the resource. |
conditions[].lastTransitionTime | string | yes | lastTransitionTime is the last time the condition transitioned from one status to another. |
conditions[].message | string | yes | message is a human readable message indicating details about the transition. |
conditions[].observedGeneration | integer | — | observedGeneration represents the .metadata.generation that the condition was set based upon. |
conditions[].reason | string | yes | reason contains a programmatic identifier indicating the reason for the condition's last transition. |
conditions[].status | enum | yes | status of the condition, one of True, False, Unknown. Allowed: True, False, Unknown |
conditions[].type | string | yes | type of condition in CamelCase or in foo.example.com/CamelCase. |
deploymentGroupID | string | — | DeploymentGroupID is the CodeDeploy deployment group ID. |
lastSyncTime | string | — | LastSyncTime is when the resource was last successfully reconciled. |
observedGeneration | integer | — | ObservedGeneration is the most recent .metadata.generation reconciled. |