Preset

Provides an Elastic Transcoder preset resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var bar = new Aws.ElasticTranscoder.Preset("bar", new Aws.ElasticTranscoder.PresetArgs
        {
            Audio = new Aws.ElasticTranscoder.Inputs.PresetAudioArgs
            {
                AudioPackingMode = "SingleTrack",
                BitRate = "96",
                Channels = "2",
                Codec = "AAC",
                SampleRate = "44100",
            },
            AudioCodecOptions = new Aws.ElasticTranscoder.Inputs.PresetAudioCodecOptionsArgs
            {
                Profile = "AAC-LC",
            },
            Container = "mp4",
            Description = "Sample Preset",
            Thumbnails = new Aws.ElasticTranscoder.Inputs.PresetThumbnailsArgs
            {
                Format = "png",
                Interval = "120",
                MaxHeight = "auto",
                MaxWidth = "auto",
                PaddingPolicy = "Pad",
                SizingPolicy = "Fit",
            },
            Video = new Aws.ElasticTranscoder.Inputs.PresetVideoArgs
            {
                BitRate = "1600",
                Codec = "H.264",
                DisplayAspectRatio = "16:9",
                FixedGop = "false",
                FrameRate = "auto",
                KeyframesMaxDist = "240",
                MaxFrameRate = "60",
                MaxHeight = "auto",
                MaxWidth = "auto",
                PaddingPolicy = "Pad",
                SizingPolicy = "Fit",
            },
            VideoCodecOptions = 
            {
                { "ColorSpaceConversionMode", "None" },
                { "InterlacedMode", "Progressive" },
                { "Level", "2.2" },
                { "MaxReferenceFrames", "3" },
                { "Profile", "main" },
            },
            VideoWatermarks = 
            {
                new Aws.ElasticTranscoder.Inputs.PresetVideoWatermarkArgs
                {
                    HorizontalAlign = "Right",
                    HorizontalOffset = "10px",
                    Id = "Test",
                    MaxHeight = "20%",
                    MaxWidth = "20%",
                    Opacity = "55.5",
                    SizingPolicy = "ShrinkToFit",
                    Target = "Content",
                    VerticalAlign = "Bottom",
                    VerticalOffset = "10px",
                },
            },
        });
    }

}
package main

