Struct k8s_cluster_api::v1beta1::infrastructure::aws::AWSLoadBalancerSpec[][src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more