Struct aws_sdk_mediapackagevod::types::SpekeKeyProvider
source · #[non_exhaustive]pub struct SpekeKeyProvider {
pub encryption_contract_configuration: Option<EncryptionContractConfiguration>,
pub role_arn: Option<String>,
pub system_ids: Option<Vec<String>>,
pub url: Option<String>,
}
Expand description
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
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.encryption_contract_configuration: 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 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.
role_arn: Option<String>
An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
system_ids: Option<Vec<String>>
The system IDs to include in key requests.
url: Option<String>
The URL of the external key provider service.
Implementations§
source§impl SpekeKeyProvider
impl SpekeKeyProvider
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 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 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) -> &[String]
pub fn system_ids(&self) -> &[String]
The system IDs to include in key requests.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .system_ids.is_none()
.
source§impl SpekeKeyProvider
impl SpekeKeyProvider
sourcepub fn builder() -> SpekeKeyProviderBuilder
pub fn builder() -> SpekeKeyProviderBuilder
Creates a new builder-style object to manufacture SpekeKeyProvider
.
Trait Implementations§
source§impl Clone for SpekeKeyProvider
impl Clone for SpekeKeyProvider
source§fn clone(&self) -> SpekeKeyProvider
fn clone(&self) -> SpekeKeyProvider
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpekeKeyProvider
impl Debug for SpekeKeyProvider
source§impl PartialEq for SpekeKeyProvider
impl PartialEq for SpekeKeyProvider
source§fn eq(&self, other: &SpekeKeyProvider) -> bool
fn eq(&self, other: &SpekeKeyProvider) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SpekeKeyProvider
Auto Trait Implementations§
impl Freeze for SpekeKeyProvider
impl RefUnwindSafe for SpekeKeyProvider
impl Send for SpekeKeyProvider
impl Sync for SpekeKeyProvider
impl Unpin for SpekeKeyProvider
impl UnwindSafe for SpekeKeyProvider
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