aws.elastictranscoder.Preset
Explore with Pulumi AI
Provides an Elastic Transcoder preset resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const bar = new aws.elastictranscoder.Preset("bar", {
    container: "mp4",
    description: "Sample Preset",
    name: "sample_preset",
    audio: {
        audioPackingMode: "SingleTrack",
        bitRate: "96",
        channels: "2",
        codec: "AAC",
        sampleRate: "44100",
    },
    audioCodecOptions: {
        profile: "AAC-LC",
    },
    video: {
        bitRate: "1600",
        codec: "H.264",
        displayAspectRatio: "16:9",
        fixedGop: "false",
        frameRate: "auto",
        maxFrameRate: "60",
        keyframesMaxDist: "240",
        maxHeight: "auto",
        maxWidth: "auto",
        paddingPolicy: "Pad",
        sizingPolicy: "Fit",
    },
    videoCodecOptions: {
        Profile: "main",
        Level: "2.2",
        MaxReferenceFrames: "3",
        InterlacedMode: "Progressive",
        ColorSpaceConversionMode: "None",
    },
    videoWatermarks: [{
        id: "Test",
        maxWidth: "20%",
        maxHeight: "20%",
        sizingPolicy: "ShrinkToFit",
        horizontalAlign: "Right",
        horizontalOffset: "10px",
        verticalAlign: "Bottom",
        verticalOffset: "10px",
        opacity: "55.5",
        target: "Content",
    }],
    thumbnails: {
        format: "png",
        interval: "120",
        maxWidth: "auto",
        maxHeight: "auto",
        paddingPolicy: "Pad",
        sizingPolicy: "Fit",
    },
});
import pulumi
import pulumi_aws as aws
bar = aws.elastictranscoder.Preset("bar",
    container="mp4",
    description="Sample Preset",
    name="sample_preset",
    audio={
        "audio_packing_mode": "SingleTrack",
        "bit_rate": "96",
        "channels": "2",
        "codec": "AAC",
        "sample_rate": "44100",
    },
    audio_codec_options={
        "profile": "AAC-LC",
    },
    video={
        "bit_rate": "1600",
        "codec": "H.264",
        "display_aspect_ratio": "16:9",
        "fixed_gop": "false",
        "frame_rate": "auto",
        "max_frame_rate": "60",
        "keyframes_max_dist": "240",
        "max_height": "auto",
        "max_width": "auto",
        "padding_policy": "Pad",
        "sizing_policy": "Fit",
    },
    video_codec_options={
        "Profile": "main",
        "Level": "2.2",
        "MaxReferenceFrames": "3",
        "InterlacedMode": "Progressive",
        "ColorSpaceConversionMode": "None",
    },
    video_watermarks=[{
        "id": "Test",
        "max_width": "20%",
        "max_height": "20%",
        "sizing_policy": "ShrinkToFit",
        "horizontal_align": "Right",
        "horizontal_offset": "10px",
        "vertical_align": "Bottom",
        "vertical_offset": "10px",
        "opacity": "55.5",
        "target": "Content",
    }],
    thumbnails={
        "format": "png",
        "interval": "120",
        "max_width": "auto",
        "max_height": "auto",
        "padding_policy": "Pad",
        "sizing_policy": "Fit",
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elastictranscoder"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elastictranscoder.NewPreset(ctx, "bar", &elastictranscoder.PresetArgs{
			Container:   pulumi.String("mp4"),
			Description: pulumi.String("Sample Preset"),
			Name:        pulumi.String("sample_preset"),
			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"),
			},
			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"),
				MaxFrameRate:       pulumi.String("60"),
				KeyframesMaxDist:   pulumi.String("240"),
				MaxHeight:          pulumi.String("auto"),
				MaxWidth:           pulumi.String("auto"),
				PaddingPolicy:      pulumi.String("Pad"),
				SizingPolicy:       pulumi.String("Fit"),
			},
			VideoCodecOptions: pulumi.StringMap{
				"Profile":                  pulumi.String("main"),
				"Level":                    pulumi.String("2.2"),
				"MaxReferenceFrames":       pulumi.String("3"),
				"InterlacedMode":           pulumi.String("Progressive"),
				"ColorSpaceConversionMode": pulumi.String("None"),
			},
			VideoWatermarks: elastictranscoder.PresetVideoWatermarkArray{
				&elastictranscoder.PresetVideoWatermarkArgs{
					Id:               pulumi.String("Test"),
					MaxWidth:         pulumi.String("20%"),
					MaxHeight:        pulumi.String("20%"),
					SizingPolicy:     pulumi.String("ShrinkToFit"),
					HorizontalAlign:  pulumi.String("Right"),
					HorizontalOffset: pulumi.String("10px"),
					VerticalAlign:    pulumi.String("Bottom"),
					VerticalOffset:   pulumi.String("10px"),
					Opacity:          pulumi.String("55.5"),
					Target:           pulumi.String("Content"),
				},
			},
			Thumbnails: &elastictranscoder.PresetThumbnailsArgs{
				Format:        pulumi.String("png"),
				Interval:      pulumi.String("120"),
				MaxWidth:      pulumi.String("auto"),
				MaxHeight:     pulumi.String("auto"),
				PaddingPolicy: pulumi.String("Pad"),
				SizingPolicy:  pulumi.String("Fit"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var bar = new Aws.ElasticTranscoder.Preset("bar", new()
    {
        Container = "mp4",
        Description = "Sample Preset",
        Name = "sample_preset",
        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",
        },
        Video = new Aws.ElasticTranscoder.Inputs.PresetVideoArgs
        {
            BitRate = "1600",
            Codec = "H.264",
            DisplayAspectRatio = "16:9",
            FixedGop = "false",
            FrameRate = "auto",
            MaxFrameRate = "60",
            KeyframesMaxDist = "240",
            MaxHeight = "auto",
            MaxWidth = "auto",
            PaddingPolicy = "Pad",
            SizingPolicy = "Fit",
        },
        VideoCodecOptions = 
        {
            { "Profile", "main" },
            { "Level", "2.2" },
            { "MaxReferenceFrames", "3" },
            { "InterlacedMode", "Progressive" },
            { "ColorSpaceConversionMode", "None" },
        },
        VideoWatermarks = new[]
        {
            new Aws.ElasticTranscoder.Inputs.PresetVideoWatermarkArgs
            {
                Id = "Test",
                MaxWidth = "20%",
                MaxHeight = "20%",
                SizingPolicy = "ShrinkToFit",
                HorizontalAlign = "Right",
                HorizontalOffset = "10px",
                VerticalAlign = "Bottom",
                VerticalOffset = "10px",
                Opacity = "55.5",
                Target = "Content",
            },
        },
        Thumbnails = new Aws.ElasticTranscoder.Inputs.PresetThumbnailsArgs
        {
            Format = "png",
            Interval = "120",
            MaxWidth = "auto",
            MaxHeight = "auto",
            PaddingPolicy = "Pad",
            SizingPolicy = "Fit",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.elastictranscoder.Preset;
import com.pulumi.aws.elastictranscoder.PresetArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetAudioArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetAudioCodecOptionsArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetVideoArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetVideoWatermarkArgs;
import com.pulumi.aws.elastictranscoder.inputs.PresetThumbnailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var bar = new Preset("bar", PresetArgs.builder()
            .container("mp4")
            .description("Sample Preset")
            .name("sample_preset")
            .audio(PresetAudioArgs.builder()
                .audioPackingMode("SingleTrack")
                .bitRate(96)
                .channels(2)
                .codec("AAC")
                .sampleRate(44100)
                .build())
            .audioCodecOptions(PresetAudioCodecOptionsArgs.builder()
                .profile("AAC-LC")
                .build())
            .video(PresetVideoArgs.builder()
                .bitRate("1600")
                .codec("H.264")
                .displayAspectRatio("16:9")
                .fixedGop("false")
                .frameRate("auto")
                .maxFrameRate("60")
                .keyframesMaxDist(240)
                .maxHeight("auto")
                .maxWidth("auto")
                .paddingPolicy("Pad")
                .sizingPolicy("Fit")
                .build())
            .videoCodecOptions(Map.ofEntries(
                Map.entry("Profile", "main"),
                Map.entry("Level", "2.2"),
                Map.entry("MaxReferenceFrames", 3),
                Map.entry("InterlacedMode", "Progressive"),
                Map.entry("ColorSpaceConversionMode", "None")
            ))
            .videoWatermarks(PresetVideoWatermarkArgs.builder()
                .id("Test")
                .maxWidth("20%")
                .maxHeight("20%")
                .sizingPolicy("ShrinkToFit")
                .horizontalAlign("Right")
                .horizontalOffset("10px")
                .verticalAlign("Bottom")
                .verticalOffset("10px")
                .opacity("55.5")
                .target("Content")
                .build())
            .thumbnails(PresetThumbnailsArgs.builder()
                .format("png")
                .interval(120)
                .maxWidth("auto")
                .maxHeight("auto")
                .paddingPolicy("Pad")
                .sizingPolicy("Fit")
                .build())
            .build());
    }
}
resources:
  bar:
    type: aws:elastictranscoder:Preset
    properties:
      container: mp4
      description: Sample Preset
      name: sample_preset
      audio:
        audioPackingMode: SingleTrack
        bitRate: 96
        channels: 2
        codec: AAC
        sampleRate: 44100
      audioCodecOptions:
        profile: AAC-LC
      video:
        bitRate: '1600'
        codec: H.264
        displayAspectRatio: 16:9
        fixedGop: 'false'
        frameRate: auto
        maxFrameRate: '60'
        keyframesMaxDist: 240
        maxHeight: auto
        maxWidth: auto
        paddingPolicy: Pad
        sizingPolicy: Fit
      videoCodecOptions:
        Profile: main
        Level: '2.2'
        MaxReferenceFrames: 3
        InterlacedMode: Progressive
        ColorSpaceConversionMode: None
      videoWatermarks:
        - id: Test
          maxWidth: 20%
          maxHeight: 20%
          sizingPolicy: ShrinkToFit
          horizontalAlign: Right
          horizontalOffset: 10px
          verticalAlign: Bottom
          verticalOffset: 10px
          opacity: '55.5'
          target: Content
      thumbnails:
        format: png
        interval: 120
        maxWidth: auto
        maxHeight: auto
        paddingPolicy: Pad
        sizingPolicy: Fit
Create Preset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Preset(name: string, args: PresetArgs, opts?: CustomResourceOptions);@overload
def Preset(resource_name: str,
           args: PresetArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Preset(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           container: Optional[str] = None,
           audio: Optional[PresetAudioArgs] = None,
           audio_codec_options: Optional[PresetAudioCodecOptionsArgs] = None,
           description: Optional[str] = None,
           name: Optional[str] = None,
           thumbnails: Optional[PresetThumbnailsArgs] = None,
           type: Optional[str] = None,
           video: Optional[PresetVideoArgs] = None,
           video_codec_options: Optional[Mapping[str, str]] = None,
           video_watermarks: Optional[Sequence[PresetVideoWatermarkArgs]] = None)func NewPreset(ctx *Context, name string, args PresetArgs, opts ...ResourceOption) (*Preset, error)public Preset(string name, PresetArgs args, CustomResourceOptions? opts = null)
public Preset(String name, PresetArgs args)
public Preset(String name, PresetArgs args, CustomResourceOptions options)
type: aws:elastictranscoder:Preset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- args PresetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args PresetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var presetResource = new Aws.ElasticTranscoder.Preset("presetResource", new()
{
    Container = "string",
    Audio = new Aws.ElasticTranscoder.Inputs.PresetAudioArgs
    {
        AudioPackingMode = "string",
        BitRate = "string",
        Channels = "string",
        Codec = "string",
        SampleRate = "string",
    },
    AudioCodecOptions = new Aws.ElasticTranscoder.Inputs.PresetAudioCodecOptionsArgs
    {
        BitDepth = "string",
        BitOrder = "string",
        Profile = "string",
        Signed = "string",
    },
    Description = "string",
    Name = "string",
    Thumbnails = new Aws.ElasticTranscoder.Inputs.PresetThumbnailsArgs
    {
        AspectRatio = "string",
        Format = "string",
        Interval = "string",
        MaxHeight = "string",
        MaxWidth = "string",
        PaddingPolicy = "string",
        Resolution = "string",
        SizingPolicy = "string",
    },
    Type = "string",
    Video = new Aws.ElasticTranscoder.Inputs.PresetVideoArgs
    {
        AspectRatio = "string",
        BitRate = "string",
        Codec = "string",
        DisplayAspectRatio = "string",
        FixedGop = "string",
        FrameRate = "string",
        KeyframesMaxDist = "string",
        MaxFrameRate = "string",
        MaxHeight = "string",
        MaxWidth = "string",
        PaddingPolicy = "string",
        Resolution = "string",
        SizingPolicy = "string",
    },
    VideoCodecOptions = 
    {
        { "string", "string" },
    },
    VideoWatermarks = new[]
    {
        new Aws.ElasticTranscoder.Inputs.PresetVideoWatermarkArgs
        {
            HorizontalAlign = "string",
            HorizontalOffset = "string",
            Id = "string",
            MaxHeight = "string",
            MaxWidth = "string",
            Opacity = "string",
            SizingPolicy = "string",
            Target = "string",
            VerticalAlign = "string",
            VerticalOffset = "string",
        },
    },
});
example, err := elastictranscoder.NewPreset(ctx, "presetResource", &elastictranscoder.PresetArgs{
	Container: pulumi.String("string"),
	Audio: &elastictranscoder.PresetAudioArgs{
		AudioPackingMode: pulumi.String("string"),
		BitRate:          pulumi.String("string"),
		Channels:         pulumi.String("string"),
		Codec:            pulumi.String("string"),
		SampleRate:       pulumi.String("string"),
	},
	AudioCodecOptions: &elastictranscoder.PresetAudioCodecOptionsArgs{
		BitDepth: pulumi.String("string"),
		BitOrder: pulumi.String("string"),
		Profile:  pulumi.String("string"),
		Signed:   pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
	Thumbnails: &elastictranscoder.PresetThumbnailsArgs{
		AspectRatio:   pulumi.String("string"),
		Format:        pulumi.String("string"),
		Interval:      pulumi.String("string"),
		MaxHeight:     pulumi.String("string"),
		MaxWidth:      pulumi.String("string"),
		PaddingPolicy: pulumi.String("string"),
		Resolution:    pulumi.String("string"),
		SizingPolicy:  pulumi.String("string"),
	},
	Type: pulumi.String("string"),
	Video: &elastictranscoder.PresetVideoArgs{
		AspectRatio:        pulumi.String("string"),
		BitRate:            pulumi.String("string"),
		Codec:              pulumi.String("string"),
		DisplayAspectRatio: pulumi.String("string"),
		FixedGop:           pulumi.String("string"),
		FrameRate:          pulumi.String("string"),
		KeyframesMaxDist:   pulumi.String("string"),
		MaxFrameRate:       pulumi.String("string"),
		MaxHeight:          pulumi.String("string"),
		MaxWidth:           pulumi.String("string"),
		PaddingPolicy:      pulumi.String("string"),
		Resolution:         pulumi.String("string"),
		SizingPolicy:       pulumi.String("string"),
	},
	VideoCodecOptions: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	VideoWatermarks: elastictranscoder.PresetVideoWatermarkArray{
		&elastictranscoder.PresetVideoWatermarkArgs{
			HorizontalAlign:  pulumi.String("string"),
			HorizontalOffset: pulumi.String("string"),
			Id:               pulumi.String("string"),
			MaxHeight:        pulumi.String("string"),
			MaxWidth:         pulumi.String("string"),
			Opacity:          pulumi.String("string"),
			SizingPolicy:     pulumi.String("string"),
			Target:           pulumi.String("string"),
			VerticalAlign:    pulumi.String("string"),
			VerticalOffset:   pulumi.String("string"),
		},
	},
})
var presetResource = new Preset("presetResource", PresetArgs.builder()
    .container("string")
    .audio(PresetAudioArgs.builder()
        .audioPackingMode("string")
        .bitRate("string")
        .channels("string")
        .codec("string")
        .sampleRate("string")
        .build())
    .audioCodecOptions(PresetAudioCodecOptionsArgs.builder()
        .bitDepth("string")
        .bitOrder("string")
        .profile("string")
        .signed("string")
        .build())
    .description("string")
    .name("string")
    .thumbnails(PresetThumbnailsArgs.builder()
        .aspectRatio("string")
        .format("string")
        .interval("string")
        .maxHeight("string")
        .maxWidth("string")
        .paddingPolicy("string")
        .resolution("string")
        .sizingPolicy("string")
        .build())
    .type("string")
    .video(PresetVideoArgs.builder()
        .aspectRatio("string")
        .bitRate("string")
        .codec("string")
        .displayAspectRatio("string")
        .fixedGop("string")
        .frameRate("string")
        .keyframesMaxDist("string")
        .maxFrameRate("string")
        .maxHeight("string")
        .maxWidth("string")
        .paddingPolicy("string")
        .resolution("string")
        .sizingPolicy("string")
        .build())
    .videoCodecOptions(Map.of("string", "string"))
    .videoWatermarks(PresetVideoWatermarkArgs.builder()
        .horizontalAlign("string")
        .horizontalOffset("string")
        .id("string")
        .maxHeight("string")
        .maxWidth("string")
        .opacity("string")
        .sizingPolicy("string")
        .target("string")
        .verticalAlign("string")
        .verticalOffset("string")
        .build())
    .build());
preset_resource = aws.elastictranscoder.Preset("presetResource",
    container="string",
    audio={
        "audio_packing_mode": "string",
        "bit_rate": "string",
        "channels": "string",
        "codec": "string",
        "sample_rate": "string",
    },
    audio_codec_options={
        "bit_depth": "string",
        "bit_order": "string",
        "profile": "string",
        "signed": "string",
    },
    description="string",
    name="string",
    thumbnails={
        "aspect_ratio": "string",
        "format": "string",
        "interval": "string",
        "max_height": "string",
        "max_width": "string",
        "padding_policy": "string",
        "resolution": "string",
        "sizing_policy": "string",
    },
    type="string",
    video={
        "aspect_ratio": "string",
        "bit_rate": "string",
        "codec": "string",
        "display_aspect_ratio": "string",
        "fixed_gop": "string",
        "frame_rate": "string",
        "keyframes_max_dist": "string",
        "max_frame_rate": "string",
        "max_height": "string",
        "max_width": "string",
        "padding_policy": "string",
        "resolution": "string",
        "sizing_policy": "string",
    },
    video_codec_options={
        "string": "string",
    },
    video_watermarks=[{
        "horizontal_align": "string",
        "horizontal_offset": "string",
        "id": "string",
        "max_height": "string",
        "max_width": "string",
        "opacity": "string",
        "sizing_policy": "string",
        "target": "string",
        "vertical_align": "string",
        "vertical_offset": "string",
    }])
const presetResource = new aws.elastictranscoder.Preset("presetResource", {
    container: "string",
    audio: {
        audioPackingMode: "string",
        bitRate: "string",
        channels: "string",
        codec: "string",
        sampleRate: "string",
    },
    audioCodecOptions: {
        bitDepth: "string",
        bitOrder: "string",
        profile: "string",
        signed: "string",
    },
    description: "string",
    name: "string",
    thumbnails: {
        aspectRatio: "string",
        format: "string",
        interval: "string",
        maxHeight: "string",
        maxWidth: "string",
        paddingPolicy: "string",
        resolution: "string",
        sizingPolicy: "string",
    },
    type: "string",
    video: {
        aspectRatio: "string",
        bitRate: "string",
        codec: "string",
        displayAspectRatio: "string",
        fixedGop: "string",
        frameRate: "string",
        keyframesMaxDist: "string",
        maxFrameRate: "string",
        maxHeight: "string",
        maxWidth: "string",
        paddingPolicy: "string",
        resolution: "string",
        sizingPolicy: "string",
    },
    videoCodecOptions: {
        string: "string",
    },
    videoWatermarks: [{
        horizontalAlign: "string",
        horizontalOffset: "string",
        id: "string",
        maxHeight: "string",
        maxWidth: "string",
        opacity: "string",
        sizingPolicy: "string",
        target: "string",
        verticalAlign: "string",
        verticalOffset: "string",
    }],
});
type: aws:elastictranscoder:Preset
properties:
    audio:
        audioPackingMode: string
        bitRate: string
        channels: string
        codec: string
        sampleRate: string
    audioCodecOptions:
        bitDepth: string
        bitOrder: string
        profile: string
        signed: string
    container: string
    description: string
    name: string
    thumbnails:
        aspectRatio: string
        format: string
        interval: string
        maxHeight: string
        maxWidth: string
        paddingPolicy: string
        resolution: string
        sizingPolicy: string
    type: string
    video:
        aspectRatio: string
        bitRate: string
        codec: string
        displayAspectRatio: string
        fixedGop: string
        frameRate: string
        keyframesMaxDist: string
        maxFrameRate: string
        maxHeight: string
        maxWidth: string
        paddingPolicy: string
        resolution: string
        sizingPolicy: string
    videoCodecOptions:
        string: string
    videoWatermarks:
        - horizontalAlign: string
          horizontalOffset: string
          id: string
          maxHeight: string
          maxWidth: string
          opacity: string
          sizingPolicy: string
          target: string
          verticalAlign: string
          verticalOffset: string
Preset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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, andwebm.
- Audio
PresetAudio 
- Audio parameters object (documented below).
- AudioCodec PresetOptions Audio Codec Options 
- 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)
- VideoCodec Dictionary<string, string>Options 
- Codec options for the video parameters
- VideoWatermarks List<PresetVideo Watermark> 
- 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, andwebm.
- Audio
PresetAudio Args 
- Audio parameters object (documented below).
- AudioCodec PresetOptions Audio Codec Options Args 
- 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 Args 
- Thumbnail parameters object (documented below)
- Type string
- Video
PresetVideo Args 
- Video parameters object (documented below)
- VideoCodec map[string]stringOptions 
- Codec options for the video parameters
- VideoWatermarks []PresetVideo Watermark Args 
- 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, andwebm.
- audio
PresetAudio 
- Audio parameters object (documented below).
- audioCodec PresetOptions Audio Codec Options 
- 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)
- videoCodec Map<String,String>Options 
- Codec options for the video parameters
- videoWatermarks List<PresetVideo Watermark> 
- 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, andwebm.
- audio
PresetAudio 
- Audio parameters object (documented below).
- audioCodec PresetOptions Audio Codec Options 
- 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)
- videoCodec {[key: string]: string}Options 
- Codec options for the video parameters
- videoWatermarks PresetVideo Watermark[] 
- 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, andwebm.
- audio
PresetAudio Args 
- Audio parameters object (documented below).
- audio_codec_ Presetoptions Audio Codec Options Args 
- 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
PresetThumbnails Args 
- Thumbnail parameters object (documented below)
- type str
- video
PresetVideo Args 
- Video parameters object (documented below)
- video_codec_ Mapping[str, str]options 
- Codec options for the video parameters
- video_watermarks Sequence[PresetVideo Watermark Args] 
- 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, andwebm.
- audio Property Map
- Audio parameters object (documented below).
- audioCodec Property MapOptions 
- 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 Property Map
- Thumbnail parameters object (documented below)
- type String
- video Property Map
- Video parameters object (documented below)
- videoCodec Map<String>Options 
- Codec options for the video parameters
- videoWatermarks List<Property Map>
- 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:
Look up 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@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        audio: Optional[PresetAudioArgs] = None,
        audio_codec_options: Optional[PresetAudioCodecOptionsArgs] = None,
        container: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        thumbnails: Optional[PresetThumbnailsArgs] = None,
        type: Optional[str] = None,
        video: Optional[PresetVideoArgs] = None,
        video_codec_options: Optional[Mapping[str, str]] = None,
        video_watermarks: Optional[Sequence[PresetVideoWatermarkArgs]] = None) -> Presetfunc 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)public static Preset get(String name, Output<String> id, PresetState state, CustomResourceOptions options)resources:  _:    type: aws:elastictranscoder:Preset    get:      id: ${id}- 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.
