elastictranscoder

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 4 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

	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.

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

func (PipelineArgs) ElementType() reflect.Type

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
}

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

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
}

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`

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
}

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 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
}

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
}

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

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
}

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

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

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
}

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
}

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

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.

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
}

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

	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.

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

func (PresetArgs) ElementType() reflect.Type

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
}

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
}

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
}

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
}

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

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
}

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
}

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
}

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
}

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
}

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
}

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