elastictranscoder

package
v4.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	pulumi.CustomResourceState

	// The ARN of the Elastictranscoder pipeline.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.
	AwsKmsKeyArn pulumi.StringPtrOutput `pulumi:"awsKmsKeyArn"`
	// The ContentConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. (documented below)
	ContentConfig PipelineContentConfigOutput `pulumi:"contentConfig"`
	// The permissions for the `contentConfig` object. (documented below)
	ContentConfigPermissions PipelineContentConfigPermissionArrayOutput `pulumi:"contentConfigPermissions"`
	// The Amazon S3 bucket in which you saved the media files that you want to transcode and the graphics that you want to use as watermarks.
	InputBucket pulumi.StringOutput `pulumi:"inputBucket"`
	// The name of the pipeline. Maximum 40 characters
	Name pulumi.StringOutput `pulumi:"name"`
	// The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. (documented below)
	Notifications PipelineNotificationsPtrOutput `pulumi:"notifications"`
	// The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
	OutputBucket pulumi.StringOutput `pulumi:"outputBucket"`
	// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline.
	Role pulumi.StringOutput `pulumi:"role"`
	// The ThumbnailConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. (documented below)
	ThumbnailConfig PipelineThumbnailConfigOutput `pulumi:"thumbnailConfig"`
	// The permissions for the `thumbnailConfig` object. (documented below)
	ThumbnailConfigPermissions PipelineThumbnailConfigPermissionArrayOutput `pulumi:"thumbnailConfigPermissions"`
}

