Elastic Load Balancing

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

API Group: aws.konfig.io/v1alpha1

ELBLoadBalancer # CLOUD CONTROL · AWS::ElasticLoadBalancing::LoadBalancer

ELBLoadBalancer manages AWS::ElasticLoadBalancing::LoadBalancer through the AWS Cloud Control API.

kubectl get elbloadbalancers · example on GitHub

Example

# ELBLoadBalancer — Elastic Load Balancing
# 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/elbv2.html#elbloadbalancer
apiVersion: aws.konfig.io/v1alpha1
kind: ELBLoadBalancer
metadata:
  name: example-elbloadbalancer
  namespace: default
spec:
  accessLoggingPolicy:
    emitInterval: 1
    enabled: true
    s3BucketName: example-elbloadbalancer
    s3BucketPrefix: example
  appCookieStickinessPolicy:
  - cookieName: example-elbloadbalancer
    policyName: example-elbloadbalancer
  availabilityZones:
  - us-east-1a
  connectionDrainingPolicy:
    enabled: true
    timeout: 300
  connectionSettings:
    idleTimeout: 300
  crossZone: false
  healthCheck:
    healthyThreshold: example
    interval: example
    target: example
    timeout: '2026-01-01T00:00:00Z'
    unhealthyThreshold: example
  instances:
  - example
  lbCookieStickinessPolicy:
  - cookieExpirationPeriod: example
    policyName: example-elbloadbalancer
  listeners:
  - instancePort: example
    instanceProtocol: example
    loadBalancerPort: example
    policyNames:
    - example
    protocol: example
  loadBalancerName: example-elbloadbalancer
  policies:
  - attributes:
    - name: example-elbloadbalancer
      value: example
    instancePorts:
    - example
    loadBalancerPorts:
    - example
    policyName: example-elbloadbalancer
    policyType: example
  providerRef:
    name: example-elbloadbalancer
    region: us-east-1
  scheme: example
  securityGroups:
  - example
  subnets:
  - example
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
accessLoggingPolicyobject—Information about where and how access logs are stored for the load balancer.
accessLoggingPolicy.emitIntervalinteger—The interval for publishing the access logs.
accessLoggingPolicy.enabledbooleanyesSpecifies whether access logs are enabled for the load balancer.
accessLoggingPolicy.s3BucketNamestringyesThe name of the Amazon S3 bucket where the access logs are stored.
accessLoggingPolicy.s3BucketPrefixstring—The logical hierarchy you created for your Amazon S3 bucket, for example `my-bucket-prefix/prod`.
appCookieStickinessPolicyarray<object>—Information about a policy for application-controlled session stickiness.
appCookieStickinessPolicy[].cookieNamestringyesThe name of the application cookie used for stickiness.
appCookieStickinessPolicy[].policyNamestringyesThe mnemonic name for the policy being created.
availabilityZonesarray<string>—The Availability Zones for a load balancer in a default VPC.
connectionDrainingPolicyobject—If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.
connectionDrainingPolicy.enabledbooleanyesSpecifies whether connection draining is enabled for the load balancer.
connectionDrainingPolicy.timeoutinteger—The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
connectionSettingsobject—If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
connectionSettings.idleTimeoutintegeryesThe time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
crossZoneboolean—If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
healthCheckobject—The health check settings to use when evaluating the health of your EC2 instances.
healthCheck.healthyThresholdstringyesThe number of consecutive health checks successes required before moving the instance to the `Healthy` state.
healthCheck.intervalstringyesThe approximate interval, in seconds, between health checks of an individual instance.
healthCheck.targetstringyesThe instance being checked.
healthCheck.timeoutstringyesThe amount of time, in seconds, during which no response means a failed health check.
healthCheck.unhealthyThresholdstringyesThe number of consecutive health check failures required before moving the instance to the `Unhealthy` state.
instancesarray<string>—The IDs of the instances for the load balancer.
lbCookieStickinessPolicyarray<object>—Information about a policy for duration-based session stickiness.
lbCookieStickinessPolicy[].cookieExpirationPeriodstring—The time period, in seconds, after which the cookie should be considered stale.
lbCookieStickinessPolicy[].policyNamestring—The name of the policy.
listenersarray<object>yesThe Listeners for the load balancer.
listeners[].instancePortstringyesThe port on which the instance is listening.
listeners[].instanceProtocolstring—The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.
listeners[].loadBalancerPortstringyesThe port on which the load balancer is listening.
listeners[].policyNamesarray<string>—The names of the policies to associate with the listener.
listeners[].protocolstringyesThe load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.
listeners[].sslCertificateIdstring—The Amazon Resource Name (ARN) of the server certificate.
loadBalancerNamestring—The name of the load balancer.
policiesarray<object>—The policies defined for your Classic Load Balancer.
policies[].attributesarray<object>yesThe policy attributes.
policies[].attributes[].namestring—
policies[].attributes[].valuestring—
policies[].instancePortsarray<string>—The instance ports for the policy.
policies[].loadBalancerPortsarray<string>—The load balancer ports for the policy.
policies[].policyNamestringyesThe name of the policy.
policies[].policyTypestringyesThe name of the policy type.
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.
schemestring—The type of load balancer.
securityGroupsarray<string>—The security groups for the load balancer.
subnetsarray<string>—The IDs of the subnets for the load balancer.
tagsarray<object>—The tags associated with a load balancer.
tags[].keystringyes
tags[].valuestringyes

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).
canonicalHostedZoneNamestring—The name of the Route 53 hosted zone that is associated with the load balancer.
canonicalHostedZoneNameIDstring—The ID of the Route 53 hosted zone name that is associated with the load balancer.
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.
dnsNamestring—The DNS name for the load balancer 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.
sourceSecurityGroupobject—Read-only: reported by AWS after creation.
sourceSecurityGroup.groupNamestring—The name of the security group that you can use as part of your inbound rules for your load balancer's back-end instances.
sourceSecurityGroup.ownerAliasstring—The owner of the source security group.

