pub struct CloudFrontConfig {
pub skip_signature_validation: bool,
pub default_region: String,
pub account_id: String,
pub domain_suffix: String,
pub distribution_propagation: Duration,
pub invalidation_propagation: Duration,
pub deterministic_ids: bool,
}Expand description
Config for the CloudFront management plane.
Fields§
§skip_signature_validation: boolWhether to skip SigV4 signature validation on incoming requests.
default_region: StringRegion to report in ARNs (CloudFront is global but the SDK still signs with a region — we accept any).
account_id: String12-digit account ID used in ARNs.
domain_suffix: StringHost suffix emitted in distribution DomainName fields.
Defaults to cloudfront.net. Override with CLOUDFRONT_DOMAIN_SUFFIX.
distribution_propagation: DurationSimulated propagation delay for CreateDistribution / UpdateDistribution
(InProgress → Deployed).
invalidation_propagation: DurationSimulated propagation delay for invalidations (InProgress → Completed).
deterministic_ids: boolWhether resource IDs are derived from a hash of their input rather than random. Useful for snapshot tests.
Implementations§
Trait Implementations§
Source§impl Clone for CloudFrontConfig
impl Clone for CloudFrontConfig
Source§fn clone(&self) -> CloudFrontConfig
fn clone(&self) -> CloudFrontConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloudFrontConfig
impl Debug for CloudFrontConfig
Auto Trait Implementations§
impl Freeze for CloudFrontConfig
impl RefUnwindSafe for CloudFrontConfig
impl Send for CloudFrontConfig
impl Sync for CloudFrontConfig
impl Unpin for CloudFrontConfig
impl UnsafeUnpin for CloudFrontConfig
impl UnwindSafe for CloudFrontConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more