import (
    "fmt"

    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/elastictranscoder"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := elastictranscoder.NewPreset(ctx, "bar", &elastictranscoder.PresetArgs{
            Audio: &elastictranscoder.PresetAudioArgs{
                AudioPackingMode: pulumi.String("SingleTrack"),
                BitRate:          pulumi.String("96"),
                Channels:         pulumi.String("2"),
                Codec:            pulumi.String("AAC"),
                SampleRate:       pulumi.String("44100"),
            },
            AudioCodecOptions: &elastictranscoder.PresetAudioCodecOptionsArgs{
                Profile: pulumi.String("AAC-LC"),
            },
            Container:   pulumi.String("mp4"),
            Description: pulumi.String("Sample Preset"),
            Thumbnails: &elastictranscoder.PresetThumbnailsArgs{
                Format:        pulumi.String("png"),
                Interval:      pulumi.String("120"),
                MaxHeight:     pulumi.String("auto"),
                MaxWidth:      pulumi.String("auto"),
                PaddingPolicy: pulumi.String("Pad"),
                SizingPolicy:  pulumi.String("Fit"),
            },
            Video: &elastictranscoder.PresetVideoArgs{
                BitRate:            pulumi.String("1600"),
                Codec:              pulumi.String("H.264"),
                DisplayAspectRatio: pulumi.String("16:9"),
                FixedGop:           pulumi.String("false"),
                FrameRate:          pulumi.String("auto"),
                KeyframesMaxDist:   pulumi.String("240"),
                MaxFrameRate:       pulumi.String("60"),
                MaxHeight:          pulumi.String("auto"),
                MaxWidth:           pulumi.String("auto"),
                PaddingPolicy:      pulumi.String("Pad"),
                SizingPolicy:       pulumi.String("Fit"),
            },
            VideoCodecOptions: pulumi.StringMap{
                "ColorSpaceConversionMode": pulumi.String("None"),
                "InterlacedMode":           pulumi.String("Progressive"),
                "Level":                    pulumi.String("2.2"),
                "MaxReferenceFrames":       pulumi.String("3"),
                "Profile":                  pulumi.String("main"),
            },
            VideoWatermarks: elastictranscoder.PresetVideoWatermarkArray{
                &elastictranscoder.PresetVideoWatermarkArgs{
                    HorizontalAlign:  pulumi.String("Right"),
                    HorizontalOffset: pulumi.String("10px"),
                    Id:               pulumi.String("Test"),
                    MaxHeight:        pulumi.String(fmt.Sprintf("%v%v", "20", "%")),
                    MaxWidth:         pulumi.String(fmt.Sprintf("%v%v", "20", "%")),
                    Opacity:          pulumi.String("55.5"),
                    SizingPolicy:     pulumi.String("ShrinkToFit"),
                    Target:           pulumi.String("Content"),
                    VerticalAlign:    pulumi.String("Bottom"),
                    VerticalOffset:   pulumi.String("10px"),
                },
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

bar = aws.elastictranscoder.Preset("bar",
    audio={
        "audioPackingMode": "SingleTrack",
        "bitRate": 96,
        "channels": 2,
        "codec": "AAC",
        "sampleRate": 44100,
    },
    audio_codec_options={
        "profile": "AAC-LC",
    },
    container="mp4",
    description="Sample Preset",
    thumbnails={
        "format": "png",
        "interval": 120,
        "maxHeight": "auto",
        "maxWidth": "auto",
        "paddingPolicy": "Pad",
        "sizingPolicy": "Fit",
    },
    video={
        "bitRate": "1600",
        "codec": "H.264",
        "displayAspectRatio": "16:9",
        "fixedGop": "false",
        "frameRate": "auto",
        "keyframesMaxDist": 240,
        "maxFrameRate": "60",
        "maxHeight": "auto",
        "maxWidth": "auto",
        "paddingPolicy": "Pad",
        "sizingPolicy": "Fit",
    },
    video_codec_options={
        "ColorSpaceConversionMode": "None",
        "InterlacedMode": "Progressive",
        "Level": "2.2",
        "MaxReferenceFrames": 3,
        "Profile": "main",
    },
    video_watermarks=[{
        "horizontalAlign": "Right",
        "horizontalOffset": "10px",
        "id": "Test",
        "maxHeight": "20%",
        "maxWidth": "20%",
        "opacity": "55.5",
        "sizingPolicy": "ShrinkToFit",
        "target": "Content",
        "verticalAlign": "Bottom",
        "verticalOffset": "10px",
    }])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const bar = new aws.elastictranscoder.Preset("bar", {
    audio: {
        audioPackingMode: "SingleTrack",
        bitRate: "96",
        channels: "2",
        codec: "AAC",
        sampleRate: "44100",
    },
    audioCodecOptions: {
        profile: "AAC-LC",
    },
    container: "mp4",
    description: "Sample Preset",
    thumbnails: {
        format: "png",
        interval: "120",
        maxHeight: "auto",
        maxWidth: "auto",
        paddingPolicy: "Pad",
        sizingPolicy: "Fit",
    },
    video: {
        bitRate: "1600",
        codec: "H.264",
        displayAspectRatio: "16:9",
        fixedGop: "false",
        frameRate: "auto",
        keyframesMaxDist: "240",
        maxFrameRate: "60",
        maxHeight: "auto",
        maxWidth: "auto",
        paddingPolicy: "Pad",
        sizingPolicy: "Fit",
    },
    videoCodecOptions: {
        ColorSpaceConversionMode: "None",
        InterlacedMode: "Progressive",
        Level: "2.2",
        MaxReferenceFrames: 3,
        Profile: "main",
    },
    videoWatermarks: [{
        horizontalAlign: "Right",
        horizontalOffset: "10px",
        id: "Test",
        maxHeight: "20%",
        maxWidth: "20%",
        opacity: "55.5",
        sizingPolicy: "ShrinkToFit",
        target: "Content",
        verticalAlign: "Bottom",
        verticalOffset: "10px",
    }],
});

Create a Preset Resource

new Preset(name: string, args: PresetArgs, opts?: CustomResourceOptions);
def Preset(resource_name, opts=None, audio=None, audio_codec_options=None, container=None, description=None, name=None, thumbnails=None, type=None, video=None, video_codec_options=None, video_watermarks=None, __props__=None);
func NewPreset(ctx *Context, name string, args PresetArgs, opts ...ResourceOption) (*Preset, error)
public Preset(string name, PresetArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PresetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PresetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PresetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Preset Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Preset resource accepts the following input properties:

Container string

The container type for the output file. Valid values are flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

Audio PresetAudioArgs

Audio parameters object (documented below).

AudioCodecOptions PresetAudioCodecOptionsArgs

Codec options for the audio parameters (documented below)

Description string

A description of the preset (maximum 255 characters)

Name string

The name of the preset. (maximum 40 characters)

Thumbnails PresetThumbnailsArgs

Thumbnail parameters object (documented below)

Type string
Video PresetVideoArgs

Video parameters object (documented below)

VideoCodecOptions Dictionary<string, string>

Codec options for the video parameters

VideoWatermarks List<PresetVideoWatermarkArgs>

Watermark parameters for the video parameters (documented below)

Container string

The container type for the output file. Valid values are flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

Audio PresetAudio

Audio parameters object (documented below).

AudioCodecOptions PresetAudioCodecOptions

Codec options for the audio parameters (documented below)

Description string

A description of the preset (maximum 255 characters)

Name string

The name of the preset. (maximum 40 characters)

Thumbnails PresetThumbnails

Thumbnail parameters object (documented below)

Type string
Video PresetVideo

Video parameters object (documented below)

VideoCodecOptions map[string]string

Codec options for the video parameters

VideoWatermarks []PresetVideoWatermark

Watermark parameters for the video parameters (documented below)

container string

The container type for the output file. Valid values are flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

audio PresetAudio

Audio parameters object (documented below).

audioCodecOptions PresetAudioCodecOptions

Codec options for the audio parameters (documented below)

description string

A description of the preset (maximum 255 characters)

name string

The name of the preset. (maximum 40 characters)

thumbnails PresetThumbnails

Thumbnail parameters object (documented below)

type string
video PresetVideo

Video parameters object (documented below)

videoCodecOptions {[key: string]: string}

Codec options for the video parameters

videoWatermarks PresetVideoWatermark[]

Watermark parameters for the video parameters (documented below)

container str

The container type for the output file. Valid values are flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

audio Dict[PresetAudio]

Audio parameters object (documented below).

audio_codec_options Dict[PresetAudioCodecOptions]

Codec options for the audio parameters (documented below)

description str

A description of the preset (maximum 255 characters)

name str

The name of the preset. (maximum 40 characters)

thumbnails Dict[PresetThumbnails]

Thumbnail parameters object (documented below)

type str
video Dict[PresetVideo]

Video parameters object (documented below)

video_codec_options Dict[str, str]

Codec options for the video parameters

video_watermarks List[PresetVideoWatermark]

Watermark parameters for the video parameters (documented below)

Outputs

All input properties are implicitly available as output properties. Additionally, the Preset resource produces the following output properties:

Arn string
Id string
The provider-assigned unique ID for this managed resource.
Arn string
Id string
The provider-assigned unique ID for this managed resource.
arn string
id string
The provider-assigned unique ID for this managed resource.
arn str
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Preset Resource

Get an existing Preset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PresetState, opts?: CustomResourceOptions): Preset
static get(resource_name, id, opts=None, arn=None, audio=None, audio_codec_options=None, container=None, description=None, name=None, thumbnails=None, type=None, video=None, video_codec_options=None, video_watermarks=None, __props__=None);
func GetPreset(ctx *Context, name string, id IDInput, state *PresetState, opts ...ResourceOption) (*Preset, error)
public static Preset Get(string name, Input<string> id, PresetState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string
Audio PresetAudioArgs

Audio parameters object (documented below).

AudioCodecOptions PresetAudioCodecOptionsArgs

Codec options for the audio parameters (documented below)

Container string

The container type for the output file. Valid values are flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

Description string

A description of the preset (maximum 255 characters)

Name string

The name of the preset. (maximum 40 characters)

Thumbnails PresetThumbnailsArgs

Thumbnail parameters object (documented below)

Type string
Video PresetVideoArgs

Video parameters object (documented below)

VideoCodecOptions Dictionary<string, string>

Codec options for the video parameters

VideoWatermarks List<PresetVideoWatermarkArgs>

Watermark parameters for the video parameters (documented below)

Arn string
Audio PresetAudio

Audio parameters object (documented below).

AudioCodecOptions PresetAudioCodecOptions

Codec options for the audio parameters (documented below)

Container string

The container type for the output file. Valid values are flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

Description string

A description of the preset (maximum 255 characters)

Name string

The name of the preset. (maximum 40 characters)

Thumbnails PresetThumbnails

Thumbnail parameters object (documented below)

Type string
Video PresetVideo

Video parameters object (documented below)

VideoCodecOptions map[string]string

Codec options for the video parameters

VideoWatermarks []PresetVideoWatermark

Watermark parameters for the video parameters (documented below)

arn string
audio PresetAudio

Audio parameters object (documented below).

audioCodecOptions PresetAudioCodecOptions

Codec options for the audio parameters (documented below)

container string

The container type for the output file. Valid values are flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

description string

A description of the preset (maximum 255 characters)

name string

The name of the preset. (maximum 40 characters)

thumbnails PresetThumbnails

Thumbnail parameters object (documented below)

type string
video PresetVideo

Video parameters object (documented below)

videoCodecOptions {[key: string]: string}

Codec options for the video parameters

videoWatermarks PresetVideoWatermark[]

Watermark parameters for the video parameters (documented below)

arn str
audio Dict[PresetAudio]

Audio parameters object (documented below).

audio_codec_options Dict[PresetAudioCodecOptions]

Codec options for the audio parameters (documented below)

container str

The container type for the output file. Valid values are flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

description str

A description of the preset (maximum 255 characters)

name str

The name of the preset. (maximum 40 characters)

thumbnails Dict[PresetThumbnails]

Thumbnail parameters object (documented below)

type str
video Dict[PresetVideo]

Video parameters object (documented below)

video_codec_options Dict[str, str]

Codec options for the video parameters

video_watermarks List[PresetVideoWatermark]

Watermark parameters for the video parameters (documented below)

Supporting Types

PresetAudio

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AudioPackingMode string

The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.

BitRate string

The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.

Channels string

The number of audio channels in the output file

Codec string

The audio codec for the output file. Valid values are AAC, flac, mp2, mp3, pcm, and vorbis.

SampleRate string

The sample rate of the audio stream in the output file, in hertz. Valid values are: auto, 22050, 32000, 44100, 48000, 96000

AudioPackingMode string

The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.

BitRate string

The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.

Channels string

The number of audio channels in the output file

Codec string

The audio codec for the output file. Valid values are AAC, flac, mp2, mp3, pcm, and vorbis.

SampleRate string

The sample rate of the audio stream in the output file, in hertz. Valid values are: auto, 22050, 32000, 44100, 48000, 96000

audioPackingMode string

The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.

bitRate string

The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.

channels string

The number of audio channels in the output file

codec string

The audio codec for the output file. Valid values are AAC, flac, mp2, mp3, pcm, and vorbis.

sampleRate string

The sample rate of the audio stream in the output file, in hertz. Valid values are: auto, 22050, 32000, 44100, 48000, 96000

audioPackingMode str

The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.

bitRate str

The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.

channels str

The number of audio channels in the output file

codec str

The audio codec for the output file. Valid values are AAC, flac, mp2, mp3, pcm, and vorbis.

sampleRate str

The sample rate of the audio stream in the output file, in hertz. Valid values are: auto, 22050, 32000, 44100, 48000, 96000

PresetAudioCodecOptions

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

BitDepth string

The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are 16 and 24. (FLAC/PCM Only)

BitOrder string

The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)

Profile string

If you specified AAC for Audio:Codec, choose the AAC profile for the output file.

Signed string

Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)

BitDepth string

The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are 16 and 24. (FLAC/PCM Only)

BitOrder string

The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)

