Struct aws_sdk_cloudfront::types::ActiveTrustedSigners
source · #[non_exhaustive]pub struct ActiveTrustedSigners {
pub enabled: bool,
pub quantity: i32,
pub items: Option<Vec<Signer>>,
}
Expand description
A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: bool
This field is true
if any of the Amazon Web Services accounts in the list are configured as trusted signers. If not, this field is false
.
quantity: i32
The number of Amazon Web Services accounts in the list.
items: Option<Vec<Signer>>
A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
Implementations§
source§impl ActiveTrustedSigners
impl ActiveTrustedSigners
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
This field is true
if any of the Amazon Web Services accounts in the list are configured as trusted signers. If not, this field is false
.
sourcepub fn items(&self) -> &[Signer]
pub fn items(&self) -> &[Signer]
A list of Amazon Web Services accounts and the identifiers of active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .items.is_none()
.
source§impl ActiveTrustedSigners
impl ActiveTrustedSigners
sourcepub fn builder() -> ActiveTrustedSignersBuilder
pub fn builder() -> ActiveTrustedSignersBuilder
Creates a new builder-style object to manufacture ActiveTrustedSigners
.
Trait Implementations§
source§impl Clone for ActiveTrustedSigners
impl Clone for ActiveTrustedSigners
source§fn clone(&self) -> ActiveTrustedSigners
fn clone(&self) -> ActiveTrustedSigners
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActiveTrustedSigners
impl Debug for ActiveTrustedSigners
source§impl PartialEq for ActiveTrustedSigners
impl PartialEq for ActiveTrustedSigners
source§fn eq(&self, other: &ActiveTrustedSigners) -> bool
fn eq(&self, other: &ActiveTrustedSigners) -> bool
self
and other
values to be equal, and is used
by ==
.