ELBv2TrustStore # CLOUD CONTROL · AWS::ElasticLoadBalancingV2::TrustStore

ELBv2TrustStore manages AWS::ElasticLoadBalancingV2::TrustStore through the AWS Cloud Control API.

kubectl get elbv2truststores · example on GitHub

Example

# ELBv2TrustStore — Elastic Load Balancing
# 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/elbv2.html#elbv2truststore
apiVersion: aws.konfig.io/v1alpha1
kind: ELBv2TrustStore
metadata:
  name: example-elbv2truststore
  namespace: default
spec:
  caCertificatesBundleS3Bucket: example
  caCertificatesBundleS3Key: example
  caCertificatesBundleS3ObjectVersion: '1.0'
  name: example-elbv2truststore
  providerRef:
    name: example-elbv2truststore
    region: us-east-1
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
caCertificatesBundleS3Bucketstring—The name of the S3 bucket to fetch the CA certificate bundle from.
caCertificatesBundleS3Keystring—The name of the S3 object to fetch the CA certificate bundle from.
caCertificatesBundleS3ObjectVersionstring—The version of the S3 bucket that contains the CA certificate bundle.
namestring—The name of the trust store.
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>—The tags to assign to the trust store.
tags[].keystringyes
tags[].valuestringyes

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—
numberOfCaCertificatesinteger—The number of certificates associated with the trust store.
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.
statusstring—The status of the trust store, could be either of ACTIVE or CREATING.
trustStoreArnstring—The Amazon Resource Name (ARN) of the trust store.

ELBv2TrustStoreRevocation # CLOUD CONTROL · AWS::ElasticLoadBalancingV2::TrustStoreRevocation

ELBv2TrustStoreRevocation manages AWS::ElasticLoadBalancingV2::TrustStoreRevocation through the AWS Cloud Control API.

kubectl get elbv2truststorerevocations · example on GitHub

Example

# ELBv2TrustStoreRevocation — Elastic Load Balancing
# 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/elbv2.html#elbv2truststorerevocation
apiVersion: aws.konfig.io/v1alpha1
kind: ELBv2TrustStoreRevocation
metadata:
  name: example-elbv2truststorerevocation
  namespace: default
spec:
  providerRef:
    name: example-elbv2truststorerevocation
    region: us-east-1
  revocationContents:
  - revocationType: example
    s3Bucket: example
    s3Key: example
    s3ObjectVersion: '1.0'
  trustStoreArn: arn:aws:iam::123456789012:role/example-role

Spec

FieldTypeRequiredDescription
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.
revocationContentsarray<object>—The attributes required to create a trust store revocation.
revocationContents[].revocationTypestring—
revocationContents[].s3Bucketstring—
revocationContents[].s3Keystring—
revocationContents[].s3ObjectVersionstring—
trustStoreArnstring—The Amazon Resource Name (ARN) of the trust store.

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.
revocationIdinteger—The ID associated with the revocation.
trustStoreRevocationsarray<object>—The data associated with a trust store revocation Read-only: reported by AWS after creation.
trustStoreRevocations[].numberOfRevokedEntriesinteger—
trustStoreRevocations[].revocationIdstring—
trustStoreRevocations[].revocationTypestring—
trustStoreRevocations[].trustStoreArnstring—