Profile string

If you specified AAC for Audio:Codec, choose the AAC profile for the output file.

Signed string

Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)

bitDepth string

The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are 16 and 24. (FLAC/PCM Only)

bitOrder string

The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)

profile string

If you specified AAC for Audio:Codec, choose the AAC profile for the output file.

signed string

Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)

bitDepth str

The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are 16 and 24. (FLAC/PCM Only)

bitOrder str

The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)

profile str

If you specified AAC for Audio:Codec, choose the AAC profile for the output file.

signed str

Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)

PresetThumbnails

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AspectRatio string

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

Format string

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

Interval string

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.

MaxHeight string

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.

MaxWidth string

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.

PaddingPolicy string

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.

Resolution string

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)

SizingPolicy string

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

AspectRatio string

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

Format string

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

Interval string

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.

MaxHeight string

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.

MaxWidth string

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.

PaddingPolicy string

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.

Resolution string

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)

SizingPolicy string

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

aspectRatio string

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

format string

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

interval string

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.

maxHeight string

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.

maxWidth string

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.

paddingPolicy string

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.

resolution string

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)

sizingPolicy string

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

aspectRatio str

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

format str

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

interval str

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.

maxHeight str

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.

maxWidth str

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.

paddingPolicy str

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.

resolution str

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)

sizingPolicy str

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

