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

Class: Aws::ElasticTranscoder::Types::JobWatermark

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

Overview

Note:

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

{
  preset_watermark_id: "PresetWatermarkId",
  input_key: "WatermarkKey",
  encryption: {
    mode: "EncryptionMode",
    key: "Base64EncodedString",
    key_md_5: "Base64EncodedString",
    initialization_vector: "ZeroTo255String",
  },
}

Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.

Instance Attribute Summary collapse

Instance Attribute Details

#encryptionTypes::Encryption

The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.

Returns:

  • (Types::Encryption)

    The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.

#input_keyString

The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline; the Input Bucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn\'t in the specified bucket, Elastic Transcoder returns an error.

Returns:

  • (String)

    The name of the .png or .jpg file that you want to use for the watermark.

#preset_watermark_idString

The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

Returns:

  • (String)

    The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding.