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
Preset
Audio - Audio parameters object (documented below).
- Audio
Codec 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
Preset
Thumbnails - Thumbnail parameters object (documented below)
- Type string
- Video
Preset
Video - Video parameters object (documented below)
- Video
Codec Dictionary<string, string>Options - Codec options for the video parameters
- Video
Watermarks 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
Preset
Audio Args - Audio parameters object (documented below).
- Audio
Codec 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
Preset
Thumbnails Args - Thumbnail parameters object (documented below)
- Type string
- Video
Preset
Video Args - Video parameters object (documented below)
- Video
Codec map[string]stringOptions - Codec options for the video parameters
- Video
Watermarks []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
Preset
Audio - Audio parameters object (documented below).
- audio
Codec 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
Preset
Thumbnails - Thumbnail parameters object (documented below)
- type String
- video
Preset
Video - Video parameters object (documented below)
- video
Codec Map<String,String>Options - Codec options for the video parameters
- video
Watermarks 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
Preset
Audio - Audio parameters object (documented below).
- audio
Codec 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
Preset
Thumbnails - Thumbnail parameters object (documented below)
- type string
- video
Preset
Video - Video parameters object (documented below)
- video
Codec {[key: string]: string}Options - Codec options for the video parameters
- video
Watermarks 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
Preset
Audio 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
Preset
Thumbnails Args - Thumbnail parameters object (documented below)
- type str
- video
Preset
Video 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).
- audio
Codec 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)
- video
Codec Map<String>Options - Codec options for the video parameters
- video
Watermarks 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) -> Preset
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)
public static Preset get(String name, Output<String> id, PresetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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
Preset
Audio - Audio parameters object (documented below).
- Audio
Codec 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
Preset
Thumbnails - Thumbnail parameters object (documented below)
- Type string
- Video
Preset
Video - Video parameters object (documented below)
- Video
Codec Dictionary<string, string>Options - Codec options for the video parameters
- Video
Watermarks List<PresetVideo Watermark> - Watermark parameters for the video parameters (documented below)
- Arn string
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- Audio
Preset
Audio Args - Audio parameters object (documented below).
- Audio
Codec 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
Preset
Thumbnails Args - Thumbnail parameters object (documented below)
- Type string
- Video
Preset
Video Args - Video parameters object (documented below)
- Video
Codec map[string]stringOptions - Codec options for the video parameters
- Video
Watermarks []PresetVideo Watermark Args - Watermark parameters for the video parameters (documented below)
- arn String
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- audio
Preset
Audio - Audio parameters object (documented below).
- audio
Codec 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
Preset
Thumbnails - Thumbnail parameters object (documented below)
- type String
- video
Preset
Video - Video parameters object (documented below)
- video
Codec Map<String,String>Options - Codec options for the video parameters
- video
Watermarks List<PresetVideo Watermark> - Watermark parameters for the video parameters (documented below)
- arn string
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- audio
Preset
Audio - Audio parameters object (documented below).
- audio
Codec 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
Preset
Thumbnails - Thumbnail parameters object (documented below)
- type string
- video
Preset
Video - Video parameters object (documented below)
- video
Codec {[key: string]: string}Options - Codec options for the video parameters
- video
Watermarks PresetVideo Watermark[] - Watermark parameters for the video parameters (documented below)
- arn str
- Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
- audio
Preset
Audio 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
Preset
Thumbnails Args - Thumbnail parameters object (documented below)
- type str
- video
Preset
Video 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).
- audio
Codec 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)
- video
Codec Map<String>Options - Codec options for the video parameters
- video
Watermarks List<Property Map> - Watermark parameters for the video parameters (documented below)
Supporting Types
PresetAudio, PresetAudioArgs
- Audio
Packing 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.
- Bit
Rate 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
. - Sample
Rate 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 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.
- Bit
Rate 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
. - Sample
Rate 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 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.
- bit
Rate 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
. - sample
Rate 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 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.
- bit
Rate 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
. - sample
Rate 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
- audio
Packing 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.
- bit
Rate 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
. - sample
Rate 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
- Bit
Depth string - The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are
16
and24
. (FLAC/PCM Only) - Bit
Order 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 string - The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are
16
and24
. (FLAC/PCM Only) - Bit
Order 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 String - The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are
16
and24
. (FLAC/PCM Only) - bit
Order 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 string - The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are
16
and24
. (FLAC/PCM Only) - bit
Order 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
16
and24
. (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)
- bit
Depth String - The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are
16
and24
. (FLAC/PCM Only) - bit
Order 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
- Aspect
Ratio 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.
- Max
Height 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.
- Max
Width 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.
- Padding
Policy 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_policy
instead ofresolution
andaspect_ratio
. The two groups of settings are mutually exclusive. Do not use them together) - Sizing
Policy string - A value that controls scaling of thumbnails. Valid values are:
Fit
,Fill
,Stretch
,Keep
,ShrinkToFit
, andShrinkToFill
.
- Aspect
Ratio 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.
- Max
Height 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.
- Max
Width 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.
- Padding
Policy 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_policy
instead ofresolution
andaspect_ratio
. The two groups of settings are mutually exclusive. Do not use them together) - Sizing
Policy string - A value that controls scaling of thumbnails. Valid values are:
Fit
,Fill
,Stretch
,Keep
,ShrinkToFit
, andShrinkToFill
.
- aspect
Ratio 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.
- max
Height 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.
- max
Width 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.
- padding
Policy 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_policy
instead ofresolution
andaspect_ratio
. The two groups of settings are mutually exclusive. Do not use them together) - sizing
Policy String - A value that controls scaling of thumbnails. Valid values are:
Fit
,Fill
,Stretch
,Keep
,ShrinkToFit
, andShrinkToFill
.
- aspect
Ratio 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.
- max
Height 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.
- max
Width 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.
- padding
Policy 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_policy
instead ofresolution
andaspect_ratio
. The two groups of settings are mutually exclusive. Do not use them together) - sizing
Policy 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_policy
instead ofresolution
andaspect_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
.
- aspect
Ratio 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.
- max
Height 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.
- max
Width 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.
- padding
Policy 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_policy
instead ofresolution
andaspect_ratio
. The two groups of settings are mutually exclusive. Do not use them together) - sizing
Policy String - A value that controls scaling of thumbnails. Valid values are:
Fit
,Fill
,Stretch
,Keep
,ShrinkToFit
, andShrinkToFill
.
PresetVideo, PresetVideoArgs
- Aspect
Ratio 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_ratio
instead ofresolution
andaspect_ratio
.) - Bit
Rate 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
. - Display
Aspect 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.
- Fixed
Gop 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.
- Frame
Rate 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
. - Keyframes
Max stringDist - The maximum number of frames between key frames. Not applicable for containers of type gif.
- Max
Frame 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.
- Max
Height 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.
- Max
Width 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.
- Padding
Policy 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
andmax_height
. - Resolution string
- The width and height of the video in the output file, in pixels. Valid values are
auto
andwidthxheight
. (see note foraspect_ratio
) - Sizing
Policy string - A value that controls scaling of the output video. Valid values are:
Fit
,Fill
,Stretch
,Keep
,ShrinkToFit
,ShrinkToFill
.
- Aspect
Ratio 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_ratio
instead ofresolution
andaspect_ratio
.) - Bit
Rate 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
. - Display
Aspect 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.
- Fixed
Gop 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.
- Frame
Rate 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
. - Keyframes
Max stringDist - The maximum number of frames between key frames. Not applicable for containers of type gif.
- Max
Frame 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.
- Max
Height 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.
- Max
Width 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.
- Padding
Policy 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
andmax_height
. - Resolution string
- The width and height of the video in the output file, in pixels. Valid values are
auto
andwidthxheight
. (see note foraspect_ratio
) - Sizing
Policy string - A value that controls scaling of the output video. Valid values are:
Fit
,Fill
,Stretch
,Keep
,ShrinkToFit
,ShrinkToFill
.
- aspect
Ratio 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_ratio
instead ofresolution
andaspect_ratio
.) - bit
Rate 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
. - display
Aspect 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.
- fixed
Gop 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.
- frame
Rate 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
. - keyframes
Max StringDist - The maximum number of frames between key frames. Not applicable for containers of type gif.
- max
Frame 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.
- max
Height 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.
- max
Width 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.
- padding
Policy 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
andmax_height
. - resolution String
- The width and height of the video in the output file, in pixels. Valid values are
auto
andwidthxheight
. (see note foraspect_ratio
) - sizing
Policy String - A value that controls scaling of the output video. Valid values are:
Fit
,Fill
,Stretch
,Keep
,ShrinkToFit
,ShrinkToFill
.
- aspect
Ratio 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_ratio
instead ofresolution
andaspect_ratio
.) - bit
Rate 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
. - display
Aspect 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.
- fixed
Gop 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.
- frame
Rate 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
. - keyframes
Max stringDist - The maximum number of frames between key frames. Not applicable for containers of type gif.
- max
Frame 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.
- max
Height 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.
- max
Width 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.
- padding
Policy 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
andmax_height
. - resolution string
- The width and height of the video in the output file, in pixels. Valid values are
auto
andwidthxheight
. (see note foraspect_ratio
) - sizing
Policy 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_ratio
instead ofresolution
andaspect_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_width
andmax_height
. - resolution str
- The width and height of the video in the output file, in pixels. Valid values are
auto
andwidthxheight
. (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
.
- aspect
Ratio 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_ratio
instead ofresolution
andaspect_ratio
.) - bit
Rate 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
. - display
Aspect 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.
- fixed
Gop 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.
- frame
Rate 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
. - keyframes
Max StringDist - The maximum number of frames between key frames. Not applicable for containers of type gif.
- max
Frame 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.
- max
Height 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.
- max
Width 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.
- padding
Policy 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
andmax_height
. - resolution String
- The width and height of the video in the output file, in pixels. Valid values are
auto
andwidthxheight
. (see note foraspect_ratio
) - sizing
Policy String - A value that controls scaling of the output video. Valid values are:
Fit
,Fill
,Stretch
,Keep
,ShrinkToFit
,ShrinkToFill
.
PresetVideoWatermark, PresetVideoWatermarkArgs
- Horizontal
Align string - The horizontal position of the watermark unless you specify a nonzero value for
horzontal_offset
. - Horizontal
Offset 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.
- Max
Height string - The maximum height of the watermark.
- Max
Width 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.
- Sizing
Policy 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 areContent
andFrame
. - Vertical
Align string - The vertical position of the watermark unless you specify a nonzero value for
vertical_align
. Valid values areTop
,Bottom
,Center
. - Vertical
Offset 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 string - The horizontal position of the watermark unless you specify a nonzero value for
horzontal_offset
. - Horizontal
Offset 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.
- Max
Height string - The maximum height of the watermark.
- Max
Width 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.
- Sizing
Policy 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 areContent
andFrame
. - Vertical
Align string - The vertical position of the watermark unless you specify a nonzero value for
vertical_align
. Valid values areTop
,Bottom
,Center
. - Vertical
Offset 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 String - The horizontal position of the watermark unless you specify a nonzero value for
horzontal_offset
. - horizontal
Offset 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.
- max
Height String - The maximum height of the watermark.
- max
Width 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.
- sizing
Policy 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 areContent
andFrame
. - vertical
Align String - The vertical position of the watermark unless you specify a nonzero value for
vertical_align
. Valid values areTop
,Bottom
,Center
. - vertical
Offset 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 string - The horizontal position of the watermark unless you specify a nonzero value for
horzontal_offset
. - horizontal
Offset 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.
- max
Height string - The maximum height of the watermark.
- max
Width 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.
- sizing
Policy 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 areContent
andFrame
. - vertical
Align string - The vertical position of the watermark unless you specify a nonzero value for
vertical_align
. Valid values areTop
,Bottom
,Center
. - vertical
Offset 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 areContent
andFrame
. - 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
- horizontal
Align String - The horizontal position of the watermark unless you specify a nonzero value for
horzontal_offset
. - horizontal
Offset 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.
- max
Height String - The maximum height of the watermark.
- max
Width 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.
- sizing
Policy 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 areContent
andFrame
. - vertical
Align String - The vertical position of the watermark unless you specify a nonzero value for
vertical_align
. Valid values areTop
,Bottom
,Center
. - vertical
Offset 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
aws
Terraform Provider.