Listener # GA

Listener is the Schema for managing ELBv2 Listeners.

kubectl get listeners · example on GitHub

Example

# Listener — Elastic Load Balancing
# 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/elbv2.html#listener
apiVersion: aws.konfig.io/v1alpha1
kind: Listener
metadata:
  name: example-listener
  namespace: default
spec:
  certificateArns:
  - example
  defaultActions:
  - fixedResponseConfig:
      contentType: example
      messageBody: example
      statusCode: example
    redirectConfig:
      host: example
      path: example
      port: example
      protocol: example
      statusCode: HTTP_301
    targetGroupRef:
      name: example-targetgroup
    type: forward
  loadBalancerRef:
    name: example-loadbalancer
  port: 1
  protocol: HTTP
  providerRef:
    name: example-listener
    region: us-east-1
  sslPolicy: example
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
certificateArnsarray<string>—CertificateARNs are the TLS certificate ARNs (for HTTPS/TLS).
defaultActionsarray<object>yesDefaultActions are the default actions for the listener.
defaultActions[].fixedResponseConfigobject—FixedResponseConfig configures a fixed response.
defaultActions[].fixedResponseConfig.contentTypestring—ContentType is the response content type.
defaultActions[].fixedResponseConfig.messageBodystring—MessageBody is the response body.
defaultActions[].fixedResponseConfig.statusCodestringyesStatusCode is the HTTP status code.
defaultActions[].redirectConfigobject—RedirectConfig configures a redirect action.
defaultActions[].redirectConfig.hoststring—Host is the redirect host.
defaultActions[].redirectConfig.pathstring—Path is the redirect path.
defaultActions[].redirectConfig.portstring—Port is the redirect port.
defaultActions[].redirectConfig.protocolstring—Protocol is the redirect protocol.
defaultActions[].redirectConfig.statusCodeenumyesStatusCode is the HTTP redirect code. Allowed: HTTP_301, HTTP_302
defaultActions[].targetGroupRefobject—TargetGroupRef is the target group for a forward action.
defaultActions[].targetGroupRef.arnstring—ARN is a direct AWS target group ARN.
defaultActions[].targetGroupRef.namestring—Name of a TargetGroup CR in the same namespace.
defaultActions[].typeenumyesType is the action type. Allowed: forward, redirect, fixed-response
loadBalancerRefobjectyesLoadBalancerRef references the load balancer.
loadBalancerRef.arnstring—ARN is a direct AWS load balancer ARN.
loadBalancerRef.namestring—Name of a LoadBalancer CR in the same namespace.
portintegeryesPort is the listener port.
protocolenumyesProtocol is the listener protocol. Allowed: HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
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.
sslPolicystring—SSLPolicy is the security policy for HTTPS/TLS.
tagsmap<string>—Tags are AWS resource tags to apply.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the listener.
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.

ListenerRule # GA

ListenerRule is the Schema for managing ELBv2 Listener Rules.

kubectl get listenerrules · example on GitHub

Example

# ListenerRule — Elastic Load Balancing
# 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/elbv2.html#listenerrule
apiVersion: aws.konfig.io/v1alpha1
kind: ListenerRule
metadata:
  name: example-listenerrule
  namespace: default
