Class: Aws::ElasticTranscoder::Types::JobAlbumArt

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb

Overview

Note:

When making an API call, you may pass JobAlbumArt data as a hash:

{
  merge_policy: "MergePolicy",
  artwork: [
    {
      input_key: "WatermarkKey",
      max_width: "DigitsOrAuto",
      max_height: "DigitsOrAuto",
      sizing_policy: "SizingPolicy",
      padding_policy: "PaddingPolicy",
      album_art_format: "JpgOrPng",
      encryption: {
        mode: "EncryptionMode",
        key: "Base64EncodedString",
        key_md_5: "Base64EncodedString",
        initialization_vector: "ZeroTo255String",
      },
    },
  ],
}

The .jpg or .png file associated with an audio file.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#artworkArray<Types::Artwork>

The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

Returns:



2411
2412
2413
2414
2415
2416
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2411

class JobAlbumArt < Struct.new(
  :merge_policy,
  :artwork)
  SENSITIVE = []
  include Aws::Structure
end

#merge_policyString

A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

  • Replace: The specified album art replaces any existing album art.

  • Prepend: The specified album art is placed in front of any existing album art.

  • Append: The specified album art is placed after any existing album art.

  • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.

Returns:

  • (String)


2411
2412
2413
2414
2415
2416
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2411

class JobAlbumArt < Struct.new(
  :merge_policy,
  :artwork)
  SENSITIVE = []
  include Aws::Structure
end