Class TsSpekeEncryptionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediapackagev2.alpha.TsSpekeEncryptionProps.Jsii$Proxy
All Implemented Interfaces:
TsSpekeEncryptionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
TsSpekeEncryptionProps

@Stability(Experimental) @Internal public static final class TsSpekeEncryptionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TsSpekeEncryptionProps
An implementation for TsSpekeEncryptionProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(TsSpekeEncryptionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the TsSpekeEncryptionProps.Builder.
  • Method Details

    • getMethod

      public final TsEncryptionMethod getMethod()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) The encryption method to use.
      Specified by:
      getMethod in interface TsSpekeEncryptionProps
    • getResourceId

      public final String getResourceId()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) The unique identifier for the content.

      The service sends this identifier to the key server to identify the current endpoint. How unique you make this identifier depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes.

      Specified by:
      getResourceId in interface TsSpekeEncryptionProps
    • getRole

      public final IRole getRole()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) IAM role for accessing the key provider API.

      This role must have a trust policy that allows MediaPackage to assume the role, and it must have sufficient permissions to access the key retrieval URL.

      Specified by:
      getRole in interface TsSpekeEncryptionProps
    • getUrl

      public final String getUrl()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) URL of the SPEKE key provider.
      Specified by:
      getUrl in interface TsSpekeEncryptionProps
    • getAudioPreset

      public final PresetSpeke20Audio getAudioPreset()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) Audio encryption preset.

      Default: PresetSpeke20Audio.PRESET_AUDIO_1

      Specified by:
      getAudioPreset in interface TsSpekeEncryptionProps
    • getCertificate

      public final ICertificate getCertificate()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) The ARN of the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint.

      For this feature to work, your DRM key provider must support content key encryption.

      Default: - no content key encryption

      Specified by:
      getCertificate in interface TsSpekeEncryptionProps
    • getConstantInitializationVector

      public final String getConstantInitializationVector()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) Constant initialization vector (32-character hex string).

      A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content.

      Default: - MediaPackage generates the IV

      Specified by:
      getConstantInitializationVector in interface TsSpekeEncryptionProps
    • getDrmSystems

      public final List<TsDrmSystem> getDrmSystems()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) The DRM systems to use for content protection.

      Default: - FairPlay for SAMPLE_AES, Clear Key AES 128 for AES_128

      Specified by:
      getDrmSystems in interface TsSpekeEncryptionProps
    • getKeyRotationInterval

      public final Duration getKeyRotationInterval()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) Key rotation interval.

      Default: - no rotation

      Specified by:
      getKeyRotationInterval in interface TsSpekeEncryptionProps
    • getVideoPreset

      public final PresetSpeke20Video getVideoPreset()
      Description copied from interface: TsSpekeEncryptionProps
      (experimental) Video encryption preset.

      Default: PresetSpeke20Video.PRESET_VIDEO_1

      Specified by:
      getVideoPreset in interface TsSpekeEncryptionProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object