Struct aws_sdk_mediapackage::model::SpekeKeyProvider
source · [−]#[non_exhaustive]pub struct SpekeKeyProvider { /* private fields */ }
Expand description
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
Implementations
sourceimpl SpekeKeyProvider
impl SpekeKeyProvider
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.
sourcepub fn encryption_contract_configuration(
&self
) -> Option<&EncryptionContractConfiguration>
pub fn encryption_contract_configuration(
&self
) -> Option<&EncryptionContractConfiguration>
Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The resource ID to include in key requests.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
sourcepub fn system_ids(&self) -> Option<&[String]>
pub fn system_ids(&self) -> Option<&[String]>
The system IDs to include in key requests.
sourceimpl SpekeKeyProvider
impl SpekeKeyProvider
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SpekeKeyProvider
.
Trait Implementations
sourceimpl Clone for SpekeKeyProvider
impl Clone for SpekeKeyProvider
sourcefn clone(&self) -> SpekeKeyProvider
fn clone(&self) -> SpekeKeyProvider
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SpekeKeyProvider
impl Debug for SpekeKeyProvider
sourceimpl PartialEq<SpekeKeyProvider> for SpekeKeyProvider
impl PartialEq<SpekeKeyProvider> for SpekeKeyProvider
sourcefn eq(&self, other: &SpekeKeyProvider) -> bool
fn eq(&self, other: &SpekeKeyProvider) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for SpekeKeyProvider
Auto Trait Implementations
impl RefUnwindSafe for SpekeKeyProvider
impl Send for SpekeKeyProvider
impl Sync for SpekeKeyProvider
impl Unpin for SpekeKeyProvider
impl UnwindSafe for SpekeKeyProvider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more