PresetVideo

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AspectRatio string

The display aspect ratio of the video in the output file. Valid values are: auto, 1:1, 4:3, 3:2, 16:9. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values max_width, max_height, sizing_policy, padding_policy, and display_aspect_ratio instead of resolution and aspect_ratio.)

BitRate string

The bit rate of the video stream in the output file, in kilobits/second. You can configure variable bit rate or constant bit rate encoding.

Codec string

The video codec for the output file. Valid values are gif, H.264, mpeg2, vp8, and vp9.

DisplayAspectRatio string

The value that Elastic Transcoder adds to the metadata in the output file. If you set DisplayAspectRatio to auto, Elastic Transcoder chooses an aspect ratio that ensures square pixels. If you specify another option, Elastic Transcoder sets that value in the output file.

FixedGop string

Whether to use a fixed value for Video:FixedGOP. Not applicable for containers of type gif. Valid values are true and false. Also known as, Fixed Number of Frames Between Keyframes.

FrameRate string

The frames per second for the video stream in the output file. The following values are valid: auto, 10, 15, 23.97, 24, 25, 29.97, 30, 50, 60.

KeyframesMaxDist string

The maximum number of frames between key frames. Not applicable for containers of type gif.

MaxFrameRate string

If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video, up to the maximum frame rate. If you do not specify a MaxFrameRate, Elastic Transcoder will use a default of 30.