spec:
  actions:
  - fixedResponseConfig:
      contentType: example
      messageBody: example
      statusCode: example
    redirectConfig:
      host: example
      path: example
      port: example
      protocol: example
      statusCode: HTTP_301
    targetGroupRef:
      name: example-targetgroup
    type: forward
  conditions:
  - field: example
    values:
    - example
  listenerRef:
    name: example-listener
  priority: 1
  providerRef:
    name: example-listenerrule
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
actionsarray<object>yesActions are the rule actions (same structure as listener default actions).
actions[].fixedResponseConfigobject—FixedResponseConfig configures a fixed response.
actions[].fixedResponseConfig.contentTypestring—ContentType is the response content type.
actions[].fixedResponseConfig.messageBodystring—MessageBody is the response body.
actions[].fixedResponseConfig.statusCodestringyesStatusCode is the HTTP status code.
actions[].redirectConfigobject—RedirectConfig configures a redirect action.
actions[].redirectConfig.hoststring—Host is the redirect host.
actions[].redirectConfig.pathstring—Path is the redirect path.
actions[].redirectConfig.portstring—Port is the redirect port.
actions[].redirectConfig.protocolstring—Protocol is the redirect protocol.
actions[].redirectConfig.statusCodeenumyesStatusCode is the HTTP redirect code. Allowed: HTTP_301, HTTP_302
actions[].targetGroupRefobject—TargetGroupRef is the target group for a forward action.
actions[].targetGroupRef.arnstring—ARN is a direct AWS target group ARN.
actions[].targetGroupRef.namestring—Name of a TargetGroup CR in the same namespace.
actions[].typeenumyesType is the action type. Allowed: forward, redirect, fixed-response
conditionsarray<object>yesConditions are the rule conditions.
conditions[].fieldstringyesField is the condition field (e.g.
conditions[].valuesarray<string>—Values are the values to match.
listenerRefobjectyesListenerRef references the Listener.
listenerRef.arnstring—ARN is a direct AWS listener ARN.
listenerRef.namestring—Name of a Listener CR in the same namespace.
priorityintegeryesPriority is the rule priority (1-50000).
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.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the listener rule.
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.

LoadBalancer # GA

LoadBalancer is the Schema for managing ELBv2 Load Balancers.

kubectl get loadbalancers · example on GitHub

Example

# LoadBalancer — Elastic Load Balancing
# 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/elbv2.html#loadbalancer
apiVersion: aws.konfig.io/v1alpha1
kind: LoadBalancer
metadata:
  name: example-loadbalancer
  namespace: default
spec:
  deletionProtection: true
  idleTimeout: 300
  name: example-loadbalancer
  providerRef:
    name: example-loadbalancer
    region: us-east-1
  scheme: internet-facing
  securityGroupRefs:
  - name: example-securitygrouprefs
  subnetRefs:
  - name: example-subnetrefs
  - name: example-subnetrefs
  tags:
    environment: dev
    team: platform
  type: application

Spec

FieldTypeRequiredDescription
deletionProtectionboolean—DeletionProtection prevents accidental deletion.
idleTimeoutinteger—IdleTimeout is the idle timeout in seconds for ALBs.
namestringyesName is the name of the load balancer.
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.
schemeenum—Scheme determines if the load balancer is internet-facing or internal. Allowed: internet-facing, internal
securityGroupRefsarray<object>—SecurityGroupRefs are the security groups to attach (ALB only).
securityGroupRefs[].idstring—ID is a direct AWS Security Group ID (e.g.
securityGroupRefs[].namestring—Name of a SecurityGroup CR in the same namespace.
subnetRefsarray<object>yesSubnetRefs are the subnets in which to place the load balancer.
subnetRefs[].idstring—ID is a direct AWS Subnet ID (e.g.
subnetRefs[].namestring—Name of a Subnet CR in the same namespace.
tagsmap<string>—Tags are AWS resource tags to apply.
typeenumyesType is the load balancer type. Allowed: application, network, gateway

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the load balancer.
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.
dnsNamestring—DNSName is the DNS name of the load balancer.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
statestring—State is the current state of the load balancer.

TargetGroup # GA

TargetGroup is the Schema for managing ELBv2 Target Groups.

kubectl get targetgroups · example on GitHub

Example

# TargetGroup — Elastic Load Balancing
# 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/elbv2.html#targetgroup
apiVersion: aws.konfig.io/v1alpha1
kind: TargetGroup
metadata:
  name: example-targetgroup
  namespace: default
spec:
  healthCheck:
    healthyThreshold: 2
    intervalSeconds: 5
    path: example
    port: example
    protocol: HTTP
    unhealthyThreshold: 2
  name: example-targetgroup
  port: 1
  protocol: HTTP
  providerRef:
    name: example-targetgroup
    region: us-east-1
  tags:
    environment: dev
    team: platform
  targetType: instance
  vpcRef:
    name: example-vpc

Spec

FieldTypeRequiredDescription
healthCheckobject—HealthCheck defines the health check configuration.
healthCheck.healthyThresholdinteger—HealthyThreshold is the number of consecutive successes.
healthCheck.intervalSecondsinteger—IntervalSeconds is the health check interval.
healthCheck.pathstring—Path is the health check path (for HTTP/HTTPS).
healthCheck.portstring—Port is the health check port (default "traffic-port").
healthCheck.protocolenum—Protocol is the health check protocol. Allowed: HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
healthCheck.unhealthyThresholdinteger—UnhealthyThreshold is the number of consecutive failures.
namestringyesName is the name of the target group.
portintegeryesPort is the port on which targets receive traffic.
protocolenumyesProtocol is the routing protocol. Allowed: HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
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.
targetTypeenum—TargetType is the target type. Allowed: instance, ip, lambda, alb
vpcRefobject—VPCRef is required for instance, ip, or alb target types.
vpcRef.idstring—ID is a direct AWS VPC ID (e.g.
vpcRef.namestring—Name of a VPC CR in the same namespace.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the target group.
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.