aws_elastictranscoder_preset

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Container: string, required
	Container terra.StringValue `hcl:"container,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// VideoCodecOptions: map of string, optional
	VideoCodecOptions terra.MapValue[terra.StringValue] `hcl:"video_codec_options,attr"`
	// Audio: optional
	Audio *Audio `hcl:"audio,block"`
	// AudioCodecOptions: optional
	AudioCodecOptions *AudioCodecOptions `hcl:"audio_codec_options,block"`
	// Thumbnails: optional
	Thumbnails *Thumbnails `hcl:"thumbnails,block"`
	// Video: optional
	Video *Video `hcl:"video,block"`
	// VideoWatermarks: min=0
	VideoWatermarks []VideoWatermarks `hcl:"video_watermarks,block" validate:"min=0"`
}

Args contains the configurations for aws_elastictranscoder_preset.

type Audio

type Audio struct {
	// AudioPackingMode: string, optional
	AudioPackingMode terra.StringValue `hcl:"audio_packing_mode,attr"`
	// BitRate: string, optional
	BitRate terra.StringValue `hcl:"bit_rate,attr"`
	// Channels: string, optional
	Channels terra.StringValue `hcl:"channels,attr"`
	// Codec: string, optional
	Codec terra.StringValue `hcl:"codec,attr"`
	// SampleRate: string, optional
	SampleRate terra.StringValue `hcl:"sample_rate,attr"`
}

type AudioAttributes

type AudioAttributes struct {
	// contains filtered or unexported fields
}

func (AudioAttributes) AudioPackingMode

func (a AudioAttributes) AudioPackingMode() terra.StringValue

func (AudioAttributes) BitRate

func (a AudioAttributes) BitRate() terra.StringValue

func (AudioAttributes) Channels

func (a AudioAttributes) Channels() terra.StringValue

func (AudioAttributes) Codec

func (a AudioAttributes) Codec() terra.StringValue

func (AudioAttributes) InternalRef

func (a AudioAttributes) InternalRef() (terra.Reference, error)

func (AudioAttributes) InternalTokens

func (a AudioAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AudioAttributes) InternalWithRef

func (a AudioAttributes) InternalWithRef(ref terra.Reference) AudioAttributes

func (AudioAttributes) SampleRate

func (a AudioAttributes) SampleRate() terra.StringValue

type AudioCodecOptions

type AudioCodecOptions struct {
	// BitDepth: string, optional
	BitDepth terra.StringValue `hcl:"bit_depth,attr"`
	// BitOrder: string, optional
	BitOrder terra.StringValue `hcl:"bit_order,attr"`
	// Profile: string, optional
	Profile terra.StringValue `hcl:"profile,attr"`
	// Signed: string, optional
	Signed terra.StringValue `hcl:"signed,attr"`
}

type AudioCodecOptionsAttributes

type AudioCodecOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (AudioCodecOptionsAttributes) BitDepth

func (AudioCodecOptionsAttributes) BitOrder

func (AudioCodecOptionsAttributes) InternalRef

func (aco AudioCodecOptionsAttributes) InternalRef() (terra.Reference, error)

func (AudioCodecOptionsAttributes) InternalTokens

func (aco AudioCodecOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AudioCodecOptionsAttributes) InternalWithRef

func (AudioCodecOptionsAttributes) Profile

func (AudioCodecOptionsAttributes) Signed

type AudioCodecOptionsState

type AudioCodecOptionsState struct {
	BitDepth string `json:"bit_depth"`
	BitOrder string `json:"bit_order"`
	Profile  string `json:"profile"`
	Signed   string `json:"signed"`
}

type AudioState

type AudioState struct {
	AudioPackingMode string `json:"audio_packing_mode"`
	BitRate          string `json:"bit_rate"`
	Channels         string `json:"channels"`
	Codec            string `json:"codec"`
	SampleRate       string `json:"sample_rate"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_elastictranscoder_preset.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aep *Resource) Attributes() awsElastictranscoderPresetAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aep *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aep *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aep *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aep *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aep *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aep *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aep *Resource) State() (*awsElastictranscoderPresetState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aep *Resource) StateMust() *awsElastictranscoderPresetState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aep *Resource) Type() string

Type returns the Terraform object type for Resource.

type Thumbnails

