Struct aws_sdk_cloudfront::model::TrafficConfig
source · #[non_exhaustive]pub struct TrafficConfig { /* private fields */ }
Expand description
The traffic configuration of your continuous deployment.
Implementations§
source§impl TrafficConfig
impl TrafficConfig
sourcepub fn single_weight_config(
&self
) -> Option<&ContinuousDeploymentSingleWeightConfig>
pub fn single_weight_config(
&self
) -> Option<&ContinuousDeploymentSingleWeightConfig>
Contains the percentage of traffic to send to the staging distribution.
sourcepub fn single_header_config(
&self
) -> Option<&ContinuousDeploymentSingleHeaderConfig>
pub fn single_header_config(
&self
) -> Option<&ContinuousDeploymentSingleHeaderConfig>
Determines which HTTP requests are sent to the staging distribution.
sourcepub fn type(&self) -> Option<&ContinuousDeploymentPolicyType>
pub fn type(&self) -> Option<&ContinuousDeploymentPolicyType>
The type of traffic configuration.
source§impl TrafficConfig
impl TrafficConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TrafficConfig
.
Trait Implementations§
source§impl Clone for TrafficConfig
impl Clone for TrafficConfig
source§fn clone(&self) -> TrafficConfig
fn clone(&self) -> TrafficConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TrafficConfig
impl Debug for TrafficConfig
source§impl PartialEq<TrafficConfig> for TrafficConfig
impl PartialEq<TrafficConfig> for TrafficConfig
source§fn eq(&self, other: &TrafficConfig) -> bool
fn eq(&self, other: &TrafficConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.