elastictranscoder

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	pulumi.CustomResourceState

	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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/elastictranscoder_pipeline.html.markdown.

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.

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 added in v1.19.0

func (PipelineArgs) ElementType() reflect.Type

type PipelineContentConfig added in v1.19.0

type PipelineContentConfig 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 PipelineContentConfigArgs added in v1.19.0

type PipelineContentConfigArgs 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 (PipelineContentConfigArgs) ElementType added in v1.19.0

func (PipelineContentConfigArgs) ElementType() reflect.Type

func (PipelineContentConfigArgs) ToPipelineContentConfigOutput added in v1.19.0

func (i PipelineContentConfigArgs) ToPipelineContentConfigOutput() PipelineContentConfigOutput

func (PipelineContentConfigArgs) ToPipelineContentConfigOutputWithContext added in v1.19.0

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

func (PipelineContentConfigArgs) ToPipelineContentConfigPtrOutput added in v1.19.0

func (i PipelineContentConfigArgs) ToPipelineContentConfigPtrOutput() PipelineContentConfigPtrOutput

func (PipelineContentConfigArgs) ToPipelineContentConfigPtrOutputWithContext added in v1.19.0

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

type PipelineContentConfigInput added in v1.19.0

type PipelineContentConfigInput interface {
	pulumi.Input

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

type PipelineContentConfigOutput added in v1.19.0

type PipelineContentConfigOutput struct{ *pulumi.OutputState }

func (PipelineContentConfigOutput) Bucket added in v1.19.0

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

func (PipelineContentConfigOutput) ElementType added in v1.19.0

func (PipelineContentConfigOutput) StorageClass added in v1.19.0

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 (PipelineContentConfigOutput) ToPipelineContentConfigOutput added in v1.19.0

func (o PipelineContentConfigOutput) ToPipelineContentConfigOutput() PipelineContentConfigOutput

func (PipelineContentConfigOutput) ToPipelineContentConfigOutputWithContext added in v1.19.0

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

func (PipelineContentConfigOutput) ToPipelineContentConfigPtrOutput added in v1.19.0

func (o PipelineContentConfigOutput) ToPipelineContentConfigPtrOutput() PipelineContentConfigPtrOutput

func (PipelineContentConfigOutput) ToPipelineContentConfigPtrOutputWithContext added in v1.19.0

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

type PipelineContentConfigPermission added in v1.19.0

type PipelineContentConfigPermission struct {
	// The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`.
	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.
	GranteeType *string `pulumi:"granteeType"`
}

type PipelineContentConfigPermissionArgs added in v1.19.0

type PipelineContentConfigPermissionArgs struct {
	// The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`.
	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.
	GranteeType pulumi.StringPtrInput `pulumi:"granteeType"`
}

func (PipelineContentConfigPermissionArgs) ElementType added in v1.19.0

func (PipelineContentConfigPermissionArgs) ToPipelineContentConfigPermissionOutput added in v1.19.0

func (i PipelineContentConfigPermissionArgs) ToPipelineContentConfigPermissionOutput() PipelineContentConfigPermissionOutput

func (PipelineContentConfigPermissionArgs) ToPipelineContentConfigPermissionOutputWithContext added in v1.19.0

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

type PipelineContentConfigPermissionArray added in v1.19.0

type PipelineContentConfigPermissionArray []PipelineContentConfigPermissionInput

func (PipelineContentConfigPermissionArray) ElementType added in v1.19.0

func (PipelineContentConfigPermissionArray) ToPipelineContentConfigPermissionArrayOutput added in v1.19.0

func (i PipelineContentConfigPermissionArray) ToPipelineContentConfigPermissionArrayOutput() PipelineContentConfigPermissionArrayOutput

func (PipelineContentConfigPermissionArray) ToPipelineContentConfigPermissionArrayOutputWithContext added in v1.19.0

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

type PipelineContentConfigPermissionArrayInput added in v1.19.0

type PipelineContentConfigPermissionArrayInput interface {
	pulumi.Input

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

type PipelineContentConfigPermissionArrayOutput added in v1.19.0

type PipelineContentConfigPermissionArrayOutput struct{ *pulumi.OutputState }

func (PipelineContentConfigPermissionArrayOutput) ElementType added in v1.19.0

func (PipelineContentConfigPermissionArrayOutput) Index added in v1.19.0

func (PipelineContentConfigPermissionArrayOutput) ToPipelineContentConfigPermissionArrayOutput added in v1.19.0

func (o PipelineContentConfigPermissionArrayOutput) ToPipelineContentConfigPermissionArrayOutput() PipelineContentConfigPermissionArrayOutput

func (PipelineContentConfigPermissionArrayOutput) ToPipelineContentConfigPermissionArrayOutputWithContext added in v1.19.0

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

type PipelineContentConfigPermissionInput added in v1.19.0

type PipelineContentConfigPermissionInput interface {
	pulumi.Input

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

type PipelineContentConfigPermissionOutput added in v1.19.0

type PipelineContentConfigPermissionOutput struct{ *pulumi.OutputState }

func (PipelineContentConfigPermissionOutput) Accesses added in v1.19.0

The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`.

func (PipelineContentConfigPermissionOutput) ElementType added in v1.19.0

func (PipelineContentConfigPermissionOutput) Grantee added in v1.19.0

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

func (PipelineContentConfigPermissionOutput) GranteeType added in v1.19.0

Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object.

func (PipelineContentConfigPermissionOutput) ToPipelineContentConfigPermissionOutput added in v1.19.0

func (o PipelineContentConfigPermissionOutput) ToPipelineContentConfigPermissionOutput() PipelineContentConfigPermissionOutput

func (PipelineContentConfigPermissionOutput) ToPipelineContentConfigPermissionOutputWithContext added in v1.19.0

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

type PipelineContentConfigPtrInput added in v1.19.0

type PipelineContentConfigPtrInput interface {
	pulumi.Input

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

func PipelineContentConfigPtr added in v1.19.0

func PipelineContentConfigPtr(v *PipelineContentConfigArgs) PipelineContentConfigPtrInput

type PipelineContentConfigPtrOutput added in v1.19.0

type PipelineContentConfigPtrOutput struct{ *pulumi.OutputState }

func (PipelineContentConfigPtrOutput) Bucket added in v1.19.0

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

func (PipelineContentConfigPtrOutput) Elem added in v1.19.0

func (PipelineContentConfigPtrOutput) ElementType added in v1.19.0

func (PipelineContentConfigPtrOutput) StorageClass added in v1.19.0

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 (PipelineContentConfigPtrOutput) ToPipelineContentConfigPtrOutput added in v1.19.0

func (o PipelineContentConfigPtrOutput) ToPipelineContentConfigPtrOutput() PipelineContentConfigPtrOutput

func (PipelineContentConfigPtrOutput) ToPipelineContentConfigPtrOutputWithContext added in v1.19.0

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

type PipelineNotifications added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (PipelineNotificationsArgs) ElementType() reflect.Type

func (PipelineNotificationsArgs) ToPipelineNotificationsOutput added in v1.19.0

func (i PipelineNotificationsArgs) ToPipelineNotificationsOutput() PipelineNotificationsOutput

func (PipelineNotificationsArgs) ToPipelineNotificationsOutputWithContext added in v1.19.0

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

func (PipelineNotificationsArgs) ToPipelineNotificationsPtrOutput added in v1.19.0

func (i PipelineNotificationsArgs) ToPipelineNotificationsPtrOutput() PipelineNotificationsPtrOutput

func (PipelineNotificationsArgs) ToPipelineNotificationsPtrOutputWithContext added in v1.19.0

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

type PipelineNotificationsInput added in v1.19.0

type PipelineNotificationsInput interface {
	pulumi.Input

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

type PipelineNotificationsOutput added in v1.19.0

type PipelineNotificationsOutput struct{ *pulumi.OutputState }

func (PipelineNotificationsOutput) Completed added in v1.19.0

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 added in v1.19.0

func (PipelineNotificationsOutput) Error added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o PipelineNotificationsOutput) ToPipelineNotificationsOutput() PipelineNotificationsOutput

func (PipelineNotificationsOutput) ToPipelineNotificationsOutputWithContext added in v1.19.0

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

func (PipelineNotificationsOutput) ToPipelineNotificationsPtrOutput added in v1.19.0

func (o PipelineNotificationsOutput) ToPipelineNotificationsPtrOutput() PipelineNotificationsPtrOutput

func (PipelineNotificationsOutput) ToPipelineNotificationsPtrOutputWithContext added in v1.19.0

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

func (PipelineNotificationsOutput) Warning added in v1.19.0

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 added in v1.19.0

type PipelineNotificationsPtrInput interface {
	pulumi.Input

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

func PipelineNotificationsPtr added in v1.19.0

func PipelineNotificationsPtr(v *PipelineNotificationsArgs) PipelineNotificationsPtrInput

type PipelineNotificationsPtrOutput added in v1.19.0

type PipelineNotificationsPtrOutput struct{ *pulumi.OutputState }

func (PipelineNotificationsPtrOutput) Completed added in v1.19.0

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 added in v1.19.0

func (PipelineNotificationsPtrOutput) ElementType added in v1.19.0

func (PipelineNotificationsPtrOutput) Error added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o PipelineNotificationsPtrOutput) ToPipelineNotificationsPtrOutput() PipelineNotificationsPtrOutput

func (PipelineNotificationsPtrOutput) ToPipelineNotificationsPtrOutputWithContext added in v1.19.0

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

func (PipelineNotificationsPtrOutput) Warning added in v1.19.0

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 PipelineState

type PipelineState struct {
	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 added in v1.19.0

func (PipelineState) ElementType() reflect.Type

type PipelineThumbnailConfig added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigOutput added in v1.19.0

func (i PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigOutput() PipelineThumbnailConfigOutput

func (PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigOutputWithContext added in v1.19.0

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

func (PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigPtrOutput added in v1.19.0

func (i PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigPtrOutput() PipelineThumbnailConfigPtrOutput

func (PipelineThumbnailConfigArgs) ToPipelineThumbnailConfigPtrOutputWithContext added in v1.19.0

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

type PipelineThumbnailConfigInput added in v1.19.0

type PipelineThumbnailConfigInput interface {
	pulumi.Input

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

type PipelineThumbnailConfigOutput added in v1.19.0

type PipelineThumbnailConfigOutput struct{ *pulumi.OutputState }

func (PipelineThumbnailConfigOutput) Bucket added in v1.19.0

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

func (PipelineThumbnailConfigOutput) ElementType added in v1.19.0

func (PipelineThumbnailConfigOutput) StorageClass added in v1.19.0

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 added in v1.19.0

func (o PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigOutput() PipelineThumbnailConfigOutput

func (PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigOutputWithContext added in v1.19.0

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

func (PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigPtrOutput added in v1.19.0

func (o PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigPtrOutput() PipelineThumbnailConfigPtrOutput

func (PipelineThumbnailConfigOutput) ToPipelineThumbnailConfigPtrOutputWithContext added in v1.19.0

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

type PipelineThumbnailConfigPermission added in v1.19.0

type PipelineThumbnailConfigPermission struct {
	// The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`.
	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.
	GranteeType *string `pulumi:"granteeType"`
}

type PipelineThumbnailConfigPermissionArgs added in v1.19.0

type PipelineThumbnailConfigPermissionArgs struct {
	// The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`.
	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.
	GranteeType pulumi.StringPtrInput `pulumi:"granteeType"`
}

func (PipelineThumbnailConfigPermissionArgs) ElementType added in v1.19.0

func (PipelineThumbnailConfigPermissionArgs) ToPipelineThumbnailConfigPermissionOutput added in v1.19.0

func (i PipelineThumbnailConfigPermissionArgs) ToPipelineThumbnailConfigPermissionOutput() PipelineThumbnailConfigPermissionOutput

func (PipelineThumbnailConfigPermissionArgs) ToPipelineThumbnailConfigPermissionOutputWithContext added in v1.19.0

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

type PipelineThumbnailConfigPermissionArray added in v1.19.0

type PipelineThumbnailConfigPermissionArray []PipelineThumbnailConfigPermissionInput

func (PipelineThumbnailConfigPermissionArray) ElementType added in v1.19.0

func (PipelineThumbnailConfigPermissionArray) ToPipelineThumbnailConfigPermissionArrayOutput added in v1.19.0

func (i PipelineThumbnailConfigPermissionArray) ToPipelineThumbnailConfigPermissionArrayOutput() PipelineThumbnailConfigPermissionArrayOutput

func (PipelineThumbnailConfigPermissionArray) ToPipelineThumbnailConfigPermissionArrayOutputWithContext added in v1.19.0

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

type PipelineThumbnailConfigPermissionArrayInput added in v1.19.0

type PipelineThumbnailConfigPermissionArrayInput interface {
	pulumi.Input

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

type PipelineThumbnailConfigPermissionArrayOutput added in v1.19.0

type PipelineThumbnailConfigPermissionArrayOutput struct{ *pulumi.OutputState }

func (PipelineThumbnailConfigPermissionArrayOutput) ElementType added in v1.19.0

func (PipelineThumbnailConfigPermissionArrayOutput) Index added in v1.19.0

func (PipelineThumbnailConfigPermissionArrayOutput) ToPipelineThumbnailConfigPermissionArrayOutput added in v1.19.0

func (o PipelineThumbnailConfigPermissionArrayOutput) ToPipelineThumbnailConfigPermissionArrayOutput() PipelineThumbnailConfigPermissionArrayOutput

func (PipelineThumbnailConfigPermissionArrayOutput) ToPipelineThumbnailConfigPermissionArrayOutputWithContext added in v1.19.0

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

type PipelineThumbnailConfigPermissionInput added in v1.19.0

type PipelineThumbnailConfigPermissionInput interface {
	pulumi.Input

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

type PipelineThumbnailConfigPermissionOutput added in v1.19.0

type PipelineThumbnailConfigPermissionOutput struct{ *pulumi.OutputState }

func (PipelineThumbnailConfigPermissionOutput) Accesses added in v1.19.0

The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`.

func (PipelineThumbnailConfigPermissionOutput) ElementType added in v1.19.0

func (PipelineThumbnailConfigPermissionOutput) Grantee added in v1.19.0

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

func (PipelineThumbnailConfigPermissionOutput) GranteeType added in v1.19.0

Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object.

func (PipelineThumbnailConfigPermissionOutput) ToPipelineThumbnailConfigPermissionOutput added in v1.19.0

func (o PipelineThumbnailConfigPermissionOutput) ToPipelineThumbnailConfigPermissionOutput() PipelineThumbnailConfigPermissionOutput

func (PipelineThumbnailConfigPermissionOutput) ToPipelineThumbnailConfigPermissionOutputWithContext added in v1.19.0

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

type PipelineThumbnailConfigPtrInput added in v1.19.0

type PipelineThumbnailConfigPtrInput interface {
	pulumi.Input

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

func PipelineThumbnailConfigPtr added in v1.19.0

func PipelineThumbnailConfigPtr(v *PipelineThumbnailConfigArgs) PipelineThumbnailConfigPtrInput

type PipelineThumbnailConfigPtrOutput added in v1.19.0

type PipelineThumbnailConfigPtrOutput struct{ *pulumi.OutputState }

func (PipelineThumbnailConfigPtrOutput) Bucket added in v1.19.0

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

func (PipelineThumbnailConfigPtrOutput) Elem added in v1.19.0

func (PipelineThumbnailConfigPtrOutput) ElementType added in v1.19.0

func (PipelineThumbnailConfigPtrOutput) StorageClass added in v1.19.0

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 added in v1.19.0

func (o PipelineThumbnailConfigPtrOutput) ToPipelineThumbnailConfigPtrOutput() PipelineThumbnailConfigPtrOutput

func (PipelineThumbnailConfigPtrOutput) ToPipelineThumbnailConfigPtrOutputWithContext added in v1.19.0

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

type Preset

type Preset struct {
	pulumi.CustomResourceState

	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"`
	VideoCodecOptions pulumi.MapOutput     `pulumi:"videoCodecOptions"`
	// Watermark parameters for the video parameters (documented below)
	// * `videoCodecOptions` (Optional, Forces new resource) Codec options for the video parameters
	VideoWatermarks PresetVideoWatermarkArrayOutput `pulumi:"videoWatermarks"`
}

Provides an Elastic Transcoder preset resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/elastictranscoder_preset.html.markdown.

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.

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
	VideoCodecOptions pulumi.MapInput
	// Watermark parameters for the video parameters (documented below)
	// * `videoCodecOptions` (Optional, Forces new resource) Codec options for the video parameters
	VideoWatermarks PresetVideoWatermarkArrayInput
}

The set of arguments for constructing a Preset resource.

func (PresetArgs) ElementType added in v1.19.0

func (PresetArgs) ElementType() reflect.Type

type PresetAudio added in v1.19.0

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 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 number of audio channels in the output file
	Channels *string `pulumi:"channels"`
	// The video codec for the output file. Valid values are `gif`, `H.264`, `mpeg2`, `vp8`, and `vp9`.
	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 added in v1.19.0

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 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 number of audio channels in the output file
	Channels pulumi.StringPtrInput `pulumi:"channels"`
	// The video codec for the output file. Valid values are `gif`, `H.264`, `mpeg2`, `vp8`, and `vp9`.
	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 added in v1.19.0

func (PresetAudioArgs) ElementType() reflect.Type

func (PresetAudioArgs) ToPresetAudioOutput added in v1.19.0

func (i PresetAudioArgs) ToPresetAudioOutput() PresetAudioOutput

func (PresetAudioArgs) ToPresetAudioOutputWithContext added in v1.19.0

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

func (PresetAudioArgs) ToPresetAudioPtrOutput added in v1.19.0

func (i PresetAudioArgs) ToPresetAudioPtrOutput() PresetAudioPtrOutput

func (PresetAudioArgs) ToPresetAudioPtrOutputWithContext added in v1.19.0

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

type PresetAudioCodecOptions added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsOutput added in v1.19.0

func (i PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsOutput() PresetAudioCodecOptionsOutput

func (PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsOutputWithContext added in v1.19.0

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

func (PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsPtrOutput added in v1.19.0

func (i PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsPtrOutput() PresetAudioCodecOptionsPtrOutput

func (PresetAudioCodecOptionsArgs) ToPresetAudioCodecOptionsPtrOutputWithContext added in v1.19.0

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

type PresetAudioCodecOptionsInput added in v1.19.0

type PresetAudioCodecOptionsInput interface {
	pulumi.Input

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

type PresetAudioCodecOptionsOutput added in v1.19.0

type PresetAudioCodecOptionsOutput struct{ *pulumi.OutputState }

func (PresetAudioCodecOptionsOutput) BitDepth added in v1.19.0

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 added in v1.19.0

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

func (PresetAudioCodecOptionsOutput) ElementType added in v1.19.0

func (PresetAudioCodecOptionsOutput) Profile added in v1.19.0

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

func (PresetAudioCodecOptionsOutput) Signed added in v1.19.0

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 added in v1.19.0

func (o PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsOutput() PresetAudioCodecOptionsOutput

func (PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsOutputWithContext added in v1.19.0

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

func (PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsPtrOutput added in v1.19.0

func (o PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsPtrOutput() PresetAudioCodecOptionsPtrOutput

func (PresetAudioCodecOptionsOutput) ToPresetAudioCodecOptionsPtrOutputWithContext added in v1.19.0

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

type PresetAudioCodecOptionsPtrInput added in v1.19.0

type PresetAudioCodecOptionsPtrInput interface {
	pulumi.Input

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

func PresetAudioCodecOptionsPtr added in v1.19.0

func PresetAudioCodecOptionsPtr(v *PresetAudioCodecOptionsArgs) PresetAudioCodecOptionsPtrInput

type PresetAudioCodecOptionsPtrOutput added in v1.19.0

type PresetAudioCodecOptionsPtrOutput struct{ *pulumi.OutputState }

func (PresetAudioCodecOptionsPtrOutput) BitDepth added in v1.19.0

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 added in v1.19.0

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

func (PresetAudioCodecOptionsPtrOutput) Elem added in v1.19.0

func (PresetAudioCodecOptionsPtrOutput) ElementType added in v1.19.0

func (PresetAudioCodecOptionsPtrOutput) Profile added in v1.19.0

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

func (PresetAudioCodecOptionsPtrOutput) Signed added in v1.19.0

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 added in v1.19.0

func (o PresetAudioCodecOptionsPtrOutput) ToPresetAudioCodecOptionsPtrOutput() PresetAudioCodecOptionsPtrOutput

func (PresetAudioCodecOptionsPtrOutput) ToPresetAudioCodecOptionsPtrOutputWithContext added in v1.19.0

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

type PresetAudioInput added in v1.19.0

type PresetAudioInput interface {
	pulumi.Input

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

type PresetAudioOutput added in v1.19.0

type PresetAudioOutput struct{ *pulumi.OutputState }

func (PresetAudioOutput) AudioPackingMode added in v1.19.0

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 added in v1.19.0

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 (PresetAudioOutput) Channels added in v1.19.0

The number of audio channels in the output file

func (PresetAudioOutput) Codec added in v1.19.0

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

func (PresetAudioOutput) ElementType added in v1.19.0

func (PresetAudioOutput) ElementType() reflect.Type

func (PresetAudioOutput) SampleRate added in v1.19.0

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 added in v1.19.0

func (o PresetAudioOutput) ToPresetAudioOutput() PresetAudioOutput

func (PresetAudioOutput) ToPresetAudioOutputWithContext added in v1.19.0

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

func (PresetAudioOutput) ToPresetAudioPtrOutput added in v1.19.0

func (o PresetAudioOutput) ToPresetAudioPtrOutput() PresetAudioPtrOutput

func (PresetAudioOutput) ToPresetAudioPtrOutputWithContext added in v1.19.0

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

type PresetAudioPtrInput added in v1.19.0

type PresetAudioPtrInput interface {
	pulumi.Input

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

func PresetAudioPtr added in v1.19.0

func PresetAudioPtr(v *PresetAudioArgs) PresetAudioPtrInput

type PresetAudioPtrOutput added in v1.19.0

type PresetAudioPtrOutput struct{ *pulumi.OutputState }

func (PresetAudioPtrOutput) AudioPackingMode added in v1.19.0

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 added in v1.19.0

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 (PresetAudioPtrOutput) Channels added in v1.19.0

The number of audio channels in the output file

func (PresetAudioPtrOutput) Codec added in v1.19.0

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

func (PresetAudioPtrOutput) Elem added in v1.19.0

func (PresetAudioPtrOutput) ElementType added in v1.19.0

func (PresetAudioPtrOutput) ElementType() reflect.Type

func (PresetAudioPtrOutput) SampleRate added in v1.19.0

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 added in v1.19.0

func (o PresetAudioPtrOutput) ToPresetAudioPtrOutput() PresetAudioPtrOutput

func (PresetAudioPtrOutput) ToPresetAudioPtrOutputWithContext added in v1.19.0

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

type PresetState

type PresetState struct {
	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
	VideoCodecOptions pulumi.MapInput
	// Watermark parameters for the video parameters (documented below)
	// * `videoCodecOptions` (Optional, Forces new resource) Codec options for the video parameters
	VideoWatermarks PresetVideoWatermarkArrayInput
}

func (PresetState) ElementType added in v1.19.0

func (PresetState) ElementType() reflect.Type

type PresetThumbnails added in v1.19.0

type PresetThumbnails 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 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 the watermark.
	MaxHeight *string `pulumi:"maxHeight"`
	// The maximum width of the watermark.
	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 watermark. Valid values are: `Fit`, `Stretch`, `ShrinkToFit`
	SizingPolicy *string `pulumi:"sizingPolicy"`
}

type PresetThumbnailsArgs added in v1.19.0

type PresetThumbnailsArgs 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 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 the watermark.
	MaxHeight pulumi.StringPtrInput `pulumi:"maxHeight"`
	// The maximum width of the watermark.
	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 watermark. Valid values are: `Fit`, `Stretch`, `ShrinkToFit`
	SizingPolicy pulumi.StringPtrInput `pulumi:"sizingPolicy"`
}

func (PresetThumbnailsArgs) ElementType added in v1.19.0

func (PresetThumbnailsArgs) ElementType() reflect.Type

func (PresetThumbnailsArgs) ToPresetThumbnailsOutput added in v1.19.0

func (i PresetThumbnailsArgs) ToPresetThumbnailsOutput() PresetThumbnailsOutput

func (PresetThumbnailsArgs) ToPresetThumbnailsOutputWithContext added in v1.19.0

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

func (PresetThumbnailsArgs) ToPresetThumbnailsPtrOutput added in v1.19.0

func (i PresetThumbnailsArgs) ToPresetThumbnailsPtrOutput() PresetThumbnailsPtrOutput

func (PresetThumbnailsArgs) ToPresetThumbnailsPtrOutputWithContext added in v1.19.0

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

type PresetThumbnailsInput added in v1.19.0

type PresetThumbnailsInput interface {
	pulumi.Input

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

type PresetThumbnailsOutput added in v1.19.0

type PresetThumbnailsOutput struct{ *pulumi.OutputState }

func (PresetThumbnailsOutput) AspectRatio added in v1.19.0

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 (PresetThumbnailsOutput) ElementType added in v1.19.0

func (PresetThumbnailsOutput) ElementType() reflect.Type

func (PresetThumbnailsOutput) Format added in v1.19.0

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

func (PresetThumbnailsOutput) Interval added in v1.19.0

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 added in v1.19.0

The maximum height of the watermark.

func (PresetThumbnailsOutput) MaxWidth added in v1.19.0

The maximum width of the watermark.

func (PresetThumbnailsOutput) PaddingPolicy added in v1.19.0

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 the output video to make the total size of the output video match the values that you specified for `maxWidth` and `maxHeight`.

func (PresetThumbnailsOutput) Resolution added in v1.19.0

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

func (PresetThumbnailsOutput) SizingPolicy added in v1.19.0

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

func (PresetThumbnailsOutput) ToPresetThumbnailsOutput added in v1.19.0

func (o PresetThumbnailsOutput) ToPresetThumbnailsOutput() PresetThumbnailsOutput

func (PresetThumbnailsOutput) ToPresetThumbnailsOutputWithContext added in v1.19.0

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

func (PresetThumbnailsOutput) ToPresetThumbnailsPtrOutput added in v1.19.0

func (o PresetThumbnailsOutput) ToPresetThumbnailsPtrOutput() PresetThumbnailsPtrOutput

func (PresetThumbnailsOutput) ToPresetThumbnailsPtrOutputWithContext added in v1.19.0

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

type PresetThumbnailsPtrInput added in v1.19.0

type PresetThumbnailsPtrInput interface {
	pulumi.Input

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

func PresetThumbnailsPtr added in v1.19.0

func PresetThumbnailsPtr(v *PresetThumbnailsArgs) PresetThumbnailsPtrInput

type PresetThumbnailsPtrOutput added in v1.19.0

type PresetThumbnailsPtrOutput struct{ *pulumi.OutputState }

func (PresetThumbnailsPtrOutput) AspectRatio added in v1.19.0

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 (PresetThumbnailsPtrOutput) Elem added in v1.19.0

func (PresetThumbnailsPtrOutput) ElementType added in v1.19.0

func (PresetThumbnailsPtrOutput) ElementType() reflect.Type

func (PresetThumbnailsPtrOutput) Format added in v1.19.0

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

func (PresetThumbnailsPtrOutput) Interval added in v1.19.0

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 added in v1.19.0

The maximum height of the watermark.

func (PresetThumbnailsPtrOutput) MaxWidth added in v1.19.0

The maximum width of the watermark.

func (PresetThumbnailsPtrOutput) PaddingPolicy added in v1.19.0

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 (PresetThumbnailsPtrOutput) Resolution added in v1.19.0

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

func (PresetThumbnailsPtrOutput) SizingPolicy added in v1.19.0

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

func (PresetThumbnailsPtrOutput) ToPresetThumbnailsPtrOutput added in v1.19.0

func (o PresetThumbnailsPtrOutput) ToPresetThumbnailsPtrOutput() PresetThumbnailsPtrOutput

func (PresetThumbnailsPtrOutput) ToPresetThumbnailsPtrOutputWithContext added in v1.19.0

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

type PresetVideo added in v1.19.0

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 watermark.
	MaxHeight *string `pulumi:"maxHeight"`
	// The maximum width of the watermark.
	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 watermark. Valid values are: `Fit`, `Stretch`, `ShrinkToFit`
	SizingPolicy *string `pulumi:"sizingPolicy"`
}

type PresetVideoArgs added in v1.19.0

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 watermark.
	MaxHeight pulumi.StringPtrInput `pulumi:"maxHeight"`
	// The maximum width of the watermark.
	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 watermark. Valid values are: `Fit`, `Stretch`, `ShrinkToFit`
	SizingPolicy pulumi.StringPtrInput `pulumi:"sizingPolicy"`
}

func (PresetVideoArgs) ElementType added in v1.19.0

func (PresetVideoArgs) ElementType() reflect.Type

func (PresetVideoArgs) ToPresetVideoOutput added in v1.19.0

func (i PresetVideoArgs) ToPresetVideoOutput() PresetVideoOutput

func (PresetVideoArgs) ToPresetVideoOutputWithContext added in v1.19.0

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

func (PresetVideoArgs) ToPresetVideoPtrOutput added in v1.19.0

func (i PresetVideoArgs) ToPresetVideoPtrOutput() PresetVideoPtrOutput

func (PresetVideoArgs) ToPresetVideoPtrOutputWithContext added in v1.19.0

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

type PresetVideoInput added in v1.19.0

type PresetVideoInput interface {
	pulumi.Input

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

type PresetVideoOutput added in v1.19.0

type PresetVideoOutput struct{ *pulumi.OutputState }

func (PresetVideoOutput) AspectRatio added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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

func (PresetVideoOutput) DisplayAspectRatio added in v1.19.0

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 added in v1.19.0

func (PresetVideoOutput) ElementType() reflect.Type

func (PresetVideoOutput) FixedGop added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o PresetVideoOutput) KeyframesMaxDist() pulumi.StringPtrOutput

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

func (PresetVideoOutput) MaxFrameRate added in v1.19.0

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 added in v1.19.0

The maximum height of the watermark.

func (PresetVideoOutput) MaxWidth added in v1.19.0

The maximum width of the watermark.

func (PresetVideoOutput) PaddingPolicy added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o PresetVideoOutput) SizingPolicy() pulumi.StringPtrOutput

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

func (PresetVideoOutput) ToPresetVideoOutput added in v1.19.0

func (o PresetVideoOutput) ToPresetVideoOutput() PresetVideoOutput

func (PresetVideoOutput) ToPresetVideoOutputWithContext added in v1.19.0

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

func (PresetVideoOutput) ToPresetVideoPtrOutput added in v1.19.0

func (o PresetVideoOutput) ToPresetVideoPtrOutput() PresetVideoPtrOutput

func (PresetVideoOutput) ToPresetVideoPtrOutputWithContext added in v1.19.0

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

type PresetVideoPtrInput added in v1.19.0

type PresetVideoPtrInput interface {
	pulumi.Input

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

func PresetVideoPtr added in v1.19.0

func PresetVideoPtr(v *PresetVideoArgs) PresetVideoPtrInput

type PresetVideoPtrOutput added in v1.19.0

type PresetVideoPtrOutput struct{ *pulumi.OutputState }

func (PresetVideoPtrOutput) AspectRatio added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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

func (PresetVideoPtrOutput) DisplayAspectRatio added in v1.19.0

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 added in v1.19.0

func (PresetVideoPtrOutput) ElementType added in v1.19.0

func (PresetVideoPtrOutput) ElementType() reflect.Type

func (PresetVideoPtrOutput) FixedGop added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o PresetVideoPtrOutput) KeyframesMaxDist() pulumi.StringPtrOutput

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

func (PresetVideoPtrOutput) MaxFrameRate added in v1.19.0

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 added in v1.19.0

The maximum height of the watermark.

func (PresetVideoPtrOutput) MaxWidth added in v1.19.0

The maximum width of the watermark.

func (PresetVideoPtrOutput) PaddingPolicy added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (o PresetVideoPtrOutput) SizingPolicy() pulumi.StringPtrOutput

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

func (PresetVideoPtrOutput) ToPresetVideoPtrOutput added in v1.19.0

func (o PresetVideoPtrOutput) ToPresetVideoPtrOutput() PresetVideoPtrOutput

func (PresetVideoPtrOutput) ToPresetVideoPtrOutputWithContext added in v1.19.0

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

type PresetVideoWatermark added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (PresetVideoWatermarkArgs) ElementType() reflect.Type

func (PresetVideoWatermarkArgs) ToPresetVideoWatermarkOutput added in v1.19.0

func (i PresetVideoWatermarkArgs) ToPresetVideoWatermarkOutput() PresetVideoWatermarkOutput

func (PresetVideoWatermarkArgs) ToPresetVideoWatermarkOutputWithContext added in v1.19.0

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

type PresetVideoWatermarkArray added in v1.19.0

type PresetVideoWatermarkArray []PresetVideoWatermarkInput

func (PresetVideoWatermarkArray) ElementType added in v1.19.0

func (PresetVideoWatermarkArray) ElementType() reflect.Type

func (PresetVideoWatermarkArray) ToPresetVideoWatermarkArrayOutput added in v1.19.0

func (i PresetVideoWatermarkArray) ToPresetVideoWatermarkArrayOutput() PresetVideoWatermarkArrayOutput

func (PresetVideoWatermarkArray) ToPresetVideoWatermarkArrayOutputWithContext added in v1.19.0

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

type PresetVideoWatermarkArrayInput added in v1.19.0

type PresetVideoWatermarkArrayInput interface {
	pulumi.Input

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

type PresetVideoWatermarkArrayOutput added in v1.19.0

type PresetVideoWatermarkArrayOutput struct{ *pulumi.OutputState }

func (PresetVideoWatermarkArrayOutput) ElementType added in v1.19.0

func (PresetVideoWatermarkArrayOutput) Index added in v1.19.0

func (PresetVideoWatermarkArrayOutput) ToPresetVideoWatermarkArrayOutput added in v1.19.0

func (o PresetVideoWatermarkArrayOutput) ToPresetVideoWatermarkArrayOutput() PresetVideoWatermarkArrayOutput

func (PresetVideoWatermarkArrayOutput) ToPresetVideoWatermarkArrayOutputWithContext added in v1.19.0

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

type PresetVideoWatermarkInput added in v1.19.0

type PresetVideoWatermarkInput interface {
	pulumi.Input

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

type PresetVideoWatermarkOutput added in v1.19.0

type PresetVideoWatermarkOutput struct{ *pulumi.OutputState }

func (PresetVideoWatermarkOutput) ElementType added in v1.19.0

func (PresetVideoWatermarkOutput) ElementType() reflect.Type

func (PresetVideoWatermarkOutput) HorizontalAlign added in v1.19.0

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

func (PresetVideoWatermarkOutput) HorizontalOffset added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

The maximum height of the watermark.

func (PresetVideoWatermarkOutput) MaxWidth added in v1.19.0

The maximum width of the watermark.

func (PresetVideoWatermarkOutput) Opacity added in v1.19.0

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

func (PresetVideoWatermarkOutput) SizingPolicy added in v1.19.0

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

func (PresetVideoWatermarkOutput) Target added in v1.19.0

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 added in v1.19.0

func (o PresetVideoWatermarkOutput) ToPresetVideoWatermarkOutput() PresetVideoWatermarkOutput

func (PresetVideoWatermarkOutput) ToPresetVideoWatermarkOutputWithContext added in v1.19.0

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

func (PresetVideoWatermarkOutput) VerticalAlign added in v1.19.0

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

func (PresetVideoWatermarkOutput) VerticalOffset added in v1.19.0

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