- 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.
- Arn string
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- Audio
PresetAudio 
- Audio parameters object (documented below).
- AudioCodec PresetOptions Audio Codec Options 
- 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, andwebm.
- 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)
- VideoCodec Dictionary<string, string>Options 
- Codec options for the video parameters
- VideoWatermarks List<PresetVideo Watermark> 
- Watermark parameters for the video parameters (documented below)
- Arn string
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- Audio
PresetAudio Args 
- Audio parameters object (documented below).
- AudioCodec PresetOptions Audio Codec Options Args 
- 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, andwebm.
- Description string
- A description of the preset (maximum 255 characters)
- Name string
- The name of the preset. (maximum 40 characters)
- Thumbnails
PresetThumbnails Args 
- Thumbnail parameters object (documented below)
- Type string
- Video
PresetVideo Args 
- Video parameters object (documented below)
- VideoCodec map[string]stringOptions 
- Codec options for the video parameters
- VideoWatermarks []PresetVideo Watermark Args 
- Watermark parameters for the video parameters (documented below)
- arn String
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- audio
PresetAudio 
- Audio parameters object (documented below).
- audioCodec PresetOptions Audio Codec Options 
- 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, andwebm.
- 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)
- videoCodec Map<String,String>Options 
- Codec options for the video parameters
- videoWatermarks List<PresetVideo Watermark> 
- Watermark parameters for the video parameters (documented below)
- arn string
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- audio
PresetAudio 
- Audio parameters object (documented below).
- audioCodec PresetOptions Audio Codec Options 
- 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, andwebm.
- 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)
- videoCodec {[key: string]: string}Options 
- Codec options for the video parameters
- videoWatermarks PresetVideo Watermark[] 
- Watermark parameters for the video parameters (documented below)
- arn str
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- audio
PresetAudio Args 
- Audio parameters object (documented below).
- audio_codec_ Presetoptions Audio Codec Options Args 
- 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, andwebm.
- description str
- A description of the preset (maximum 255 characters)
- name str
- The name of the preset. (maximum 40 characters)
- thumbnails
PresetThumbnails Args 
- Thumbnail parameters object (documented below)
- type str
- video
PresetVideo Args 
- Video parameters object (documented below)
- video_codec_ Mapping[str, str]options 
- Codec options for the video parameters
- video_watermarks Sequence[PresetVideo Watermark Args] 
- Watermark parameters for the video parameters (documented below)
- arn String
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- audio Property Map
- Audio parameters object (documented below).
- audioCodec Property MapOptions 
- 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, andwebm.
- description String
- A description of the preset (maximum 255 characters)
- name String
- The name of the preset. (maximum 40 characters)
- thumbnails Property Map
- Thumbnail parameters object (documented below)
- type String
- video Property Map
- Video parameters object (documented below)
- videoCodec Map<String>Options 
- Codec options for the video parameters
- videoWatermarks List<Property Map>
- Watermark parameters for the video parameters (documented below)
Supporting Types
PresetAudio, PresetAudioArgs    
- AudioPacking stringMode 
- 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, andvorbis.
- SampleRate string
- The sample rate of the audio stream in the output file, in hertz. Valid values are: auto,22050,32000,44100,48000,96000
- AudioPacking stringMode 
- 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, andvorbis.
- SampleRate string
- The sample rate of the audio stream in the output file, in hertz. Valid values are: auto,22050,32000,44100,48000,96000
- audioPacking StringMode 
- 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, andvorbis.
- sampleRate String
- The sample rate of the audio stream in the output file, in hertz. Valid values are: auto,22050,32000,44100,48000,96000
- audioPacking stringMode 
- 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, andvorbis.
- sampleRate string
- The sample rate of the audio stream in the output file, in hertz. Valid values are: auto,22050,32000,44100,48000,96000
- audio_packing_ strmode 
- 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.
- bit_rate 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, andvorbis.
- sample_rate str
- The sample rate of the audio stream in the output file, in hertz. Valid values are: auto,22050,32000,44100,48000,96000
- audioPacking StringMode 
- 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, andvorbis.
- sampleRate String
- The sample rate of the audio stream in the output file, in hertz. Valid values are: auto,22050,32000,44100,48000,96000
PresetAudioCodecOptions, PresetAudioCodecOptionsArgs        
- BitDepth string
- The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are 16and24. (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 16and24. (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 16and24. (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 16and24. (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)
- bit_depth str
- The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are 16and24. (FLAC/PCM Only)
- bit_order 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)
- bitDepth String
- The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are 16and24. (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)
PresetThumbnails, PresetThumbnailsArgs    
- 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, andpadding_policyinstead ofresolutionandaspect_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, andShrinkToFill.
- 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, andpadding_policyinstead ofresolutionandaspect_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, andShrinkToFill.
- 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, andpadding_policyinstead ofresolutionandaspect_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, andShrinkToFill.
- 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, andpadding_policyinstead ofresolutionandaspect_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, andShrinkToFill.
- aspect_ratio 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.
- max_height 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.
- max_width 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.
- padding_policy 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, andpadding_policyinstead ofresolutionandaspect_ratio. The two groups of settings are mutually exclusive. Do not use them together)
- sizing_policy str
- A value that controls scaling of thumbnails. Valid values are: Fit,Fill,Stretch,Keep,ShrinkToFit, andShrinkToFill.
- 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, andpadding_policyinstead ofresolutionandaspect_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, andShrinkToFill.
PresetVideo, PresetVideoArgs    
- 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 valuesmax_width,max_height,sizing_policy,padding_policy, anddisplay_aspect_ratioinstead ofresolutionandaspect_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, andvp9.
- DisplayAspect stringRatio 
- 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.
- KeyframesMax stringDist 
- The maximum number of frames between key frames. Not applicable for containers of type gif.
- MaxFrame stringRate 
- 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_widthandmax_height.
- Resolution string
- The width and height of the video in the output file, in pixels. Valid values are autoandwidthxheight. (see note foraspect_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 valuesmax_width,max_height,sizing_policy,padding_policy, anddisplay_aspect_ratioinstead ofresolutionandaspect_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, andvp9.
- DisplayAspect stringRatio 
- 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.
- KeyframesMax stringDist 
- The maximum number of frames between key frames. Not applicable for containers of type gif.
- MaxFrame stringRate 
- 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_widthandmax_height.
- Resolution string
- The width and height of the video in the output file, in pixels. Valid values are autoandwidthxheight. (see note foraspect_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 valuesmax_width,max_height,sizing_policy,padding_policy, anddisplay_aspect_ratioinstead ofresolutionandaspect_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, andvp9.
- displayAspect StringRatio 
- 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.
- keyframesMax StringDist 
- The maximum number of frames between key frames. Not applicable for containers of type gif.
- maxFrame StringRate 
- 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_widthandmax_height.
- resolution String
- The width and height of the video in the output file, in pixels. Valid values are autoandwidthxheight. (see note foraspect_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 valuesmax_width,max_height,sizing_policy,padding_policy, anddisplay_aspect_ratioinstead ofresolutionandaspect_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, andvp9.
- displayAspect stringRatio 
- 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.
- keyframesMax stringDist 
- The maximum number of frames between key frames. Not applicable for containers of type gif.
- maxFrame stringRate 
- 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_widthandmax_height.
- resolution string
- The width and height of the video in the output file, in pixels. Valid values are autoandwidthxheight. (see note foraspect_ratio)
- sizingPolicy string
- A value that controls scaling of the output video. Valid values are: Fit,Fill,Stretch,Keep,ShrinkToFit,ShrinkToFill.
- aspect_ratio 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 valuesmax_width,max_height,sizing_policy,padding_policy, anddisplay_aspect_ratioinstead ofresolutionandaspect_ratio.)
- bit_rate 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, andvp9.
- display_aspect_ strratio 
- 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.
- fixed_gop 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.
- frame_rate 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.
- keyframes_max_ strdist 
- The maximum number of frames between key frames. Not applicable for containers of type gif.
- max_frame_ strrate 
- 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.
- max_height 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.
- max_width 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.
- padding_policy 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_widthandmax_height.
- resolution str
- The width and height of the video in the output file, in pixels. Valid values are autoandwidthxheight. (see note foraspect_ratio)
- sizing_policy str
- 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 valuesmax_width,max_height,sizing_policy,padding_policy, anddisplay_aspect_ratioinstead ofresolutionandaspect_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, andvp9.
- displayAspect StringRatio 
- 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.
- keyframesMax StringDist 
- The maximum number of frames between key frames. Not applicable for containers of type gif.
- maxFrame StringRate 
- 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_widthandmax_height.
- resolution String
- The width and height of the video in the output file, in pixels. Valid values are autoandwidthxheight. (see note foraspect_ratio)
- sizingPolicy String
- A value that controls scaling of the output video. Valid values are: Fit,Fill,Stretch,Keep,ShrinkToFit,ShrinkToFill.
PresetVideoWatermark, PresetVideoWatermarkArgs      
- 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, andvideo_watermarks.max_height. Valid values areContentandFrame.
- VerticalAlign string
- The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values areTop,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, andvideo_watermarks.max_height. Valid values areContentandFrame.
- VerticalAlign string
- The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values areTop,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, andvideo_watermarks.max_height. Valid values areContentandFrame.
- verticalAlign String
- The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values areTop,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, andvideo_watermarks.max_height. Valid values areContentandFrame.
- verticalAlign string
- The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values areTop,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
- horizontal_align str
- The horizontal position of the watermark unless you specify a nonzero value for horzontal_offset.
- horizontal_offset 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.
- max_height str
- The maximum height of the watermark.
- max_width 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.
- sizing_policy 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, andvideo_watermarks.max_height. Valid values areContentandFrame.
- vertical_align str
- The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values areTop,Bottom,Center.
- vertical_offset str
- 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, andvideo_watermarks.max_height. Valid values areContentandFrame.
- verticalAlign String
- The vertical position of the watermark unless you specify a nonzero value for vertical_align. Valid values areTop,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
Import
Using pulumi import, import Elastic Transcoder presets using the id. For example:
$ pulumi import aws:elastictranscoder/preset:Preset basic_preset 1407981661351-cttk8b
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.