diff --git a/src/lib.rs b/src/lib.rs index 320b698..8b43f90 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -643,6 +643,10 @@ impl CloudfrontOrigin { pub const fn id(&self) -> &CloudfrontOriginId { &self.id } + + pub const fn domain(&self) -> &CloudfrontOriginDomain { + &self.domain + } } string_newtype!(CloudfrontOriginId); @@ -846,6 +850,14 @@ impl Route53Zone { name, } } + + pub const fn hosted_zone_id(&self) -> &HostedZoneId { + &self.hosted_zone_id + } + + pub fn name(&self) -> &str { + &self.name + } } impl From for Route53Zone {