[−][src]Struct rusoto_cloudfront::TrustedSigners
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content.
If you want to require signed URLs in requests for objects in the target origin that match the PathPattern
for this cache behavior, specify true
for Enabled
, and specify the applicable values for Quantity
and Items
. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
If you don't want to require signed URLs in requests for objects that match PathPattern
, specify false
for Enabled
and 0
for Quantity
. Omit Items
.
To add, change, or remove one or more trusted signers, change Enabled
to true
(if it's currently false
), change Quantity
as applicable, and specify all of the trusted signers that you want to include in the updated distribution.
For more information about updating the distribution configuration, see DistributionConfig in the Amazon CloudFront API Reference.
Fields
enabled: bool
Specifies whether you want to require viewers to use signed URLs to access the files specified by PathPattern
and TargetOriginId
.
items: Option<Vec<String>>
Optional: A complex type that contains trusted signers for this cache behavior. If Quantity
is 0
, you can omit Items
.
quantity: i64
The number of trusted signers for this cache behavior.
Trait Implementations
impl Clone for TrustedSigners
[src]
pub fn clone(&self) -> TrustedSigners
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TrustedSigners
[src]
impl Default for TrustedSigners
[src]
pub fn default() -> TrustedSigners
[src]
impl PartialEq<TrustedSigners> for TrustedSigners
[src]
pub fn eq(&self, other: &TrustedSigners) -> bool
[src]
pub fn ne(&self, other: &TrustedSigners) -> bool
[src]
impl StructuralPartialEq for TrustedSigners
[src]
Auto Trait Implementations
impl RefUnwindSafe for TrustedSigners
[src]
impl Send for TrustedSigners
[src]
impl Sync for TrustedSigners
[src]
impl Unpin for TrustedSigners
[src]
impl UnwindSafe for TrustedSigners
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,