alien-core 1.4.0

Deploy software into your customers' cloud accounts and keep it fully managed
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Load balancer endpoint types for DNS management.

use serde::{Deserialize, Serialize};

/// Load balancer endpoint information for DNS management.
/// This is optional metadata used by the DNS controller to create domain mappings.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
#[serde(rename_all = "camelCase")]
pub struct LoadBalancerEndpoint {
    /// The DNS name of the load balancer endpoint (e.g., ALB DNS, API Gateway domain).
    pub dns_name: String,
    /// AWS Route53 hosted zone ID (for ALIAS records). Only set on AWS.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub hosted_zone_id: Option<String>,
}