Show / Hide Table of Contents

Class PresetThumbnailsArgs

Inheritance
System.Object
InputArgs
ResourceArgs
PresetThumbnailsArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ElasticTranscoder.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class PresetThumbnailsArgs : ResourceArgs

Constructors

View Source

PresetThumbnailsArgs()

Declaration
public PresetThumbnailsArgs()

Properties

View Source

AspectRatio

The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9

Declaration
public Input<string> AspectRatio { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Format

The format of thumbnails, if any. Valid formats are jpg and png.

Declaration
public Input<string> Format { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Interval

The approximate number of seconds between thumbnails. The value must be an integer. The actual interval can vary by several seconds from one thumbnail to the next.

Declaration
public Input<string> Interval { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MaxHeight

The maximum height of thumbnails, in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.

Declaration
public Input<string> MaxHeight { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MaxWidth

The maximum width of thumbnails, in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.

Declaration
public Input<string> MaxWidth { get; set; }
Property Value
Type Description
Input<System.String>
View Source

PaddingPolicy

When you set PaddingPolicy to Pad, Elastic Transcoder might add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Declaration
public Input<string> PaddingPolicy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Resolution

The width and height of thumbnail files in pixels, in the format WidthxHeight, where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object. (To better control resolution and aspect ratio of thumbnails, we recommend that you use the thumbnail values max_width, max_height, sizing_policy, and padding_policy instead of resolution and aspect_ratio. The two groups of settings are mutually exclusive. Do not use them together)

Declaration
public Input<string> Resolution { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SizingPolicy

A value that controls scaling of thumbnails. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, and ShrinkToFill.

Declaration
public Input<string> SizingPolicy { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.