MaxHeight string

The maximum height of the output video 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 96 and 3072, inclusive.

MaxWidth string

The maximum width of the output video 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 128 and 4096, inclusive.

PaddingPolicy string

When you set PaddingPolicy to Pad, Elastic Transcoder might add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for max_width and max_height.

Resolution string

The width and height of the video in the output file, in pixels. Valid values are auto and widthxheight. (see note for aspect_ratio)

SizingPolicy string

A value that controls scaling of the output video. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, ShrinkToFill.

AspectRatio string

The display aspect ratio of the video in the output file. Valid values are: auto, 1:1, 4:3, 3:2, 16:9. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values max_width, max_height, sizing_policy, padding_policy, and display_aspect_ratio instead of resolution and aspect_ratio.)

BitRate string

The bit rate of the video stream in the output file, in kilobits/second. You can configure variable bit rate or constant bit rate encoding.

Codec string

The video codec for the output file. Valid values are gif, H.264, mpeg2, vp8, and vp9.

DisplayAspectRatio string

The value that Elastic Transcoder adds to the metadata in the output file. If you set DisplayAspectRatio to auto, Elastic Transcoder chooses an aspect ratio that ensures square pixels. If you specify another option, Elastic Transcoder sets that value in the output file.

FixedGop string

Whether to use a fixed value for Video:FixedGOP. Not applicable for containers of type gif. Valid values are true and false. Also known as, Fixed Number of Frames Between Keyframes.

