#[non_exhaustive]pub struct ContinuousDeploymentPolicyConfig { /* private fields */ }
Expand description
Contains the configuration for a continuous deployment policy.
Implementations§
source§impl ContinuousDeploymentPolicyConfig
impl ContinuousDeploymentPolicyConfig
sourcepub fn staging_distribution_dns_names(
&self
) -> Option<&StagingDistributionDnsNames>
pub fn staging_distribution_dns_names(
&self
) -> Option<&StagingDistributionDnsNames>
The CloudFront domain name of the staging distribution. For example: d111111abcdef8.cloudfront.net
.
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is true
, this policy is enabled and in effect. When this value is false
, this policy is not enabled and has no effect.
sourcepub fn traffic_config(&self) -> Option<&TrafficConfig>
pub fn traffic_config(&self) -> Option<&TrafficConfig>
Contains the parameters for routing production traffic from your primary to staging distributions.
source§impl ContinuousDeploymentPolicyConfig
impl ContinuousDeploymentPolicyConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ContinuousDeploymentPolicyConfig
.
Trait Implementations§
source§impl Clone for ContinuousDeploymentPolicyConfig
impl Clone for ContinuousDeploymentPolicyConfig
source§fn clone(&self) -> ContinuousDeploymentPolicyConfig
fn clone(&self) -> ContinuousDeploymentPolicyConfig
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 PartialEq<ContinuousDeploymentPolicyConfig> for ContinuousDeploymentPolicyConfig
impl PartialEq<ContinuousDeploymentPolicyConfig> for ContinuousDeploymentPolicyConfig
source§fn eq(&self, other: &ContinuousDeploymentPolicyConfig) -> bool
fn eq(&self, other: &ContinuousDeploymentPolicyConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.