You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaConnect::Types::Encryption

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Encryption as input to an Aws::Client method, you can use a vanilla Hash:

{
  algorithm: "aes128", # required, accepts aes128, aes192, aes256
  constant_initialization_vector: "__string",
  device_id: "__string",
  key_type: "speke", # accepts speke, static-key
  region: "__string",
  resource_id: "__string",
  role_arn: "__string", # required
  secret_arn: "__string",
  url: "__string",
}

Information about the encryption of the flow.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#algorithmString

The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

Possible values:

  • aes128
  • aes192
  • aes256

Returns:

  • (String)

    The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

#constant_initialization_vectorString

A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

Returns:

  • (String)

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

#device_idString

The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

Returns:

  • (String)

    The value of one of the devices that you configured with your digital rights management (DRM) platform key provider.

#key_typeString

The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

Possible values:

  • speke
  • static-key

Returns:

  • (String)

    The type of key that is used for the encryption.

#regionString

The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

Returns:

  • (String)

    The AWS Region that the API Gateway proxy endpoint was created in.

#resource_idString

An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

Returns:

  • (String)

    An identifier for the content.

#role_arnString

The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

Returns:

  • (String)

    The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

#secret_arnString

The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

Returns:

  • (String)

    The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.

#urlString

The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

Returns:

  • (String)

    The URL from the API Gateway proxy that you set up to talk to your key server.