FrameRate string

The frames per second for the video stream in the output file. The following values are valid: auto, 10, 15, 23.97, 24, 25, 29.97, 30, 50, 60.

KeyframesMaxDist string

The maximum number of frames between key frames. Not applicable for containers of type gif.

MaxFrameRate string

If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video, up to the maximum frame rate. If you do not specify a MaxFrameRate, Elastic Transcoder will use a default of 30.

MaxHeight string

The maximum height of the output video 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 96 and 3072, inclusive.

MaxWidth string

The maximum width of the output video 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 128 and 4096, inclusive.

PaddingPolicy string

When you set PaddingPolicy to Pad, Elastic Transcoder might add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for max_width and max_height.

Resolution string

The width and height of the video in the output file, in pixels. Valid values are auto and widthxheight. (see note for aspect_ratio)

SizingPolicy string

A value that controls scaling of the output video. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, ShrinkToFill.

aspectRatio string

The display aspect ratio of the video in the output file. Valid values are: auto, 1:1, 4:3, 3:2, 16:9. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values max_width, max_height, sizing_policy, padding_policy, and display_aspect_ratio instead of resolution and aspect_ratio.)

bitRate string

The bit rate of the video stream in the output file, in kilobits/second. You can configure variable bit rate or constant bit rate encoding.

codec string

The video codec for the output file. Valid values are gif, H.264, mpeg2, vp8, and vp9.

displayAspectRatio string

The value that Elastic Transcoder adds to the metadata in the output file. If you set DisplayAspectRatio to auto, Elastic Transcoder chooses an aspect ratio that ensures square pixels. If you specify another option, Elastic Transcoder sets that value in the output file.

fixedGop string

Whether to use a fixed value for Video:FixedGOP. Not applicable for containers of type gif. Valid values are true and false. Also known as, Fixed Number of Frames Between Keyframes.

frameRate string

The frames per second for the video stream in the output file. The following values are valid: auto, 10, 15, 23.97, 24, 25, 29.97, 30, 50, 60.

keyframesMaxDist string

The maximum number of frames between key frames. Not applicable for containers of type gif.

maxFrameRate string

If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video, up to the maximum frame rate. If you do not specify a MaxFrameRate, Elastic Transcoder will use a default of 30.

maxHeight string

The maximum height of the output video 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 96 and 3072, inclusive.

maxWidth string

The maximum width of the output video 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 128 and 4096, inclusive.

paddingPolicy string

When you set PaddingPolicy to Pad, Elastic Transcoder might add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for max_width and max_height.

resolution string

The width and height of the video in the output file, in pixels. Valid values are auto and widthxheight. (see note for aspect_ratio)

sizingPolicy string

A value that controls scaling of the output video. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, ShrinkToFill.

aspectRatio str

The display aspect ratio of the video in the output file. Valid values are: auto, 1:1, 4:3, 3:2, 16:9. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values max_width, max_height, sizing_policy, padding_policy, and display_aspect_ratio instead of resolution and aspect_ratio.)

bitRate str

The bit rate of the video stream in the output file, in kilobits/second. You can configure variable bit rate or constant bit rate encoding.

codec str

The video codec for the output file. Valid values are gif, H.264, mpeg2, vp8, and vp9.

displayAspectRatio str

The value that Elastic Transcoder adds to the metadata in the output file. If you set DisplayAspectRatio to auto, Elastic Transcoder chooses an aspect ratio that ensures square pixels. If you specify another option, Elastic Transcoder sets that value in the output file.

fixedGop str

Whether to use a fixed value for Video:FixedGOP. Not applicable for containers of type gif. Valid values are true and false. Also known as, Fixed Number of Frames Between Keyframes.

frameRate str

The frames per second for the video stream in the output file. The following values are valid: auto, 10, 15, 23.97, 24, 25, 29.97, 30, 50, 60.

keyframesMaxDist str

The maximum number of frames between key frames. Not applicable for containers of type gif.

maxFrameRate str

If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video, up to the maximum frame rate. If you do not specify a MaxFrameRate, Elastic Transcoder will use a default of 30.

maxHeight str

