Struct aws_sdk_cloudfront::types::ActiveTrustedKeyGroups
source · #[non_exhaustive]pub struct ActiveTrustedKeyGroups {
pub enabled: bool,
pub quantity: i32,
pub items: Option<Vec<KgKeyPairIds>>,
}
Expand description
A list of key groups, and the public keys in each key group, 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 key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false
.
quantity: i32
The number of key groups in the list.
items: Option<Vec<KgKeyPairIds>>
A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.
Implementations§
source§impl ActiveTrustedKeyGroups
impl ActiveTrustedKeyGroups
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
This field is true
if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false
.
sourcepub fn items(&self) -> &[KgKeyPairIds]
pub fn items(&self) -> &[KgKeyPairIds]
A list of key groups, including the identifiers of the public keys in each key group 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 ActiveTrustedKeyGroups
impl ActiveTrustedKeyGroups
sourcepub fn builder() -> ActiveTrustedKeyGroupsBuilder
pub fn builder() -> ActiveTrustedKeyGroupsBuilder
Creates a new builder-style object to manufacture ActiveTrustedKeyGroups
.
Trait Implementations§
source§impl Clone for ActiveTrustedKeyGroups
impl Clone for ActiveTrustedKeyGroups
source§fn clone(&self) -> ActiveTrustedKeyGroups
fn clone(&self) -> ActiveTrustedKeyGroups
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActiveTrustedKeyGroups
impl Debug for ActiveTrustedKeyGroups
source§impl PartialEq for ActiveTrustedKeyGroups
impl PartialEq for ActiveTrustedKeyGroups
source§fn eq(&self, other: &ActiveTrustedKeyGroups) -> bool
fn eq(&self, other: &ActiveTrustedKeyGroups) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActiveTrustedKeyGroups
Auto Trait Implementations§
impl Freeze for ActiveTrustedKeyGroups
impl RefUnwindSafe for ActiveTrustedKeyGroups
impl Send for ActiveTrustedKeyGroups
impl Sync for ActiveTrustedKeyGroups
impl Unpin for ActiveTrustedKeyGroups
impl UnwindSafe for ActiveTrustedKeyGroups
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more