pub struct AWSLoadBalancerSpec {
pub name: Option<String>,
pub scheme: Option<ClassicELBScheme>,
pub cross_zone_load_balancing: Option<bool>,
pub subnets: Option<Vec<String>>,
pub additional_security_groups: Option<Vec<String>>,
}
Expand description
AWSLoadBalancerSpec defines the desired state of an AWS load balancer.
Fields§
§name: Option<String>
Name sets the name of the classic ELB load balancer. As per AWS, the name must be unique
within your set of load balancers for the region, must have a maximum of 32 characters, must
contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen. Once
set, the value cannot be changed.
+kubebuilder:validation:MaxLength:=32
+kubebuilder:validation:Pattern=^[A-Za-z0-9]([A-Za-z0-9]{0,31}|[-A-Za-z0-9]{0,30}[A-Za-z0-9])$
scheme: Option<ClassicELBScheme>
Scheme sets the scheme of the load balancer (defaults to internet-facing) +kubebuilder:default=internet-facing +kubebuilder:validation:Enum=internet-facing;internal
cross_zone_load_balancing: Option<bool>
CrossZoneLoadBalancing enables the classic ELB cross availability zone balancing.
With cross-zone load balancing, each load balancer node for your Classic Load Balancer distributes requests evenly across the registered instances in all enabled Availability Zones. If cross-zone load balancing is disabled, each load balancer node distributes requests evenly across the registered instances in its Availability Zone only.
Defaults to false.
subnets: Option<Vec<String>>
Subnets sets the subnets that should be applied to the control plane load balancer (defaults to discovered subnets for managed VPCs or an empty set for unmanaged VPCs)
additional_security_groups: Option<Vec<String>>
AdditionalSecurityGroups sets the security groups used by the load balancer. Expected to be security group IDs This is optional - if not provided new security groups will be created for the load balancer
Trait Implementations§
Source§impl Clone for AWSLoadBalancerSpec
impl Clone for AWSLoadBalancerSpec
Source§fn clone(&self) -> AWSLoadBalancerSpec
fn clone(&self) -> AWSLoadBalancerSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more