The maximum height of the output video 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 96 and 3072, inclusive.

maxWidth str

The maximum width of the output video 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 128 and 4096, inclusive.

paddingPolicy str

When you set PaddingPolicy to Pad, Elastic Transcoder might add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for max_width and max_height.

resolution str

The width and height of the video in the output file, in pixels. Valid values are auto and widthxheight. (see note for aspect_ratio)

sizingPolicy str

A value that controls scaling of the output video. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, ShrinkToFill.

PresetVideoWatermark

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

HorizontalAlign string

The horizontal position of the watermark unless you specify a nonzero value for horzontal_offset.

HorizontalOffset string

The amount by which you want the horizontal position of the watermark to be offset from the position specified by horizontal_align.

Id string

A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long. You can specify settings for up to four watermarks.

MaxHeight string

The maximum height of the watermark.

MaxWidth string

The maximum width of the watermark.

Opacity string

A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.

SizingPolicy string

A value that controls scaling of the watermark. Valid values are: Fit, Stretch, ShrinkToFit

Target string

A value that determines how Elastic Transcoder interprets values that you specified for video_watermarks.horizontal_offset, video_watermarks.vertical_offset, video_watermarks.max_width, and video_watermarks.max_height. Valid values are Content and Frame.

VerticalAlign string

The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values are Top, Bottom, Center.

VerticalOffset string

The amount by which you want the vertical position of the watermark to be offset from the position specified by vertical_align

HorizontalAlign string

The horizontal position of the watermark unless you specify a nonzero value for horzontal_offset.

HorizontalOffset string

The amount by which you want the horizontal position of the watermark to be offset from the position specified by horizontal_align.

Id string

A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long. You can specify settings for up to four watermarks.

MaxHeight string

The maximum height of the watermark.

MaxWidth string

The maximum width of the watermark.

Opacity string

A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.

SizingPolicy string

A value that controls scaling of the watermark. Valid values are: Fit, Stretch, ShrinkToFit

Target string

A value that determines how Elastic Transcoder interprets values that you specified for video_watermarks.horizontal_offset, video_watermarks.vertical_offset, video_watermarks.max_width, and video_watermarks.max_height. Valid values are Content and Frame.

VerticalAlign string

The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values are Top, Bottom, Center.

VerticalOffset string

The amount by which you want the vertical position of the watermark to be offset from the position specified by vertical_align

horizontalAlign string

The horizontal position of the watermark unless you specify a nonzero value for horzontal_offset.

horizontalOffset string

The amount by which you want the horizontal position of the watermark to be offset from the position specified by horizontal_align.

id string

A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long. You can specify settings for up to four watermarks.

maxHeight string

The maximum height of the watermark.

maxWidth string

The maximum width of the watermark.

opacity string

A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.

sizingPolicy string

A value that controls scaling of the watermark. Valid values are: Fit, Stretch, ShrinkToFit

target string

A value that determines how Elastic Transcoder interprets values that you specified for video_watermarks.horizontal_offset, video_watermarks.vertical_offset, video_watermarks.max_width, and video_watermarks.max_height. Valid values are Content and Frame.

verticalAlign string

The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values are Top, Bottom, Center.

verticalOffset string

The amount by which you want the vertical position of the watermark to be offset from the position specified by vertical_align

horizontalAlign str

The horizontal position of the watermark unless you specify a nonzero value for horzontal_offset.

horizontalOffset str

The amount by which you want the horizontal position of the watermark to be offset from the position specified by horizontal_align.

id str

A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long. You can specify settings for up to four watermarks.

maxHeight str

The maximum height of the watermark.

maxWidth str

The maximum width of the watermark.

opacity str

A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.

sizingPolicy str

A value that controls scaling of the watermark. Valid values are: Fit, Stretch, ShrinkToFit

target str

A value that determines how Elastic Transcoder interprets values that you specified for video_watermarks.horizontal_offset, video_watermarks.vertical_offset, video_watermarks.max_width, and video_watermarks.max_height. Valid values are Content and Frame.

verticalAlign str

The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values are Top, Bottom, Center.

verticalOffset str

The amount by which you want the vertical position of the watermark to be offset from the position specified by vertical_align

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.