type Thumbnails struct {
	// AspectRatio: string, optional
	AspectRatio terra.StringValue `hcl:"aspect_ratio,attr"`
	// Format: string, optional
	Format terra.StringValue `hcl:"format,attr"`
	// Interval: string, optional
	Interval terra.StringValue `hcl:"interval,attr"`
	// MaxHeight: string, optional
	MaxHeight terra.StringValue `hcl:"max_height,attr"`
	// MaxWidth: string, optional
	MaxWidth terra.StringValue `hcl:"max_width,attr"`
	// PaddingPolicy: string, optional
	PaddingPolicy terra.StringValue `hcl:"padding_policy,attr"`
	// Resolution: string, optional
	Resolution terra.StringValue `hcl:"resolution,attr"`
	// SizingPolicy: string, optional
	SizingPolicy terra.StringValue `hcl:"sizing_policy,attr"`
}

type ThumbnailsAttributes

type ThumbnailsAttributes struct {
	// contains filtered or unexported fields
}

func (ThumbnailsAttributes) AspectRatio

func (t ThumbnailsAttributes) AspectRatio() terra.StringValue

func (ThumbnailsAttributes) Format

func (ThumbnailsAttributes) InternalRef

func (t ThumbnailsAttributes) InternalRef() (terra.Reference, error)

func (ThumbnailsAttributes) InternalTokens

func (t ThumbnailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ThumbnailsAttributes) InternalWithRef

func (ThumbnailsAttributes) Interval

func (t ThumbnailsAttributes) Interval() terra.StringValue

func (ThumbnailsAttributes) MaxHeight

func (t ThumbnailsAttributes) MaxHeight() terra.StringValue

func (ThumbnailsAttributes) MaxWidth

func (t ThumbnailsAttributes) MaxWidth() terra.StringValue

func (ThumbnailsAttributes) PaddingPolicy

func (t ThumbnailsAttributes) PaddingPolicy() terra.StringValue

func (ThumbnailsAttributes) Resolution

func (t ThumbnailsAttributes) Resolution() terra.StringValue

func (ThumbnailsAttributes) SizingPolicy

func (t ThumbnailsAttributes) SizingPolicy() terra.StringValue

type ThumbnailsState

type ThumbnailsState struct {
	AspectRatio   string `json:"aspect_ratio"`
	Format        string `json:"format"`
	Interval      string `json:"interval"`
	MaxHeight     string `json:"max_height"`
	MaxWidth      string `json:"max_width"`
	PaddingPolicy string `json:"padding_policy"`
	Resolution    string `json:"resolution"`
	SizingPolicy  string `json:"sizing_policy"`
}

type Video

type Video struct {
	// AspectRatio: string, optional
	AspectRatio terra.StringValue `hcl:"aspect_ratio,attr"`
	// BitRate: string, optional
	BitRate terra.StringValue `hcl:"bit_rate,attr"`
	// Codec: string, optional
	Codec terra.StringValue `hcl:"codec,attr"`
	// DisplayAspectRatio: string, optional
	DisplayAspectRatio terra.StringValue `hcl:"display_aspect_ratio,attr"`
	// FixedGop: string, optional
	FixedGop terra.StringValue `hcl:"fixed_gop,attr"`
	// FrameRate: string, optional
	FrameRate terra.StringValue `hcl:"frame_rate,attr"`
	// KeyframesMaxDist: string, optional
	KeyframesMaxDist terra.StringValue `hcl:"keyframes_max_dist,attr"`
	// MaxFrameRate: string, optional
	MaxFrameRate terra.StringValue `hcl:"max_frame_rate,attr"`
	// MaxHeight: string, optional
	MaxHeight terra.StringValue `hcl:"max_height,attr"`
	// MaxWidth: string, optional
	MaxWidth terra.StringValue `hcl:"max_width,attr"`
	// PaddingPolicy: string, optional
	PaddingPolicy terra.StringValue `hcl:"padding_policy,attr"`
	// Resolution: string, optional
	Resolution terra.StringValue `hcl:"resolution,attr"`
	// SizingPolicy: string, optional
	SizingPolicy terra.StringValue `hcl:"sizing_policy,attr"`
}

type VideoAttributes

type VideoAttributes struct {
	// contains filtered or unexported fields
}

func (VideoAttributes) AspectRatio

func (v VideoAttributes) AspectRatio() terra.StringValue

func (VideoAttributes) BitRate

func (v VideoAttributes) BitRate() terra.StringValue

func (VideoAttributes) Codec

func (v VideoAttributes) Codec() terra.StringValue

func (VideoAttributes) DisplayAspectRatio

func (v VideoAttributes) DisplayAspectRatio() terra.StringValue

func (VideoAttributes) FixedGop

func (v VideoAttributes) FixedGop() terra.StringValue

func (VideoAttributes) FrameRate

func (v VideoAttributes) FrameRate() terra.StringValue

func (VideoAttributes) InternalRef

func (v VideoAttributes) InternalRef() (terra.Reference, error)

func (VideoAttributes) InternalTokens