Provides an Elastic Transcoder pipeline resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/elastictranscoder"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elastictranscoder.NewPipeline(ctx, "bar", &elastictranscoder.PipelineArgs{
			InputBucket: pulumi.Any(aws_s3_bucket.Input_bucket.Bucket),
			Role:        pulumi.Any(aws_iam_role.Test_role.Arn),
			ContentConfig: &elastictranscoder.PipelineContentConfigArgs{
				Bucket:       pulumi.Any(aws_s3_bucket.Content_bucket.Bucket),
				StorageClass: pulumi.String("Standard"),
			},
			ThumbnailConfig: &elastictranscoder.PipelineThumbnailConfigArgs{
				Bucket:       pulumi.Any(aws_s3_bucket.Thumb_bucket.Bucket),
				StorageClass: pulumi.String("Standard"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Elastic Transcoder pipelines can be imported using the `id`, e.g.

```sh

$ pulumi import aws:elastictranscoder/pipeline:Pipeline basic_pipeline 1407981661351-cttk8b

```

func GetPipeline

func GetPipeline(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PipelineState, opts ...pulumi.ResourceOption) (*Pipeline, error)

GetPipeline gets an existing Pipeline resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPipeline

func NewPipeline(ctx *pulumi.Context,
	name string, args *PipelineArgs, opts ...pulumi.ResourceOption) (*Pipeline, error)

NewPipeline registers a new resource with the given unique name, arguments, and options.

func (*Pipeline) ElementType

func (*Pipeline) ElementType() reflect.Type

func (*Pipeline) ToPipelineOutput

func (i *Pipeline) ToPipelineOutput() PipelineOutput

func (*Pipeline) ToPipelineOutputWithContext

func (i *Pipeline) ToPipelineOutputWithContext(ctx context.Context) PipelineOutput

func (*Pipeline) ToPipelinePtrOutput

func (i *Pipeline) ToPipelinePtrOutput() PipelinePtrOutput

func (*Pipeline) ToPipelinePtrOutputWithContext

func (i *Pipeline) ToPipelinePtrOutputWithContext(ctx context.Context) PipelinePtrOutput

type PipelineArgs

type PipelineArgs struct {
	// The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.
	AwsKmsKeyArn pulumi.StringPtrInput
	// The ContentConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. (documented below)
	ContentConfig PipelineContentConfigPtrInput
	// The permissions for the `contentConfig` object. (documented below)
	ContentConfigPermissions PipelineContentConfigPermissionArrayInput
	// The Amazon S3 bucket in which you saved the media files that you want to transcode and the graphics that you want to use as watermarks.
	InputBucket pulumi.StringInput
	// The name of the pipeline. Maximum 40 characters
	Name pulumi.StringPtrInput
	// The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. (documented below)
	Notifications PipelineNotificationsPtrInput
	// The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
	OutputBucket pulumi.StringPtrInput
	// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline.
	Role pulumi.StringInput
	// The ThumbnailConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. (documented below)
	ThumbnailConfig PipelineThumbnailConfigPtrInput
	// The permissions for the `thumbnailConfig` object. (documented below)
	ThumbnailConfigPermissions PipelineThumbnailConfigPermissionArrayInput
}

The set of arguments for constructing a Pipeline resource.

func (PipelineArgs) ElementType

func (PipelineArgs) ElementType() reflect.Type

type PipelineArray

type PipelineArray []PipelineInput

func (PipelineArray) ElementType

func (PipelineArray) ElementType() reflect.Type

func (PipelineArray) ToPipelineArrayOutput

func (i PipelineArray) ToPipelineArrayOutput() PipelineArrayOutput

func (PipelineArray) ToPipelineArrayOutputWithContext

func (i PipelineArray) ToPipelineArrayOutputWithContext(ctx context.Context) PipelineArrayOutput

type PipelineArrayInput

type PipelineArrayInput interface {
	pulumi.Input

	ToPipelineArrayOutput() PipelineArrayOutput
	ToPipelineArrayOutputWithContext(context.Context) PipelineArrayOutput
}

PipelineArrayInput is an input type that accepts PipelineArray and PipelineArrayOutput values. You can construct a concrete instance of `PipelineArrayInput` via:

PipelineArray{ PipelineArgs{...} }

type PipelineArrayOutput

type PipelineArrayOutput struct{ *pulumi.OutputState }

func (PipelineArrayOutput) ElementType

func (PipelineArrayOutput) ElementType() reflect.Type

func (PipelineArrayOutput) Index

func (PipelineArrayOutput) ToPipelineArrayOutput

func (o PipelineArrayOutput) ToPipelineArrayOutput() PipelineArrayOutput

func (PipelineArrayOutput) ToPipelineArrayOutputWithContext

func (o PipelineArrayOutput) ToPipelineArrayOutputWithContext(ctx context.Context) PipelineArrayOutput

type PipelineContentConfig

type PipelineContentConfig struct {
	// The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
	Bucket *string `pulumi:"bucket"`
	// The Amazon S3 storage class, `Standard` or `ReducedRedundancy`, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket.
	StorageClass *string `pulumi:"storageClass"`
}

type PipelineContentConfigArgs

type PipelineContentConfigArgs struct {
	// The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
	Bucket pulumi.StringPtrInput `pulumi:"bucket"`
	// The Amazon S3 storage class, `Standard` or `ReducedRedundancy`, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket.
	StorageClass pulumi.StringPtrInput `pulumi:"storageClass"`
}

func (PipelineContentConfigArgs) ElementType

func (PipelineContentConfigArgs) ElementType() reflect.Type

func (PipelineContentConfigArgs) ToPipelineContentConfigOutput

func (i PipelineContentConfigArgs) ToPipelineContentConfigOutput() PipelineContentConfigOutput

func (PipelineContentConfigArgs) ToPipelineContentConfigOutputWithContext

func (i PipelineContentConfigArgs) ToPipelineContentConfigOutputWithContext(ctx context.Context) PipelineContentConfigOutput

func (PipelineContentConfigArgs) ToPipelineContentConfigPtrOutput

func (i PipelineContentConfigArgs) ToPipelineContentConfigPtrOutput() PipelineContentConfigPtrOutput

func (PipelineContentConfigArgs) ToPipelineContentConfigPtrOutputWithContext

func (i PipelineContentConfigArgs) ToPipelineContentConfigPtrOutputWithContext(ctx context.Context) PipelineContentConfigPtrOutput

type PipelineContentConfigInput

type PipelineContentConfigInput interface {
	pulumi.Input

	ToPipelineContentConfigOutput() PipelineContentConfigOutput
	ToPipelineContentConfigOutputWithContext(context.Context) PipelineContentConfigOutput
}

PipelineContentConfigInput is an input type that accepts PipelineContentConfigArgs and PipelineContentConfigOutput values. You can construct a concrete instance of `PipelineContentConfigInput` via:

PipelineContentConfigArgs{...}

type PipelineContentConfigOutput

type PipelineContentConfigOutput struct{ *pulumi.OutputState }

func (PipelineContentConfigOutput) Bucket

The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.

func (PipelineContentConfigOutput) ElementType

func (PipelineContentConfigOutput) StorageClass

The Amazon S3 storage class, `Standard` or `ReducedRedundancy`, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket.

func (PipelineContentConfigOutput) ToPipelineContentConfigOutput

func (o PipelineContentConfigOutput) ToPipelineContentConfigOutput() PipelineContentConfigOutput

func (PipelineContentConfigOutput) ToPipelineContentConfigOutputWithContext

func (o PipelineContentConfigOutput) ToPipelineContentConfigOutputWithContext(ctx context.Context) PipelineContentConfigOutput

func (PipelineContentConfigOutput) ToPipelineContentConfigPtrOutput

func (o PipelineContentConfigOutput) ToPipelineContentConfigPtrOutput() PipelineContentConfigPtrOutput

func (PipelineContentConfigOutput) ToPipelineContentConfigPtrOutputWithContext

func (o PipelineContentConfigOutput) ToPipelineContentConfigPtrOutputWithContext(ctx context.Context) PipelineContentConfigPtrOutput

type PipelineContentConfigPermission

type PipelineContentConfigPermission struct {
	// The permission that you want to give to the AWS user that you specified in `content_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
	Accesses []string `pulumi:"accesses"`
	// The AWS user or group that you want to have access to transcoded files and playlists.
	Grantee *string `pulumi:"grantee"`
	// Specify the type of value that appears in the `content_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
	GranteeType *string `pulumi:"granteeType"`
}

type PipelineContentConfigPermissionArgs

type PipelineContentConfigPermissionArgs struct {
	// The permission that you want to give to the AWS user that you specified in `content_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
	Accesses pulumi.StringArrayInput `pulumi:"accesses"`
	// The AWS user or group that you want to have access to transcoded files and playlists.
	Grantee pulumi.StringPtrInput `pulumi:"grantee"`
	// Specify the type of value that appears in the `content_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
	GranteeType pulumi.StringPtrInput `pulumi:"granteeType"`
}

func (PipelineContentConfigPermissionArgs) ElementType

func (PipelineContentConfigPermissionArgs) ToPipelineContentConfigPermissionOutput

func (i PipelineContentConfigPermissionArgs) ToPipelineContentConfigPermissionOutput() PipelineContentConfigPermissionOutput

func (PipelineContentConfigPermissionArgs) ToPipelineContentConfigPermissionOutputWithContext

func (i PipelineContentConfigPermissionArgs) ToPipelineContentConfigPermissionOutputWithContext(ctx context.Context) PipelineContentConfigPermissionOutput

type PipelineContentConfigPermissionArray

type PipelineContentConfigPermissionArray []PipelineContentConfigPermissionInput

func (PipelineContentConfigPermissionArray) ElementType

func (PipelineContentConfigPermissionArray) ToPipelineContentConfigPermissionArrayOutput

func (i PipelineContentConfigPermissionArray) ToPipelineContentConfigPermissionArrayOutput() PipelineContentConfigPermissionArrayOutput

func (PipelineContentConfigPermissionArray) ToPipelineContentConfigPermissionArrayOutputWithContext

func (i PipelineContentConfigPermissionArray) ToPipelineContentConfigPermissionArrayOutputWithContext(ctx context.Context) PipelineContentConfigPermissionArrayOutput

type PipelineContentConfigPermissionArrayInput

type PipelineContentConfigPermissionArrayInput interface {
	pulumi.Input

	ToPipelineContentConfigPermissionArrayOutput() PipelineContentConfigPermissionArrayOutput
	ToPipelineContentConfigPermissionArrayOutputWithContext(context.Context) PipelineContentConfigPermissionArrayOutput
}

PipelineContentConfigPermissionArrayInput is an input type that accepts PipelineContentConfigPermissionArray and PipelineContentConfigPermissionArrayOutput values. You can construct a concrete instance of `PipelineContentConfigPermissionArrayInput` via:

PipelineContentConfigPermissionArray{ PipelineContentConfigPermissionArgs{...} }

type PipelineContentConfigPermissionArrayOutput

type PipelineContentConfigPermissionArrayOutput struct{ *pulumi.OutputState }

func (PipelineContentConfigPermissionArrayOutput) ElementType

func (PipelineContentConfigPermissionArrayOutput) Index

func (PipelineContentConfigPermissionArrayOutput) ToPipelineContentConfigPermissionArrayOutput

func (o PipelineContentConfigPermissionArrayOutput) ToPipelineContentConfigPermissionArrayOutput() PipelineContentConfigPermissionArrayOutput

func (PipelineContentConfigPermissionArrayOutput) ToPipelineContentConfigPermissionArrayOutputWithContext

func (o PipelineContentConfigPermissionArrayOutput) ToPipelineContentConfigPermissionArrayOutputWithContext(ctx context.Context) PipelineContentConfigPermissionArrayOutput

type PipelineContentConfigPermissionInput

type PipelineContentConfigPermissionInput interface {
	pulumi.Input

	ToPipelineContentConfigPermissionOutput() PipelineContentConfigPermissionOutput
	ToPipelineContentConfigPermissionOutputWithContext(context.Context) PipelineContentConfigPermissionOutput
}

PipelineContentConfigPermissionInput is an input type that accepts PipelineContentConfigPermissionArgs and PipelineContentConfigPermissionOutput values. You can construct a concrete instance of `PipelineContentConfigPermissionInput` via:

PipelineContentConfigPermissionArgs{...}

type PipelineContentConfigPermissionOutput

type PipelineContentConfigPermissionOutput struct{ *pulumi.OutputState }

func (PipelineContentConfigPermissionOutput) Accesses

The permission that you want to give to the AWS user that you specified in `content_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.

func (PipelineContentConfigPermissionOutput) ElementType

func (PipelineContentConfigPermissionOutput) Grantee

The AWS user or group that you want to have access to transcoded files and playlists.

func (PipelineContentConfigPermissionOutput) GranteeType

Specify the type of value that appears in the `content_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.

func (PipelineContentConfigPermissionOutput) ToPipelineContentConfigPermissionOutput

func (o PipelineContentConfigPermissionOutput) ToPipelineContentConfigPermissionOutput() PipelineContentConfigPermissionOutput

func (PipelineContentConfigPermissionOutput) ToPipelineContentConfigPermissionOutputWithContext

func (o PipelineContentConfigPermissionOutput) ToPipelineContentConfigPermissionOutputWithContext(ctx context.Context) PipelineContentConfigPermissionOutput

type PipelineContentConfigPtrInput

type PipelineContentConfigPtrInput interface {
	pulumi.Input

	ToPipelineContentConfigPtrOutput() PipelineContentConfigPtrOutput
	ToPipelineContentConfigPtrOutputWithContext(context.Context) PipelineContentConfigPtrOutput
}

PipelineContentConfigPtrInput is an input type that accepts PipelineContentConfigArgs, PipelineContentConfigPtr and PipelineContentConfigPtrOutput values. You can construct a concrete instance of `PipelineContentConfigPtrInput` via:

        PipelineContentConfigArgs{...}

or:

        nil

type PipelineContentConfigPtrOutput

type PipelineContentConfigPtrOutput struct{ *pulumi.OutputState }

func (PipelineContentConfigPtrOutput) Bucket

The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.

func (PipelineContentConfigPtrOutput) Elem

func (PipelineContentConfigPtrOutput) ElementType

func (PipelineContentConfigPtrOutput) StorageClass

The Amazon S3 storage class, `Standard` or `ReducedRedundancy`, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket.

func (PipelineContentConfigPtrOutput) ToPipelineContentConfigPtrOutput

func (o PipelineContentConfigPtrOutput) ToPipelineContentConfigPtrOutput() PipelineContentConfigPtrOutput

func (PipelineContentConfigPtrOutput) ToPipelineContentConfigPtrOutputWithContext

func (o PipelineContentConfigPtrOutput) ToPipelineContentConfigPtrOutputWithContext(ctx context.Context) PipelineContentConfigPtrOutput

type PipelineInput

type PipelineInput interface {
	pulumi.Input

	ToPipelineOutput() PipelineOutput
	ToPipelineOutputWithContext(ctx context.Context) PipelineOutput
}

type PipelineMap

type PipelineMap map[string]PipelineInput

func (PipelineMap) ElementType

func (PipelineMap) ElementType() reflect.Type

func (PipelineMap) ToPipelineMapOutput

func (i PipelineMap) ToPipelineMapOutput() PipelineMapOutput

func (PipelineMap) ToPipelineMapOutputWithContext

func (i PipelineMap) ToPipelineMapOutputWithContext(ctx context.Context) PipelineMapOutput

type PipelineMapInput

type PipelineMapInput interface {
	pulumi.Input

	ToPipelineMapOutput() PipelineMapOutput
	ToPipelineMapOutputWithContext(context.Context) PipelineMapOutput
}

PipelineMapInput is an input type that accepts PipelineMap and PipelineMapOutput values. You can construct a concrete instance of `PipelineMapInput` via:

PipelineMap{ "key": PipelineArgs{...} }

type PipelineMapOutput

type PipelineMapOutput struct{ *pulumi.OutputState }

func (PipelineMapOutput) ElementType

func (PipelineMapOutput) ElementType() reflect.Type

func (PipelineMapOutput) MapIndex

func (PipelineMapOutput) ToPipelineMapOutput

func (o PipelineMapOutput) ToPipelineMapOutput() PipelineMapOutput

func (PipelineMapOutput) ToPipelineMapOutputWithContext

func (o PipelineMapOutput) ToPipelineMapOutputWithContext(ctx context.Context) PipelineMapOutput

type PipelineNotifications

type PipelineNotifications struct {
	// The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.
	Completed *string `pulumi:"completed"`
	// The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.
	Error *string `pulumi:"error"`
	// The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.
	Progressing *string `pulumi:"progressing"`
	// The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.
	Warning *string `pulumi:"warning"`
}

type PipelineNotificationsArgs

type PipelineNotificationsArgs struct {
	// The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.
	Completed pulumi.StringPtrInput `pulumi:"completed"`
	// The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.
	Error pulumi.StringPtrInput `pulumi:"error"`
	// The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.
	Progressing pulumi.StringPtrInput `pulumi:"progressing"`
	// The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.
	Warning pulumi.StringPtrInput `pulumi:"warning"`
}

func (PipelineNotificationsArgs) ElementType

func (PipelineNotificationsArgs) ElementType() reflect.Type

func (PipelineNotificationsArgs) ToPipelineNotificationsOutput

func (i PipelineNotificationsArgs) ToPipelineNotificationsOutput() PipelineNotificationsOutput

func (PipelineNotificationsArgs) ToPipelineNotificationsOutputWithContext

func (i PipelineNotificationsArgs) ToPipelineNotificationsOutputWithContext(ctx context.Context) PipelineNotificationsOutput

func (PipelineNotificationsArgs) ToPipelineNotificationsPtrOutput

func (i PipelineNotificationsArgs) ToPipelineNotificationsPtrOutput() PipelineNotificationsPtrOutput

func (PipelineNotificationsArgs) ToPipelineNotificationsPtrOutputWithContext

func (i PipelineNotificationsArgs) ToPipelineNotificationsPtrOutputWithContext(ctx context.Context) PipelineNotificationsPtrOutput

type PipelineNotificationsInput

type PipelineNotificationsInput interface {
	pulumi.Input

	ToPipelineNotificationsOutput() PipelineNotificationsOutput
	ToPipelineNotificationsOutputWithContext(context.Context) PipelineNotificationsOutput
}

PipelineNotificationsInput is an input type that accepts PipelineNotificationsArgs and PipelineNotificationsOutput values. You can construct a concrete instance of `PipelineNotificationsInput` via:

PipelineNotificationsArgs{...}

type PipelineNotificationsOutput

type PipelineNotificationsOutput struct{ *pulumi.OutputState }

func (PipelineNotificationsOutput) Completed

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.

func (PipelineNotificationsOutput) ElementType

func (PipelineNotificationsOutput) Error

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.

func (PipelineNotificationsOutput) Progressing

The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.

func (PipelineNotificationsOutput) ToPipelineNotificationsOutput

func (o PipelineNotificationsOutput) ToPipelineNotificationsOutput() PipelineNotificationsOutput

func (PipelineNotificationsOutput) ToPipelineNotificationsOutputWithContext

func (o PipelineNotificationsOutput) ToPipelineNotificationsOutputWithContext(ctx context.Context) PipelineNotificationsOutput

func (PipelineNotificationsOutput) ToPipelineNotificationsPtrOutput

func (o PipelineNotificationsOutput) ToPipelineNotificationsPtrOutput() PipelineNotificationsPtrOutput

func (PipelineNotificationsOutput) ToPipelineNotificationsPtrOutputWithContext

func (o PipelineNotificationsOutput) ToPipelineNotificationsPtrOutputWithContext(ctx context.Context) PipelineNotificationsPtrOutput

func (PipelineNotificationsOutput) Warning

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.

type PipelineNotificationsPtrInput

type PipelineNotificationsPtrInput interface {
	pulumi.Input

	ToPipelineNotificationsPtrOutput() PipelineNotificationsPtrOutput
	ToPipelineNotificationsPtrOutputWithContext(context.Context) PipelineNotificationsPtrOutput
}

PipelineNotificationsPtrInput is an input type that accepts PipelineNotificationsArgs, PipelineNotificationsPtr and PipelineNotificationsPtrOutput values. You can construct a concrete instance of `PipelineNotificationsPtrInput` via:

        PipelineNotificationsArgs{...}

or:

        nil

type PipelineNotificationsPtrOutput

type PipelineNotificationsPtrOutput struct{ *pulumi.OutputState }

func (PipelineNotificationsPtrOutput) Completed

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.

func (PipelineNotificationsPtrOutput) Elem

func (PipelineNotificationsPtrOutput) ElementType

func (PipelineNotificationsPtrOutput) Error

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.

func (PipelineNotificationsPtrOutput) Progressing

The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.

func (PipelineNotificationsPtrOutput) ToPipelineNotificationsPtrOutput

func (o PipelineNotificationsPtrOutput) ToPipelineNotificationsPtrOutput() PipelineNotificationsPtrOutput

func (PipelineNotificationsPtrOutput) ToPipelineNotificationsPtrOutputWithContext

func (o PipelineNotificationsPtrOutput) ToPipelineNotificationsPtrOutputWithContext(ctx context.Context) PipelineNotificationsPtrOutput

func (PipelineNotificationsPtrOutput) Warning

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.

type PipelineOutput

type PipelineOutput struct{ *pulumi.OutputState }

func (PipelineOutput) ElementType

func (PipelineOutput) ElementType() reflect.Type

func (PipelineOutput) ToPipelineOutput

func (o PipelineOutput) ToPipelineOutput() PipelineOutput

func (PipelineOutput) ToPipelineOutputWithContext

func (o PipelineOutput) ToPipelineOutputWithContext(ctx context.Context) PipelineOutput

func (PipelineOutput) ToPipelinePtrOutput

func (o PipelineOutput) ToPipelinePtrOutput() PipelinePtrOutput

func (PipelineOutput) ToPipelinePtrOutputWithContext

func (o PipelineOutput) ToPipelinePtrOutputWithContext(ctx context.Context) PipelinePtrOutput

type PipelinePtrInput

type PipelinePtrInput interface {
	pulumi.Input

	ToPipelinePtrOutput() PipelinePtrOutput
	ToPipelinePtrOutputWithContext(ctx context.Context) PipelinePtrOutput
}

type PipelinePtrOutput

type PipelinePtrOutput struct{ *pulumi.OutputState }

func (PipelinePtrOutput) Elem added in v4.15.0

func (PipelinePtrOutput) ElementType

func (PipelinePtrOutput) ElementType() reflect.Type

func (PipelinePtrOutput) ToPipelinePtrOutput

func (o PipelinePtrOutput) ToPipelinePtrOutput() PipelinePtrOutput

func (PipelinePtrOutput) ToPipelinePtrOutputWithContext

func (o PipelinePtrOutput) ToPipelinePtrOutputWithContext(ctx context.Context) PipelinePtrOutput

type PipelineState

type PipelineState struct {
	// The ARN of the Elastictranscoder pipeline.
	Arn pulumi.StringPtrInput
	// The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.
	AwsKmsKeyArn pulumi.StringPtrInput
	// The ContentConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. (documented below)
	ContentConfig PipelineContentConfigPtrInput
	// The permissions for the `contentConfig` object. (documented below)
	ContentConfigPermissions PipelineContentConfigPermissionArrayInput
	// The Amazon S3 bucket in which you saved the media files that you want to transcode and the graphics that you want to use as watermarks.
	InputBucket pulumi.StringPtrInput
	// The name of the pipeline. Maximum 40 characters
	Name pulumi.StringPtrInput
	// The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. (documented below)
	Notifications PipelineNotificationsPtrInput
	// The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
	OutputBucket pulumi.StringPtrInput
	// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline.
	Role pulumi.StringPtrInput
	// The ThumbnailConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. (documented below)
	ThumbnailConfig PipelineThumbnailConfigPtrInput
	// The permissions for the `thumbnailConfig` object. (documented below)
	ThumbnailConfigPermissions PipelineThumbnailConfigPermissionArrayInput
}

func (PipelineState) ElementType

func (PipelineState) ElementType() reflect.Type

type PipelineThumbnailConfig

type PipelineThumbnailConfig struct {
	// The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
	Bucket *string `pulumi:"bucket"`
	// The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
	StorageClass *string `pulumi:"storageClass"`
}

type PipelineThumbnailConfigArgs

type PipelineThumbnailConfigArgs struct {
	// The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
	Bucket pulumi.StringPtrInput `pulumi:"bucket"`
	// The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
	StorageClass pulumi.StringPtrInput `pulumi:"storageClass"`
}

func (PipelineThumbnailConfigArgs) ElementType

func (PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigOutput

func (i PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigOutput() PipelineThumbnailConfigOutput

func (PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigOutputWithContext

func (i PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigOutputWithContext(ctx context.Context) PipelineThumbnailConfigOutput

func (PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigPtrOutput

func (i PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigPtrOutput() PipelineThumbnailConfigPtrOutput

func (PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigPtrOutputWithContext

func (i PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigPtrOutputWithContext(ctx context.Context) PipelineThumbnailConfigPtrOutput

type PipelineThumbnailConfigInput

type PipelineThumbnailConfigInput interface {
	pulumi.Input

	ToPipelineThumbnailConfigOutput() PipelineThumbnailConfigOutput
	ToPipelineThumbnailConfigOutputWithContext(context.Context) PipelineThumbnailConfigOutput
}

PipelineThumbnailConfigInput is an input type that accepts PipelineThumbnailConfigArgs and PipelineThumbnailConfigOutput values. You can construct a concrete instance of `PipelineThumbnailConfigInput` via:

PipelineThumbnailConfigArgs{...}

type PipelineThumbnailConfigOutput

type PipelineThumbnailConfigOutput struct{ *pulumi.OutputState }

func (PipelineThumbnailConfigOutput) Bucket

The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.

func (PipelineThumbnailConfigOutput) ElementType

func (PipelineThumbnailConfigOutput) StorageClass

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

func (PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigOutput

func (o PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigOutput() PipelineThumbnailConfigOutput

func (PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigOutputWithContext

func (o PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigOutputWithContext(ctx context.Context) PipelineThumbnailConfigOutput

func (PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigPtrOutput

func (o PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigPtrOutput() PipelineThumbnailConfigPtrOutput

func (PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigPtrOutputWithContext

func (o PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigPtrOutputWithContext(ctx context.Context) PipelineThumbnailConfigPtrOutput

type PipelineThumbnailConfigPermission

type PipelineThumbnailConfigPermission struct {
	// The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
	Accesses []string `pulumi:"accesses"`
	// The AWS user or group that you want to have access to thumbnail files.
	Grantee *string `pulumi:"grantee"`
	// Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
	GranteeType *string `pulumi:"granteeType"`
}

type PipelineThumbnailConfigPermissionArgs

type PipelineThumbnailConfigPermissionArgs struct {
	// The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
	Accesses pulumi.StringArrayInput `pulumi:"accesses"`
	// The AWS user or group that you want to have access to thumbnail files.
	Grantee pulumi.StringPtrInput `pulumi:"grantee"`
	// Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
	GranteeType pulumi.StringPtrInput `pulumi:"granteeType"`
}

func (PipelineThumbnailConfigPermissionArgs) ElementType

func (PipelineThumbnailConfigPermissionArgs) ToPipelineThumbnailConfigPermissionOutput

func (i PipelineThumbnailConfigPermissionArgs) ToPipelineThumbnailConfigPermissionOutput() PipelineThumbnailConfigPermissionOutput

func (PipelineThumbnailConfigPermissionArgs) ToPipelineThumbnailConfigPermissionOutputWithContext

func (i PipelineThumbnailConfigPermissionArgs) ToPipelineThumbnailConfigPermissionOutputWithContext(ctx context.Context) PipelineThumbnailConfigPermissionOutput

type PipelineThumbnailConfigPermissionArray

type PipelineThumbnailConfigPermissionArray []PipelineThumbnailConfigPermissionInput

func (PipelineThumbnailConfigPermissionArray) ElementType

func (PipelineThumbnailConfigPermissionArray) ToPipelineThumbnailConfigPermissionArrayOutput

func (i PipelineThumbnailConfigPermissionArray) ToPipelineThumbnailConfigPermissionArrayOutput() PipelineThumbnailConfigPermissionArrayOutput

func (PipelineThumbnailConfigPermissionArray) ToPipelineThumbnailConfigPermissionArrayOutputWithContext

func (i PipelineThumbnailConfigPermissionArray) ToPipelineThumbnailConfigPermissionArrayOutputWithContext(ctx context.Context) PipelineThumbnailConfigPermissionArrayOutput

type PipelineThumbnailConfigPermissionArrayInput

type PipelineThumbnailConfigPermissionArrayInput interface {
	pulumi.Input

	ToPipelineThumbnailConfigPermissionArrayOutput() PipelineThumbnailConfigPermissionArrayOutput
	ToPipelineThumbnailConfigPermissionArrayOutputWithContext(context.Context) PipelineThumbnailConfigPermissionArrayOutput
}

PipelineThumbnailConfigPermissionArrayInput is an input type that accepts PipelineThumbnailConfigPermissionArray and PipelineThumbnailConfigPermissionArrayOutput values. You can construct a concrete instance of `PipelineThumbnailConfigPermissionArrayInput` via:

PipelineThumbnailConfigPermissionArray{ PipelineThumbnailConfigPermissionArgs{...} }

type PipelineThumbnailConfigPermissionArrayOutput

type PipelineThumbnailConfigPermissionArrayOutput struct{ *pulumi.OutputState }

func (PipelineThumbnailConfigPermissionArrayOutput) ElementType

func (PipelineThumbnailConfigPermissionArrayOutput) Index

func (PipelineThumbnailConfigPermissionArrayOutput) ToPipelineThumbnailConfigPermissionArrayOutput

func (o PipelineThumbnailConfigPermissionArrayOutput) ToPipelineThumbnailConfigPermissionArrayOutput() PipelineThumbnailConfigPermissionArrayOutput

func (PipelineThumbnailConfigPermissionArrayOutput) ToPipelineThumbnailConfigPermissionArrayOutputWithContext

func (o PipelineThumbnailConfigPermissionArrayOutput) ToPipelineThumbnailConfigPermissionArrayOutputWithContext(ctx context.Context) PipelineThumbnailConfigPermissionArrayOutput

type PipelineThumbnailConfigPermissionInput

type PipelineThumbnailConfigPermissionInput interface {
	pulumi.Input

	ToPipelineThumbnailConfigPermissionOutput() PipelineThumbnailConfigPermissionOutput
	ToPipelineThumbnailConfigPermissionOutputWithContext(context.Context) PipelineThumbnailConfigPermissionOutput
}

PipelineThumbnailConfigPermissionInput is an input type that accepts PipelineThumbnailConfigPermissionArgs and PipelineThumbnailConfigPermissionOutput values. You can construct a concrete instance of `PipelineThumbnailConfigPermissionInput` via:

PipelineThumbnailConfigPermissionArgs{...}

type PipelineThumbnailConfigPermissionOutput

type PipelineThumbnailConfigPermissionOutput struct{ *pulumi.OutputState }

func (PipelineThumbnailConfigPermissionOutput) Accesses

The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.

func (PipelineThumbnailConfigPermissionOutput) ElementType

func (PipelineThumbnailConfigPermissionOutput) Grantee

The AWS user or group that you want to have access to thumbnail files.

func (PipelineThumbnailConfigPermissionOutput) GranteeType

Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.

func (PipelineThumbnailConfigPermissionOutput) ToPipelineThumbnailConfigPermissionOutput

func (o PipelineThumbnailConfigPermissionOutput) ToPipelineThumbnailConfigPermissionOutput() PipelineThumbnailConfigPermissionOutput

func (PipelineThumbnailConfigPermissionOutput) ToPipelineThumbnailConfigPermissionOutputWithContext

func (o PipelineThumbnailConfigPermissionOutput) ToPipelineThumbnailConfigPermissionOutputWithContext(ctx context.Context) PipelineThumbnailConfigPermissionOutput

type PipelineThumbnailConfigPtrInput

type PipelineThumbnailConfigPtrInput interface {
	pulumi.Input

	ToPipelineThumbnailConfigPtrOutput() PipelineThumbnailConfigPtrOutput
	ToPipelineThumbnailConfigPtrOutputWithContext(context.Context) PipelineThumbnailConfigPtrOutput
}

PipelineThumbnailConfigPtrInput is an input type that accepts PipelineThumbnailConfigArgs, PipelineThumbnailConfigPtr and PipelineThumbnailConfigPtrOutput values. You can construct a concrete instance of `PipelineThumbnailConfigPtrInput` via:

        PipelineThumbnailConfigArgs{...}

or:

        nil

type PipelineThumbnailConfigPtrOutput

type PipelineThumbnailConfigPtrOutput struct{ *pulumi.OutputState }

func (PipelineThumbnailConfigPtrOutput) Bucket

The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.

func (PipelineThumbnailConfigPtrOutput) Elem

func (PipelineThumbnailConfigPtrOutput) ElementType

func (PipelineThumbnailConfigPtrOutput) StorageClass

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

func (PipelineThumbnailConfigPtrOutput) ToPipelineThumbnailConfigPtrOutput

func (o PipelineThumbnailConfigPtrOutput) ToPipelineThumbnailConfigPtrOutput() PipelineThumbnailConfigPtrOutput

func (PipelineThumbnailConfigPtrOutput) ToPipelineThumbnailConfigPtrOutputWithContext

func (o PipelineThumbnailConfigPtrOutput) ToPipelineThumbnailConfigPtrOutputWithContext(ctx context.Context) PipelineThumbnailConfigPtrOutput

type Preset

type Preset struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Audio parameters object (documented below).
	Audio PresetAudioPtrOutput `pulumi:"audio"`
	// Codec options for the audio parameters (documented below)
	AudioCodecOptions PresetAudioCodecOptionsPtrOutput `pulumi:"audioCodecOptions"`
	// The container type for the output file. Valid values are `flac`, `flv`, `fmp4`, `gif`, `mp3`, `mp4`, `mpg`, `mxf`, `oga`, `ogg`, `ts`, and `webm`.
	Container pulumi.StringOutput `pulumi:"container"`
	// A description of the preset (maximum 255 characters)
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the preset. (maximum 40 characters)
	Name pulumi.StringOutput `pulumi:"name"`
	// Thumbnail parameters object (documented below)
	Thumbnails PresetThumbnailsPtrOutput `pulumi:"thumbnails"`
	Type       pulumi.StringOutput       `pulumi:"type"`
	// Video parameters object (documented below)
	Video PresetVideoPtrOutput `pulumi:"video"`
	// Codec options for the video parameters
	VideoCodecOptions pulumi.StringMapOutput `pulumi:"videoCodecOptions"`
	// Watermark parameters for the video parameters (documented below)
	VideoWatermarks PresetVideoWatermarkArrayOutput `pulumi:"videoWatermarks"`
}

Provides an Elastic Transcoder preset resource.

## Example Usage

```go package main

import (

"fmt"

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

```

## Import

Elastic Transcoder presets can be imported using the `id`, e.g.

```sh

$ pulumi import aws:elastictranscoder/preset:Preset basic_preset 1407981661351-cttk8b

```

func GetPreset

func GetPreset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PresetState, opts ...pulumi.ResourceOption) (*Preset, error)

GetPreset gets an existing Preset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPreset

func NewPreset(ctx *pulumi.Context,
	name string, args *PresetArgs, opts ...pulumi.ResourceOption) (*Preset, error)

NewPreset registers a new resource with the given unique name, arguments, and options.

func (*Preset) ElementType

func (*Preset) ElementType() reflect.Type

func (*Preset) ToPresetOutput

func (i *Preset) ToPresetOutput() PresetOutput

func (*Preset) ToPresetOutputWithContext

func (i *Preset) ToPresetOutputWithContext(ctx context.Context) PresetOutput

func (*Preset) ToPresetPtrOutput

func (i *Preset) ToPresetPtrOutput() PresetPtrOutput

func (*Preset) ToPresetPtrOutputWithContext

func (i *Preset) ToPresetPtrOutputWithContext(ctx context.Context) PresetPtrOutput

type PresetArgs

type PresetArgs struct {
	// Audio parameters object (documented below).
	Audio PresetAudioPtrInput
	// Codec options for the audio parameters (documented below)
	AudioCodecOptions PresetAudioCodecOptionsPtrInput
	// The container type for the output file. Valid values are `flac`, `flv`, `fmp4`, `gif`, `mp3`, `mp4`, `mpg`, `mxf`, `oga`, `ogg`, `ts`, and `webm`.
	Container pulumi.StringInput
	// A description of the preset (maximum 255 characters)
	Description pulumi.StringPtrInput
	// The name of the preset. (maximum 40 characters)
	Name pulumi.StringPtrInput
	// Thumbnail parameters object (documented below)
	Thumbnails PresetThumbnailsPtrInput
	Type       pulumi.StringPtrInput
	// Video parameters object (documented below)
	Video PresetVideoPtrInput
	// Codec options for the video parameters
	VideoCodecOptions pulumi.StringMapInput
	// Watermark parameters for the video parameters (documented below)
	VideoWatermarks PresetVideoWatermarkArrayInput
}

The set of arguments for constructing a Preset resource.

func (PresetArgs) ElementType

func (PresetArgs) ElementType() reflect.Type

type PresetArray

type PresetArray []PresetInput

func (PresetArray) ElementType

func (PresetArray) ElementType() reflect.Type

func (PresetArray) ToPresetArrayOutput

func (i PresetArray) ToPresetArrayOutput() PresetArrayOutput

func (PresetArray) ToPresetArrayOutputWithContext

func (i PresetArray) ToPresetArrayOutputWithContext(ctx context.Context) PresetArrayOutput

type PresetArrayInput

type PresetArrayInput interface {
	pulumi.Input

	ToPresetArrayOutput() PresetArrayOutput
	ToPresetArrayOutputWithContext(context.Context) PresetArrayOutput
}

PresetArrayInput is an input type that accepts PresetArray and PresetArrayOutput values. You can construct a concrete instance of `PresetArrayInput` via:

PresetArray{ PresetArgs{...} }

type PresetArrayOutput

type PresetArrayOutput struct{ *pulumi.OutputState }

func (PresetArrayOutput) ElementType

func (PresetArrayOutput) ElementType() reflect.Type

func (PresetArrayOutput) Index

func (PresetArrayOutput) ToPresetArrayOutput

func (o PresetArrayOutput) ToPresetArrayOutput() PresetArrayOutput

func (PresetArrayOutput) ToPresetArrayOutputWithContext

func (o PresetArrayOutput) ToPresetArrayOutputWithContext(ctx context.Context) PresetArrayOutput

type PresetAudio

type PresetAudio struct {
	// 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.
	AudioPackingMode *string `pulumi:"audioPackingMode"`
	// The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.
	BitRate *string `pulumi:"bitRate"`
	// The number of audio channels in the output file
	Channels *string `pulumi:"channels"`
	// The audio codec for the output file. Valid values are `AAC`, `flac`, `mp2`, `mp3`, `pcm`, and `vorbis`.
	Codec *string `pulumi:"codec"`
	// The sample rate of the audio stream in the output file, in hertz. Valid values are: `auto`, `22050`, `32000`, `44100`, `48000`, `96000`
	SampleRate *string `pulumi:"sampleRate"`
}

type PresetAudioArgs

type PresetAudioArgs struct {
	// 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.
	AudioPackingMode pulumi.StringPtrInput `pulumi:"audioPackingMode"`
	// The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.
	BitRate pulumi.StringPtrInput `pulumi:"bitRate"`
	// The number of audio channels in the output file
	Channels pulumi.StringPtrInput `pulumi:"channels"`
	// The audio codec for the output file. Valid values are `AAC`, `flac`, `mp2`, `mp3`, `pcm`, and `vorbis`.
	Codec pulumi.StringPtrInput `pulumi:"codec"`
	// The sample rate of the audio stream in the output file, in hertz. Valid values are: `auto`, `22050`, `32000`, `44100`, `48000`, `96000`
	SampleRate pulumi.StringPtrInput `pulumi:"sampleRate"`
}

func (PresetAudioArgs) ElementType

func (PresetAudioArgs) ElementType() reflect.Type

func (PresetAudioArgs) ToPresetAudioOutput

func (i PresetAudioArgs) ToPresetAudioOutput() PresetAudioOutput

func (PresetAudioArgs) ToPresetAudioOutputWithContext

func (i PresetAudioArgs) ToPresetAudioOutputWithContext(ctx context.Context) PresetAudioOutput

func (PresetAudioArgs) ToPresetAudioPtrOutput

func (i PresetAudioArgs) ToPresetAudioPtrOutput() PresetAudioPtrOutput

func (PresetAudioArgs) ToPresetAudioPtrOutputWithContext

func (i PresetAudioArgs) ToPresetAudioPtrOutputWithContext(ctx context.Context) PresetAudioPtrOutput

type PresetAudioCodecOptions

type PresetAudioCodecOptions struct {
	// The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are `16` and `24`. (FLAC/PCM Only)
	BitDepth *string `pulumi:"bitDepth"`
	// The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)
	BitOrder *string `pulumi:"bitOrder"`
	// If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
	Profile *string `pulumi:"profile"`
	// Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)
	Signed *string `pulumi:"signed"`
}

type PresetAudioCodecOptionsArgs

type PresetAudioCodecOptionsArgs struct {
	// The bit depth of a sample is how many bits of information are included in the audio samples. Valid values are `16` and `24`. (FLAC/PCM Only)
	BitDepth pulumi.StringPtrInput `pulumi:"bitDepth"`
	// The order the bits of a PCM sample are stored in. The supported value is LittleEndian. (PCM Only)
	BitOrder pulumi.StringPtrInput `pulumi:"bitOrder"`
	// If you specified AAC for Audio:Codec, choose the AAC profile for the output file.
	Profile pulumi.StringPtrInput `pulumi:"profile"`
	// Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned). The supported value is Signed. (PCM Only)
	Signed pulumi.StringPtrInput `pulumi:"signed"`
}

func (PresetAudioCodecOptionsArgs) ElementType

func (PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsOutput

func (i PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsOutput() PresetAudioCodecOptionsOutput

func (PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsOutputWithContext

func (i PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsOutputWithContext(ctx context.Context) PresetAudioCodecOptionsOutput

func (PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsPtrOutput

func (i PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsPtrOutput() PresetAudioCodecOptionsPtrOutput

func (PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsPtrOutputWithContext

func (i PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsPtrOutputWithContext(ctx context.Context) PresetAudioCodecOptionsPtrOutput

type PresetAudioCodecOptionsInput

type PresetAudioCodecOptionsInput interface {
	pulumi.Input

	ToPresetAudioCodecOptionsOutput() PresetAudioCodecOptionsOutput
	ToPresetAudioCodecOptionsOutputWithContext(context.Context) PresetAudioCodecOptionsOutput
}

PresetAudioCodecOptionsInput is an input type that accepts PresetAudioCodecOptionsArgs and PresetAudioCodecOptionsOutput values. You can construct a concrete instance of `PresetAudioCodecOptionsInput` via:

PresetAudioCodecOptionsArgs{...}

type PresetAudioCodecOptionsOutput

type PresetAudioCodecOptionsOutput struct{ *pulumi.OutputState }

func (PresetAudioCodecOptionsOutput) BitDepth

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

func (PresetAudioCodecOptionsOutput) BitOrder

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

func (PresetAudioCodecOptionsOutput) ElementType

func (PresetAudioCodecOptionsOutput) Profile

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

func (PresetAudioCodecOptionsOutput) Signed

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

func (PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsOutput

func (o PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsOutput() PresetAudioCodecOptionsOutput

func (PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsOutputWithContext

func (o PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsOutputWithContext(ctx context.Context) PresetAudioCodecOptionsOutput

func (PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsPtrOutput

func (o PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsPtrOutput() PresetAudioCodecOptionsPtrOutput

func (PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsPtrOutputWithContext

func (o PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsPtrOutputWithContext(ctx context.Context) PresetAudioCodecOptionsPtrOutput

type PresetAudioCodecOptionsPtrInput

type PresetAudioCodecOptionsPtrInput interface {
	pulumi.Input

	ToPresetAudioCodecOptionsPtrOutput() PresetAudioCodecOptionsPtrOutput
	ToPresetAudioCodecOptionsPtrOutputWithContext(context.Context) PresetAudioCodecOptionsPtrOutput
}

PresetAudioCodecOptionsPtrInput is an input type that accepts PresetAudioCodecOptionsArgs, PresetAudioCodecOptionsPtr and PresetAudioCodecOptionsPtrOutput values. You can construct a concrete instance of `PresetAudioCodecOptionsPtrInput` via:

        PresetAudioCodecOptionsArgs{...}

or:

        nil

type PresetAudioCodecOptionsPtrOutput

type PresetAudioCodecOptionsPtrOutput struct{ *pulumi.OutputState }

func (PresetAudioCodecOptionsPtrOutput) BitDepth

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

func (PresetAudioCodecOptionsPtrOutput) BitOrder

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

func (PresetAudioCodecOptionsPtrOutput) Elem

func (PresetAudioCodecOptionsPtrOutput) ElementType

func (PresetAudioCodecOptionsPtrOutput) Profile

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

func (PresetAudioCodecOptionsPtrOutput) Signed

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

func (PresetAudioCodecOptionsPtrOutput) ToPresetAudioCodecOptionsPtrOutput

func (o PresetAudioCodecOptionsPtrOutput) ToPresetAudioCodecOptionsPtrOutput() PresetAudioCodecOptionsPtrOutput

func (PresetAudioCodecOptionsPtrOutput) ToPresetAudioCodecOptionsPtrOutputWithContext

func (o PresetAudioCodecOptionsPtrOutput) ToPresetAudioCodecOptionsPtrOutputWithContext(ctx context.Context) PresetAudioCodecOptionsPtrOutput

type PresetAudioInput

type PresetAudioInput interface {
	pulumi.Input

	ToPresetAudioOutput() PresetAudioOutput
	ToPresetAudioOutputWithContext(context.Context) PresetAudioOutput
}

PresetAudioInput is an input type that accepts PresetAudioArgs and PresetAudioOutput values. You can construct a concrete instance of `PresetAudioInput` via:

PresetAudioArgs{...}

type PresetAudioOutput

type PresetAudioOutput struct{ *pulumi.OutputState }

func (PresetAudioOutput) AudioPackingMode

func (o PresetAudioOutput) AudioPackingMode() pulumi.StringPtrOutput

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.

func (PresetAudioOutput) BitRate

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

func (PresetAudioOutput) Channels

The number of audio channels in the output file

func (PresetAudioOutput) Codec

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

func (PresetAudioOutput) ElementType

func (PresetAudioOutput) ElementType() reflect.Type

func (PresetAudioOutput) SampleRate

func (o PresetAudioOutput) SampleRate() pulumi.StringPtrOutput

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

func (PresetAudioOutput) ToPresetAudioOutput

func (o PresetAudioOutput) ToPresetAudioOutput() PresetAudioOutput

func (PresetAudioOutput) ToPresetAudioOutputWithContext

func (o PresetAudioOutput) ToPresetAudioOutputWithContext(ctx context.Context) PresetAudioOutput

func (PresetAudioOutput) ToPresetAudioPtrOutput

func (o PresetAudioOutput) ToPresetAudioPtrOutput() PresetAudioPtrOutput

func (PresetAudioOutput) ToPresetAudioPtrOutputWithContext

func (o PresetAudioOutput) ToPresetAudioPtrOutputWithContext(ctx context.Context) PresetAudioPtrOutput

type PresetAudioPtrInput

type PresetAudioPtrInput interface {
	pulumi.Input

	ToPresetAudioPtrOutput() PresetAudioPtrOutput
	ToPresetAudioPtrOutputWithContext(context.Context) PresetAudioPtrOutput
}

PresetAudioPtrInput is an input type that accepts PresetAudioArgs, PresetAudioPtr and PresetAudioPtrOutput values. You can construct a concrete instance of `PresetAudioPtrInput` via:

        PresetAudioArgs{...}

or:

        nil

func PresetAudioPtr

func PresetAudioPtr(v *PresetAudioArgs) PresetAudioPtrInput

type PresetAudioPtrOutput

type PresetAudioPtrOutput struct{ *pulumi.OutputState }

func (PresetAudioPtrOutput) AudioPackingMode

func (o PresetAudioPtrOutput) AudioPackingMode() pulumi.StringPtrOutput

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.

func (PresetAudioPtrOutput) BitRate

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

func (PresetAudioPtrOutput) Channels

The number of audio channels in the output file

func (PresetAudioPtrOutput) Codec

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

func (PresetAudioPtrOutput) Elem

func (PresetAudioPtrOutput) ElementType

func (PresetAudioPtrOutput) ElementType() reflect.Type

func (PresetAudioPtrOutput) SampleRate

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

func (PresetAudioPtrOutput) ToPresetAudioPtrOutput

func (o PresetAudioPtrOutput) ToPresetAudioPtrOutput() PresetAudioPtrOutput

func (PresetAudioPtrOutput) ToPresetAudioPtrOutputWithContext

func (o PresetAudioPtrOutput) ToPresetAudioPtrOutputWithContext(ctx context.Context) PresetAudioPtrOutput

type PresetInput

type PresetInput interface {
	pulumi.Input

	ToPresetOutput() PresetOutput
	ToPresetOutputWithContext(ctx context.Context) PresetOutput
}

type PresetMap

type PresetMap map[string]PresetInput

func (PresetMap) ElementType

func (PresetMap) ElementType() reflect.Type

func (PresetMap) ToPresetMapOutput

func (i PresetMap) ToPresetMapOutput() PresetMapOutput

func (PresetMap) ToPresetMapOutputWithContext

func (i PresetMap) ToPresetMapOutputWithContext(ctx context.Context) PresetMapOutput

type PresetMapInput

type PresetMapInput interface {
	pulumi.Input

	ToPresetMapOutput() PresetMapOutput
	ToPresetMapOutputWithContext(context.Context) PresetMapOutput
}

PresetMapInput is an input type that accepts PresetMap and PresetMapOutput values. You can construct a concrete instance of `PresetMapInput` via:

PresetMap{ "key": PresetArgs{...} }

type PresetMapOutput

type PresetMapOutput struct{ *pulumi.OutputState }

func (PresetMapOutput) ElementType

func (PresetMapOutput) ElementType() reflect.Type

func (PresetMapOutput) MapIndex

func (PresetMapOutput) ToPresetMapOutput

func (o PresetMapOutput) ToPresetMapOutput() PresetMapOutput

func (PresetMapOutput) ToPresetMapOutputWithContext

func (o PresetMapOutput) ToPresetMapOutputWithContext(ctx context.Context) PresetMapOutput

type PresetOutput

type PresetOutput struct{ *pulumi.OutputState }

func (PresetOutput) ElementType

func (PresetOutput) ElementType() reflect.Type

func (PresetOutput) ToPresetOutput

func (o PresetOutput) ToPresetOutput() PresetOutput

func (PresetOutput) ToPresetOutputWithContext

func (o PresetOutput) ToPresetOutputWithContext(ctx context.Context) PresetOutput

func (PresetOutput) ToPresetPtrOutput

func (o PresetOutput) ToPresetPtrOutput() PresetPtrOutput

func (PresetOutput) ToPresetPtrOutputWithContext

func (o PresetOutput) ToPresetPtrOutputWithContext(ctx context.Context) PresetPtrOutput

type PresetPtrInput

type PresetPtrInput interface {
	pulumi.Input

	ToPresetPtrOutput() PresetPtrOutput
	ToPresetPtrOutputWithContext(ctx context.Context) PresetPtrOutput
}

type PresetPtrOutput

type PresetPtrOutput struct{ *pulumi.OutputState }

func (PresetPtrOutput) Elem added in v4.15.0

func (o PresetPtrOutput) Elem() PresetOutput

func (PresetPtrOutput) ElementType

func (PresetPtrOutput) ElementType() reflect.Type

func (PresetPtrOutput) ToPresetPtrOutput

func (o PresetPtrOutput) ToPresetPtrOutput() PresetPtrOutput

func (PresetPtrOutput) ToPresetPtrOutputWithContext

func (o PresetPtrOutput) ToPresetPtrOutputWithContext(ctx context.Context) PresetPtrOutput

type PresetState

type PresetState struct {
	// Amazon Resource Name (ARN) of the Elastic Transcoder Preset.
	Arn pulumi.StringPtrInput
	// Audio parameters object (documented below).
	Audio PresetAudioPtrInput
	// Codec options for the audio parameters (documented below)
	AudioCodecOptions PresetAudioCodecOptionsPtrInput
	// The container type for the output file. Valid values are `flac`, `flv`, `fmp4`, `gif`, `mp3`, `mp4`, `mpg`, `mxf`, `oga`, `ogg`, `ts`, and `webm`.
	Container pulumi.StringPtrInput
	// A description of the preset (maximum 255 characters)
	Description pulumi.StringPtrInput
	// The name of the preset. (maximum 40 characters)
	Name pulumi.StringPtrInput
	// Thumbnail parameters object (documented below)
	Thumbnails PresetThumbnailsPtrInput
	Type       pulumi.StringPtrInput
	// Video parameters object (documented below)
	Video PresetVideoPtrInput
	// Codec options for the video parameters
	VideoCodecOptions pulumi.StringMapInput
	// Watermark parameters for the video parameters (documented below)
	VideoWatermarks PresetVideoWatermarkArrayInput
}

func (PresetState) ElementType

func (PresetState) ElementType() reflect.Type

type PresetThumbnails

type PresetThumbnails struct {
	// The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9
	AspectRatio *string `pulumi:"aspectRatio"`
	// The format of thumbnails, if any. Valid formats are jpg and png.
	Format *string `pulumi:"format"`
	// 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.
	Interval *string `pulumi:"interval"`
	// 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.
	MaxHeight *string `pulumi:"maxHeight"`
	// 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.
	MaxWidth *string `pulumi:"maxWidth"`
	// 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.
	PaddingPolicy *string `pulumi:"paddingPolicy"`
	// 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 `maxWidth`, `maxHeight`, `sizingPolicy`, and `paddingPolicy` instead of `resolution` and `aspectRatio`. The two groups of settings are mutually exclusive. Do not use them together)
	Resolution *string `pulumi:"resolution"`
	// A value that controls scaling of thumbnails. Valid values are: `Fit`, `Fill`, `Stretch`, `Keep`, `ShrinkToFit`, and `ShrinkToFill`.
	SizingPolicy *string `pulumi:"sizingPolicy"`
}

type PresetThumbnailsArgs

type PresetThumbnailsArgs struct {
	// The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9
	AspectRatio pulumi.StringPtrInput `pulumi:"aspectRatio"`
	// The format of thumbnails, if any. Valid formats are jpg and png.
	Format pulumi.StringPtrInput `pulumi:"format"`
	// 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.
	Interval pulumi.StringPtrInput `pulumi:"interval"`
	// 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.
	MaxHeight pulumi.StringPtrInput `pulumi:"maxHeight"`
	// 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.
	MaxWidth pulumi.StringPtrInput `pulumi:"maxWidth"`
	// 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.
	PaddingPolicy pulumi.StringPtrInput `pulumi:"paddingPolicy"`
	// 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 `maxWidth`, `maxHeight`, `sizingPolicy`, and `paddingPolicy` instead of `resolution` and `aspectRatio`. The two groups of settings are mutually exclusive. Do not use them together)
	Resolution pulumi.StringPtrInput `pulumi:"resolution"`
	// A value that controls scaling of thumbnails. Valid values are: `Fit`, `Fill`, `Stretch`, `Keep`, `ShrinkToFit`, and `ShrinkToFill`.
	SizingPolicy pulumi.StringPtrInput `pulumi:"sizingPolicy"`
}

func (PresetThumbnailsArgs) ElementType

func (PresetThumbnailsArgs) ElementType() reflect.Type

func (PresetThumbnailsArgs) ToPresetThumbnailsOutput

func (i PresetThumbnailsArgs) ToPresetThumbnailsOutput() PresetThumbnailsOutput

func (PresetThumbnailsArgs) ToPresetThumbnailsOutputWithContext

func (i PresetThumbnailsArgs) ToPresetThumbnailsOutputWithContext(ctx context.Context) PresetThumbnailsOutput

func (PresetThumbnailsArgs) ToPresetThumbnailsPtrOutput

func (i PresetThumbnailsArgs) ToPresetThumbnailsPtrOutput() PresetThumbnailsPtrOutput

func (PresetThumbnailsArgs) ToPresetThumbnailsPtrOutputWithContext

func (i PresetThumbnailsArgs) ToPresetThumbnailsPtrOutputWithContext(ctx context.Context) PresetThumbnailsPtrOutput

type PresetThumbnailsInput

type PresetThumbnailsInput interface {
	pulumi.Input

	ToPresetThumbnailsOutput() PresetThumbnailsOutput
	ToPresetThumbnailsOutputWithContext(context.Context) PresetThumbnailsOutput
}

PresetThumbnailsInput is an input type that accepts PresetThumbnailsArgs and PresetThumbnailsOutput values. You can construct a concrete instance of `PresetThumbnailsInput` via:

PresetThumbnailsArgs{...}

type PresetThumbnailsOutput

type PresetThumbnailsOutput struct{ *pulumi.OutputState }

func (PresetThumbnailsOutput) AspectRatio

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

func (PresetThumbnailsOutput) ElementType

func (PresetThumbnailsOutput) ElementType() reflect.Type

func (PresetThumbnailsOutput) Format

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

func (PresetThumbnailsOutput) Interval

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

func (PresetThumbnailsOutput) MaxHeight

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

func (PresetThumbnailsOutput) MaxWidth

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

func (PresetThumbnailsOutput) PaddingPolicy

func (o PresetThumbnailsOutput) PaddingPolicy() pulumi.StringPtrOutput

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.

func (PresetThumbnailsOutput) Resolution

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

func (PresetThumbnailsOutput) SizingPolicy

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

func (PresetThumbnailsOutput) ToPresetThumbnailsOutput

func (o PresetThumbnailsOutput) ToPresetThumbnailsOutput() PresetThumbnailsOutput

func (PresetThumbnailsOutput) ToPresetThumbnailsOutputWithContext

func (o PresetThumbnailsOutput) ToPresetThumbnailsOutputWithContext(ctx context.Context) PresetThumbnailsOutput

func (PresetThumbnailsOutput) ToPresetThumbnailsPtrOutput

func (o PresetThumbnailsOutput) ToPresetThumbnailsPtrOutput() PresetThumbnailsPtrOutput

func (PresetThumbnailsOutput) ToPresetThumbnailsPtrOutputWithContext

func (o PresetThumbnailsOutput) ToPresetThumbnailsPtrOutputWithContext(ctx context.Context) PresetThumbnailsPtrOutput

type PresetThumbnailsPtrInput

type PresetThumbnailsPtrInput interface {
	pulumi.Input

	ToPresetThumbnailsPtrOutput() PresetThumbnailsPtrOutput
	ToPresetThumbnailsPtrOutputWithContext(context.Context) PresetThumbnailsPtrOutput
}

PresetThumbnailsPtrInput is an input type that accepts PresetThumbnailsArgs, PresetThumbnailsPtr and PresetThumbnailsPtrOutput values. You can construct a concrete instance of `PresetThumbnailsPtrInput` via:

        PresetThumbnailsArgs{...}

or:

        nil

type PresetThumbnailsPtrOutput

type PresetThumbnailsPtrOutput struct{ *pulumi.OutputState }

func (PresetThumbnailsPtrOutput) AspectRatio

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

func (PresetThumbnailsPtrOutput) Elem

func (PresetThumbnailsPtrOutput) ElementType

func (PresetThumbnailsPtrOutput) ElementType() reflect.Type

func (PresetThumbnailsPtrOutput) Format

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

func (PresetThumbnailsPtrOutput) Interval

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

func (PresetThumbnailsPtrOutput) MaxHeight

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

func (PresetThumbnailsPtrOutput) MaxWidth

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

func (PresetThumbnailsPtrOutput) PaddingPolicy

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

func (PresetThumbnailsPtrOutput) Resolution

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

func (PresetThumbnailsPtrOutput) SizingPolicy

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

func (PresetThumbnailsPtrOutput) ToPresetThumbnailsPtrOutput

func (o PresetThumbnailsPtrOutput) ToPresetThumbnailsPtrOutput() PresetThumbnailsPtrOutput

func (PresetThumbnailsPtrOutput) ToPresetThumbnailsPtrOutputWithContext

func (o PresetThumbnailsPtrOutput) ToPresetThumbnailsPtrOutputWithContext(ctx context.Context) PresetThumbnailsPtrOutput

type PresetVideo

type PresetVideo struct {
	// The display aspect ratio of the video in the output file. Valid values are: `auto`, `1:1`, `4:3`, `3:2`, `16:9`. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values `maxWidth`, `maxHeight`, `sizingPolicy`, `paddingPolicy`, and `displayAspectRatio` instead of `resolution` and `aspectRatio`.)
	AspectRatio *string `pulumi:"aspectRatio"`
	// 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.
	BitRate *string `pulumi:"bitRate"`
	// The video codec for the output file. Valid values are `gif`, `H.264`, `mpeg2`, `vp8`, and `vp9`.
	Codec *string `pulumi:"codec"`
	// 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.
	DisplayAspectRatio *string `pulumi:"displayAspectRatio"`
	// 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.
	FixedGop *string `pulumi:"fixedGop"`
	// 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`.
	FrameRate *string `pulumi:"frameRate"`
	// The maximum number of frames between key frames. Not applicable for containers of type gif.
	KeyframesMaxDist *string `pulumi:"keyframesMaxDist"`
	// 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.
	MaxFrameRate *string `pulumi:"maxFrameRate"`
	// 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.
	MaxHeight *string `pulumi:"maxHeight"`
	// 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.
	MaxWidth *string `pulumi:"maxWidth"`
	// 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 `maxWidth` and `maxHeight`.
	PaddingPolicy *string `pulumi:"paddingPolicy"`
	// The width and height of the video in the output file, in pixels. Valid values are `auto` and `widthxheight`. (see note for `aspectRatio`)
	Resolution *string `pulumi:"resolution"`
	// A value that controls scaling of the output video. Valid values are: `Fit`, `Fill`, `Stretch`, `Keep`, `ShrinkToFit`, `ShrinkToFill`.
	SizingPolicy *string `pulumi:"sizingPolicy"`
}

type PresetVideoArgs

type PresetVideoArgs struct {
	// The display aspect ratio of the video in the output file. Valid values are: `auto`, `1:1`, `4:3`, `3:2`, `16:9`. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values `maxWidth`, `maxHeight`, `sizingPolicy`, `paddingPolicy`, and `displayAspectRatio` instead of `resolution` and `aspectRatio`.)
	AspectRatio pulumi.StringPtrInput `pulumi:"aspectRatio"`
	// 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.
	BitRate pulumi.StringPtrInput `pulumi:"bitRate"`
	// The video codec for the output file. Valid values are `gif`, `H.264`, `mpeg2`, `vp8`, and `vp9`.
	Codec pulumi.StringPtrInput `pulumi:"codec"`
	// 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.
	DisplayAspectRatio pulumi.StringPtrInput `pulumi:"displayAspectRatio"`
	// 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.
	FixedGop pulumi.StringPtrInput `pulumi:"fixedGop"`
	// 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`.
	FrameRate pulumi.StringPtrInput `pulumi:"frameRate"`
	// The maximum number of frames between key frames. Not applicable for containers of type gif.
	KeyframesMaxDist pulumi.StringPtrInput `pulumi:"keyframesMaxDist"`
	// 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.
	MaxFrameRate pulumi.StringPtrInput `pulumi:"maxFrameRate"`
	// 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.
	MaxHeight pulumi.StringPtrInput `pulumi:"maxHeight"`
	// 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.
	MaxWidth pulumi.StringPtrInput `pulumi:"maxWidth"`
	// 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 `maxWidth` and `maxHeight`.
	PaddingPolicy pulumi.StringPtrInput `pulumi:"paddingPolicy"`
	// The width and height of the video in the output file, in pixels. Valid values are `auto` and `widthxheight`. (see note for `aspectRatio`)
	Resolution pulumi.StringPtrInput `pulumi:"resolution"`
	// A value that controls scaling of the output video. Valid values are: `Fit`, `Fill`, `Stretch`, `Keep`, `ShrinkToFit`, `ShrinkToFill`.
	SizingPolicy pulumi.StringPtrInput `pulumi:"sizingPolicy"`
}

func (PresetVideoArgs) ElementType

func (PresetVideoArgs) ElementType() reflect.Type

func (PresetVideoArgs) ToPresetVideoOutput

func (i PresetVideoArgs) ToPresetVideoOutput() PresetVideoOutput

func (PresetVideoArgs) ToPresetVideoOutputWithContext

func (i PresetVideoArgs) ToPresetVideoOutputWithContext(ctx context.Context) PresetVideoOutput

func (PresetVideoArgs) ToPresetVideoPtrOutput

func (i PresetVideoArgs) ToPresetVideoPtrOutput() PresetVideoPtrOutput

func (PresetVideoArgs) ToPresetVideoPtrOutputWithContext

func (i PresetVideoArgs) ToPresetVideoPtrOutputWithContext(ctx context.Context) PresetVideoPtrOutput

type PresetVideoInput

type PresetVideoInput interface {
	pulumi.Input

	ToPresetVideoOutput() PresetVideoOutput
	ToPresetVideoOutputWithContext(context.Context) PresetVideoOutput
}

PresetVideoInput is an input type that accepts PresetVideoArgs and PresetVideoOutput values. You can construct a concrete instance of `PresetVideoInput` via:

PresetVideoArgs{...}

type PresetVideoOutput

type PresetVideoOutput struct{ *pulumi.OutputState }

func (PresetVideoOutput) AspectRatio

func (o PresetVideoOutput) AspectRatio() pulumi.StringPtrOutput

The display aspect ratio of the video in the output file. Valid values are: `auto`, `1:1`, `4:3`, `3:2`, `16:9`. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values `maxWidth`, `maxHeight`, `sizingPolicy`, `paddingPolicy`, and `displayAspectRatio` instead of `resolution` and `aspectRatio`.)

func (PresetVideoOutput) BitRate

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.

func (PresetVideoOutput) Codec

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

func (PresetVideoOutput) DisplayAspectRatio

func (o PresetVideoOutput) DisplayAspectRatio() pulumi.StringPtrOutput

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.

func (PresetVideoOutput) ElementType

func (PresetVideoOutput) ElementType() reflect.Type

func (PresetVideoOutput) FixedGop

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.

func (PresetVideoOutput) FrameRate

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`.

func (PresetVideoOutput) KeyframesMaxDist

func (o PresetVideoOutput) KeyframesMaxDist() pulumi.StringPtrOutput

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

func (PresetVideoOutput) MaxFrameRate

func (o PresetVideoOutput) MaxFrameRate() pulumi.StringPtrOutput

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.

func (PresetVideoOutput) MaxHeight

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.

func (PresetVideoOutput) MaxWidth

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.

func (PresetVideoOutput) PaddingPolicy

func (o PresetVideoOutput) PaddingPolicy() pulumi.StringPtrOutput

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 `maxWidth` and `maxHeight`.

func (PresetVideoOutput) Resolution

func (o PresetVideoOutput) Resolution() pulumi.StringPtrOutput

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

func (PresetVideoOutput) SizingPolicy

func (o PresetVideoOutput) SizingPolicy() pulumi.StringPtrOutput

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

func (PresetVideoOutput) ToPresetVideoOutput

func (o PresetVideoOutput) ToPresetVideoOutput() PresetVideoOutput

func (PresetVideoOutput) ToPresetVideoOutputWithContext

func (o PresetVideoOutput) ToPresetVideoOutputWithContext(ctx context.Context) PresetVideoOutput

func (PresetVideoOutput) ToPresetVideoPtrOutput

func (o PresetVideoOutput) ToPresetVideoPtrOutput() PresetVideoPtrOutput

func (PresetVideoOutput) ToPresetVideoPtrOutputWithContext

func (o PresetVideoOutput) ToPresetVideoPtrOutputWithContext(ctx context.Context) PresetVideoPtrOutput

type PresetVideoPtrInput

type PresetVideoPtrInput interface {
	pulumi.Input

	ToPresetVideoPtrOutput() PresetVideoPtrOutput
	ToPresetVideoPtrOutputWithContext(context.Context) PresetVideoPtrOutput
}

PresetVideoPtrInput is an input type that accepts PresetVideoArgs, PresetVideoPtr and PresetVideoPtrOutput values. You can construct a concrete instance of `PresetVideoPtrInput` via:

        PresetVideoArgs{...}

or:

        nil

func PresetVideoPtr

func PresetVideoPtr(v *PresetVideoArgs) PresetVideoPtrInput

type PresetVideoPtrOutput

type PresetVideoPtrOutput struct{ *pulumi.OutputState }

func (PresetVideoPtrOutput) AspectRatio

The display aspect ratio of the video in the output file. Valid values are: `auto`, `1:1`, `4:3`, `3:2`, `16:9`. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values `maxWidth`, `maxHeight`, `sizingPolicy`, `paddingPolicy`, and `displayAspectRatio` instead of `resolution` and `aspectRatio`.)

func (PresetVideoPtrOutput) BitRate

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.

func (PresetVideoPtrOutput) Codec

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

func (PresetVideoPtrOutput) DisplayAspectRatio

func (o PresetVideoPtrOutput) DisplayAspectRatio() pulumi.StringPtrOutput

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.

func (PresetVideoPtrOutput) Elem

func (PresetVideoPtrOutput) ElementType

func (PresetVideoPtrOutput) ElementType() reflect.Type

func (PresetVideoPtrOutput) FixedGop

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.

func (PresetVideoPtrOutput) FrameRate

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`.

func (PresetVideoPtrOutput) KeyframesMaxDist

func (o PresetVideoPtrOutput) KeyframesMaxDist() pulumi.StringPtrOutput

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

func (PresetVideoPtrOutput) MaxFrameRate

func (o PresetVideoPtrOutput) MaxFrameRate() pulumi.StringPtrOutput

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.

func (PresetVideoPtrOutput) MaxHeight

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.

func (PresetVideoPtrOutput) MaxWidth

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.

func (PresetVideoPtrOutput) PaddingPolicy

func (o PresetVideoPtrOutput) PaddingPolicy() pulumi.StringPtrOutput

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 `maxWidth` and `maxHeight`.

func (PresetVideoPtrOutput) Resolution

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

func (PresetVideoPtrOutput) SizingPolicy

func (o PresetVideoPtrOutput) SizingPolicy() pulumi.StringPtrOutput

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

func (PresetVideoPtrOutput) ToPresetVideoPtrOutput

func (o PresetVideoPtrOutput) ToPresetVideoPtrOutput() PresetVideoPtrOutput

func (PresetVideoPtrOutput) ToPresetVideoPtrOutputWithContext

func (o PresetVideoPtrOutput) ToPresetVideoPtrOutputWithContext(ctx context.Context) PresetVideoPtrOutput

type PresetVideoWatermark

type PresetVideoWatermark struct {
	// The horizontal position of the watermark unless you specify a nonzero value for `horzontalOffset`.
	HorizontalAlign *string `pulumi:"horizontalAlign"`
	// The amount by which you want the horizontal position of the watermark to be offset from the position specified by `horizontalAlign`.
	HorizontalOffset *string `pulumi:"horizontalOffset"`
	// 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.
	Id *string `pulumi:"id"`
	// The maximum height of the watermark.
	MaxHeight *string `pulumi:"maxHeight"`
	// The maximum width of the watermark.
	MaxWidth *string `pulumi:"maxWidth"`
	// A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.
	Opacity *string `pulumi:"opacity"`
	// A value that controls scaling of the watermark. Valid values are: `Fit`, `Stretch`, `ShrinkToFit`
	SizingPolicy *string `pulumi:"sizingPolicy"`
	// A value that determines how Elastic Transcoder interprets values that you specified for `video_watermarks.horizontal_offset`, `video_watermarks.vertical_offset`, `video_watermarks.max_width`, and `video_watermarks.max_height`. Valid values are `Content` and `Frame`.
	Target *string `pulumi:"target"`
	// The vertical position of the watermark unless you specify a nonzero value for `verticalAlign`. Valid values are `Top`, `Bottom`, `Center`.
	VerticalAlign *string `pulumi:"verticalAlign"`
	// The amount by which you want the vertical position of the watermark to be offset from the position specified by `verticalAlign`
	VerticalOffset *string `pulumi:"verticalOffset"`
}

type PresetVideoWatermarkArgs

type PresetVideoWatermarkArgs struct {
	// The horizontal position of the watermark unless you specify a nonzero value for `horzontalOffset`.
	HorizontalAlign pulumi.StringPtrInput `pulumi:"horizontalAlign"`
	// The amount by which you want the horizontal position of the watermark to be offset from the position specified by `horizontalAlign`.
	HorizontalOffset pulumi.StringPtrInput `pulumi:"horizontalOffset"`
	// 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.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The maximum height of the watermark.
	MaxHeight pulumi.StringPtrInput `pulumi:"maxHeight"`
	// The maximum width of the watermark.
	MaxWidth pulumi.StringPtrInput `pulumi:"maxWidth"`
	// A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.
	Opacity pulumi.StringPtrInput `pulumi:"opacity"`
	// A value that controls scaling of the watermark. Valid values are: `Fit`, `Stretch`, `ShrinkToFit`
	SizingPolicy pulumi.StringPtrInput `pulumi:"sizingPolicy"`
	// A value that determines how Elastic Transcoder interprets values that you specified for `video_watermarks.horizontal_offset`, `video_watermarks.vertical_offset`, `video_watermarks.max_width`, and `video_watermarks.max_height`. Valid values are `Content` and `Frame`.
	Target pulumi.StringPtrInput `pulumi:"target"`
	// The vertical position of the watermark unless you specify a nonzero value for `verticalAlign`. Valid values are `Top`, `Bottom`, `Center`.
	VerticalAlign pulumi.StringPtrInput `pulumi:"verticalAlign"`
	// The amount by which you want the vertical position of the watermark to be offset from the position specified by `verticalAlign`
	VerticalOffset pulumi.StringPtrInput `pulumi:"verticalOffset"`
}

func (PresetVideoWatermarkArgs) ElementType

func (PresetVideoWatermarkArgs) ElementType() reflect.Type

func (PresetVideoWatermarkArgs) ToPresetVideoWatermarkOutput

func (i PresetVideoWatermarkArgs) ToPresetVideoWatermarkOutput() PresetVideoWatermarkOutput

func (PresetVideoWatermarkArgs) ToPresetVideoWatermarkOutputWithContext

func (i PresetVideoWatermarkArgs) ToPresetVideoWatermarkOutputWithContext(ctx context.Context) PresetVideoWatermarkOutput

type PresetVideoWatermarkArray

type PresetVideoWatermarkArray []PresetVideoWatermarkInput

func (PresetVideoWatermarkArray) ElementType

func (PresetVideoWatermarkArray) ElementType() reflect.Type

func (PresetVideoWatermarkArray) ToPresetVideoWatermarkArrayOutput

func (i PresetVideoWatermarkArray) ToPresetVideoWatermarkArrayOutput() PresetVideoWatermarkArrayOutput

func (PresetVideoWatermarkArray) ToPresetVideoWatermarkArrayOutputWithContext

func (i PresetVideoWatermarkArray) ToPresetVideoWatermarkArrayOutputWithContext(ctx context.Context) PresetVideoWatermarkArrayOutput

type PresetVideoWatermarkArrayInput

type PresetVideoWatermarkArrayInput interface {
	pulumi.Input

	ToPresetVideoWatermarkArrayOutput() PresetVideoWatermarkArrayOutput
	ToPresetVideoWatermarkArrayOutputWithContext(context.Context) PresetVideoWatermarkArrayOutput
}

PresetVideoWatermarkArrayInput is an input type that accepts PresetVideoWatermarkArray and PresetVideoWatermarkArrayOutput values. You can construct a concrete instance of `PresetVideoWatermarkArrayInput` via:

PresetVideoWatermarkArray{ PresetVideoWatermarkArgs{...} }

type PresetVideoWatermarkArrayOutput

type PresetVideoWatermarkArrayOutput struct{ *pulumi.OutputState }

func (PresetVideoWatermarkArrayOutput) ElementType

func (PresetVideoWatermarkArrayOutput) Index

func (PresetVideoWatermarkArrayOutput) ToPresetVideoWatermarkArrayOutput

func (o PresetVideoWatermarkArrayOutput) ToPresetVideoWatermarkArrayOutput() PresetVideoWatermarkArrayOutput

func (PresetVideoWatermarkArrayOutput) ToPresetVideoWatermarkArrayOutputWithContext

func (o PresetVideoWatermarkArrayOutput) ToPresetVideoWatermarkArrayOutputWithContext(ctx context.Context) PresetVideoWatermarkArrayOutput

type PresetVideoWatermarkInput

type PresetVideoWatermarkInput interface {
	pulumi.Input

	ToPresetVideoWatermarkOutput() PresetVideoWatermarkOutput
	ToPresetVideoWatermarkOutputWithContext(context.Context) PresetVideoWatermarkOutput
}

PresetVideoWatermarkInput is an input type that accepts PresetVideoWatermarkArgs and PresetVideoWatermarkOutput values. You can construct a concrete instance of `PresetVideoWatermarkInput` via:

PresetVideoWatermarkArgs{...}

type PresetVideoWatermarkOutput

type PresetVideoWatermarkOutput struct{ *pulumi.OutputState }

func (PresetVideoWatermarkOutput) ElementType

func (PresetVideoWatermarkOutput) ElementType() reflect.Type

func (PresetVideoWatermarkOutput) HorizontalAlign

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

func (PresetVideoWatermarkOutput) HorizontalOffset

func (o PresetVideoWatermarkOutput) HorizontalOffset() pulumi.StringPtrOutput

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

func (PresetVideoWatermarkOutput) Id

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.

func (PresetVideoWatermarkOutput) MaxHeight

The maximum height of the watermark.

func (PresetVideoWatermarkOutput) MaxWidth

The maximum width of the watermark.

func (PresetVideoWatermarkOutput) Opacity

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

func (PresetVideoWatermarkOutput) SizingPolicy

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

func (PresetVideoWatermarkOutput) Target

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

func (PresetVideoWatermarkOutput) ToPresetVideoWatermarkOutput

func (o PresetVideoWatermarkOutput) ToPresetVideoWatermarkOutput() PresetVideoWatermarkOutput

func (PresetVideoWatermarkOutput) ToPresetVideoWatermarkOutputWithContext

func (o PresetVideoWatermarkOutput) ToPresetVideoWatermarkOutputWithContext(ctx context.Context) PresetVideoWatermarkOutput

func (PresetVideoWatermarkOutput) VerticalAlign

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

func (PresetVideoWatermarkOutput) VerticalOffset

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

Jump to

Keyboard shortcuts

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