Struct rusoto_cloudfront::TrustedSigners [−][src]
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 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 .
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 Default for TrustedSigners
[src]
impl Default for TrustedSigners
fn default() -> TrustedSigners
[src]
fn default() -> TrustedSigners
Returns the "default value" for a type. Read more
impl Debug for TrustedSigners
[src]
impl Debug for TrustedSigners
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for TrustedSigners
[src]
impl Clone for TrustedSigners
fn clone(&self) -> TrustedSigners
[src]
fn clone(&self) -> TrustedSigners
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for TrustedSigners
[src]
impl PartialEq for TrustedSigners
fn eq(&self, other: &TrustedSigners) -> bool
[src]
fn eq(&self, other: &TrustedSigners) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TrustedSigners) -> bool
[src]
fn ne(&self, other: &TrustedSigners) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for TrustedSigners
impl Send for TrustedSigners
impl Sync for TrustedSigners
impl Sync for TrustedSigners