func (v VideoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VideoAttributes) InternalWithRef

func (v VideoAttributes) InternalWithRef(ref terra.Reference) VideoAttributes

func (VideoAttributes) KeyframesMaxDist

func (v VideoAttributes) KeyframesMaxDist() terra.StringValue

func (VideoAttributes) MaxFrameRate

func (v VideoAttributes) MaxFrameRate() terra.StringValue

func (VideoAttributes) MaxHeight

func (v VideoAttributes) MaxHeight() terra.StringValue

func (VideoAttributes) MaxWidth

func (v VideoAttributes) MaxWidth() terra.StringValue

func (VideoAttributes) PaddingPolicy

func (v VideoAttributes) PaddingPolicy() terra.StringValue

func (VideoAttributes) Resolution

func (v VideoAttributes) Resolution() terra.StringValue

func (VideoAttributes) SizingPolicy

func (v VideoAttributes) SizingPolicy() terra.StringValue

type VideoState

type VideoState struct {
	AspectRatio        string `json:"aspect_ratio"`
	BitRate            string `json:"bit_rate"`
	Codec              string `json:"codec"`
	DisplayAspectRatio string `json:"display_aspect_ratio"`
	FixedGop           string `json:"fixed_gop"`
	FrameRate          string `json:"frame_rate"`
	KeyframesMaxDist   string `json:"keyframes_max_dist"`
	MaxFrameRate       string `json:"max_frame_rate"`
	MaxHeight          string `json:"max_height"`
	MaxWidth           string `json:"max_width"`
	PaddingPolicy      string `json:"padding_policy"`
	Resolution         string `json:"resolution"`
	SizingPolicy       string `json:"sizing_policy"`
}

type VideoWatermarks

type VideoWatermarks struct {
	// HorizontalAlign: string, optional
	HorizontalAlign terra.StringValue `hcl:"horizontal_align,attr"`
	// HorizontalOffset: string, optional
	HorizontalOffset terra.StringValue `hcl:"horizontal_offset,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MaxHeight: string, optional
	MaxHeight terra.StringValue `hcl:"max_height,attr"`
	// MaxWidth: string, optional
	MaxWidth terra.StringValue `hcl:"max_width,attr"`
	// Opacity: string, optional
	Opacity terra.StringValue `hcl:"opacity,attr"`
	// SizingPolicy: string, optional
	SizingPolicy terra.StringValue `hcl:"sizing_policy,attr"`
	// Target: string, optional
	Target terra.StringValue `hcl:"target,attr"`
	// VerticalAlign: string, optional
	VerticalAlign terra.StringValue `hcl:"vertical_align,attr"`
	// VerticalOffset: string, optional
	VerticalOffset terra.StringValue `hcl:"vertical_offset,attr"`
}

type VideoWatermarksAttributes

type VideoWatermarksAttributes struct {
	// contains filtered or unexported fields
}

func (VideoWatermarksAttributes) HorizontalAlign

func (vw VideoWatermarksAttributes) HorizontalAlign() terra.StringValue

func (VideoWatermarksAttributes) HorizontalOffset

func (vw VideoWatermarksAttributes) HorizontalOffset() terra.StringValue

func (VideoWatermarksAttributes) Id

func (VideoWatermarksAttributes) InternalRef

func (vw VideoWatermarksAttributes) InternalRef() (terra.Reference, error)

func (VideoWatermarksAttributes) InternalTokens

func (vw VideoWatermarksAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VideoWatermarksAttributes) InternalWithRef

func (VideoWatermarksAttributes) MaxHeight

func (VideoWatermarksAttributes) MaxWidth

func (VideoWatermarksAttributes) Opacity

func (VideoWatermarksAttributes) SizingPolicy

func (vw VideoWatermarksAttributes) SizingPolicy() terra.StringValue

func (VideoWatermarksAttributes) Target

func (VideoWatermarksAttributes) VerticalAlign

func (vw VideoWatermarksAttributes) VerticalAlign() terra.StringValue

func (VideoWatermarksAttributes) VerticalOffset

func (vw VideoWatermarksAttributes) VerticalOffset() terra.StringValue

type VideoWatermarksState

type VideoWatermarksState struct {
	HorizontalAlign  string `json:"horizontal_align"`
	HorizontalOffset string `json:"horizontal_offset"`
	Id               string `json:"id"`
	MaxHeight        string `json:"max_height"`
	MaxWidth         string `json:"max_width"`
	Opacity          string `json:"opacity"`
	SizingPolicy     string `json:"sizing_policy"`
	Target           string `json:"target"`
	VerticalAlign    string `json:"vertical_align"`
	VerticalOffset   string `json:"vertical_offset"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL