IsmSpekeEncryptionProps

class aws_cdk.aws_mediapackagev2_alpha.IsmSpekeEncryptionProps(*, resource_id, role, url, certificate=None, drm_systems=None)

Bases: object

(experimental) Properties for ISM SPEKE encryption configuration.

ISM only supports CENC encryption with PlayReady DRM. Key rotation and constant initialization vectors are not supported. Audio and video presets default to SHARED.

Parameters:
  • resource_id (str) – (experimental) The unique identifier for the content.

  • role (IRole) – (experimental) IAM role for accessing the key provider API.

  • url (str) – (experimental) URL of the SPEKE key provider.

  • certificate (Optional[ICertificate]) – (experimental) The ARN of the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint. Default: - no content key encryption

  • drm_systems (Optional[Sequence[IsmDrmSystem]]) – (experimental) The DRM systems to use for content protection. Default: - [IsmDrmSystem.PLAYREADY]

Stability:

experimental

ExampleMetadata:

infused

Example:

# channel: Channel
# speke_role: iam.IRole


OriginEndpoint(self, "IsmEndpoint",
    channel=channel,
    segment=Segment.ism(
        encryption=IsmEncryption.speke(
            resource_id="my-content-id",
            url="https://example.com/speke",
            role=speke_role
        )
    ),
    manifests=[Manifest.mss(manifest_name="index")]
)

Attributes

certificate

(experimental) The ARN of the certificate that you imported to AWS Certificate Manager to add content key encryption to this endpoint.

Default:
  • no content key encryption

Stability:

experimental

drm_systems

(experimental) The DRM systems to use for content protection.

Default:
  • [IsmDrmSystem.PLAYREADY]

Stability:

experimental

resource_id

(experimental) The unique identifier for the content.

Stability:

experimental

role

(experimental) IAM role for accessing the key provider API.

Stability:

experimental

url

(experimental) URL of the SPEKE key provider.

Stability:

experimental