mediaconvert

package
v3.38.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue struct {
	pulumi.CustomResourceState

	// The Arn of the queue
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A description of the queue
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A unique identifier describing the queue
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are `ON_DEMAND` or `RESERVED`. Default to `ON_DEMAND`.
	PricingPlan pulumi.StringPtrOutput `pulumi:"pricingPlan"`
	// A detail pricing plan of the  reserved queue. See below.
	ReservationPlanSettings QueueReservationPlanSettingsOutput `pulumi:"reservationPlanSettings"`
	// A status of the queue. Valid values are `ACTIVE` or `RESERVED`. Default to `PAUSED`.
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides an AWS Elemental MediaConvert Queue.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/mediaconvert"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mediaconvert.NewQueue(ctx, "test", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Media Convert Queue can be imported via the queue name, e.g.

```sh

$ pulumi import aws:mediaconvert/queue:Queue test tf-test-queue

```

func GetQueue

func GetQueue(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *QueueState, opts ...pulumi.ResourceOption) (*Queue, error)

GetQueue gets an existing Queue 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 NewQueue

func NewQueue(ctx *pulumi.Context,
	name string, args *QueueArgs, opts ...pulumi.ResourceOption) (*Queue, error)

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

func (*Queue) ElementType added in v3.13.0

func (*Queue) ElementType() reflect.Type

func (*Queue) ToQueueOutput added in v3.13.0

func (i *Queue) ToQueueOutput() QueueOutput

func (*Queue) ToQueueOutputWithContext added in v3.13.0

func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput

func (*Queue) ToQueuePtrOutput added in v3.25.0

func (i *Queue) ToQueuePtrOutput() QueuePtrOutput

func (*Queue) ToQueuePtrOutputWithContext added in v3.25.0

func (i *Queue) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueueArgs

type QueueArgs struct {
	// A description of the queue
	Description pulumi.StringPtrInput
	// A unique identifier describing the queue
	Name pulumi.StringPtrInput
	// Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are `ON_DEMAND` or `RESERVED`. Default to `ON_DEMAND`.
	PricingPlan pulumi.StringPtrInput
	// A detail pricing plan of the  reserved queue. See below.
	ReservationPlanSettings QueueReservationPlanSettingsPtrInput
	// A status of the queue. Valid values are `ACTIVE` or `RESERVED`. Default to `PAUSED`.
	Status pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Queue resource.

func (QueueArgs) ElementType

func (QueueArgs) ElementType() reflect.Type

type QueueArray added in v3.25.0

type QueueArray []QueueInput

func (QueueArray) ElementType added in v3.25.0

func (QueueArray) ElementType() reflect.Type

func (QueueArray) ToQueueArrayOutput added in v3.25.0

func (i QueueArray) ToQueueArrayOutput() QueueArrayOutput

func (QueueArray) ToQueueArrayOutputWithContext added in v3.25.0

func (i QueueArray) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput

type QueueArrayInput added in v3.25.0

type QueueArrayInput interface {
	pulumi.Input

	ToQueueArrayOutput() QueueArrayOutput
	ToQueueArrayOutputWithContext(context.Context) QueueArrayOutput
}

QueueArrayInput is an input type that accepts QueueArray and QueueArrayOutput values. You can construct a concrete instance of `QueueArrayInput` via:

QueueArray{ QueueArgs{...} }

type QueueArrayOutput added in v3.25.0

type QueueArrayOutput struct{ *pulumi.OutputState }

func (QueueArrayOutput) ElementType added in v3.25.0

func (QueueArrayOutput) ElementType() reflect.Type

func (QueueArrayOutput) Index added in v3.25.0

func (QueueArrayOutput) ToQueueArrayOutput added in v3.25.0

func (o QueueArrayOutput) ToQueueArrayOutput() QueueArrayOutput

func (QueueArrayOutput) ToQueueArrayOutputWithContext added in v3.25.0

func (o QueueArrayOutput) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput

type QueueInput added in v3.13.0

type QueueInput interface {
	pulumi.Input

	ToQueueOutput() QueueOutput
	ToQueueOutputWithContext(ctx context.Context) QueueOutput
}

type QueueMap added in v3.25.0

type QueueMap map[string]QueueInput

func (QueueMap) ElementType added in v3.25.0

func (QueueMap) ElementType() reflect.Type

func (QueueMap) ToQueueMapOutput added in v3.25.0

func (i QueueMap) ToQueueMapOutput() QueueMapOutput

func (QueueMap) ToQueueMapOutputWithContext added in v3.25.0

func (i QueueMap) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput

type QueueMapInput added in v3.25.0

type QueueMapInput interface {
	pulumi.Input

	ToQueueMapOutput() QueueMapOutput
	ToQueueMapOutputWithContext(context.Context) QueueMapOutput
}

QueueMapInput is an input type that accepts QueueMap and QueueMapOutput values. You can construct a concrete instance of `QueueMapInput` via:

QueueMap{ "key": QueueArgs{...} }

type QueueMapOutput added in v3.25.0

type QueueMapOutput struct{ *pulumi.OutputState }

func (QueueMapOutput) ElementType added in v3.25.0

func (QueueMapOutput) ElementType() reflect.Type

func (QueueMapOutput) MapIndex added in v3.25.0

func (QueueMapOutput) ToQueueMapOutput added in v3.25.0

func (o QueueMapOutput) ToQueueMapOutput() QueueMapOutput

func (QueueMapOutput) ToQueueMapOutputWithContext added in v3.25.0

func (o QueueMapOutput) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput

type QueueOutput added in v3.13.0

type QueueOutput struct {
	*pulumi.OutputState
}

func (QueueOutput) ElementType added in v3.13.0

func (QueueOutput) ElementType() reflect.Type

func (QueueOutput) ToQueueOutput added in v3.13.0

func (o QueueOutput) ToQueueOutput() QueueOutput

func (QueueOutput) ToQueueOutputWithContext added in v3.13.0

func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput

func (QueueOutput) ToQueuePtrOutput added in v3.25.0

func (o QueueOutput) ToQueuePtrOutput() QueuePtrOutput

func (QueueOutput) ToQueuePtrOutputWithContext added in v3.25.0

func (o QueueOutput) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueuePtrInput added in v3.25.0

type QueuePtrInput interface {
	pulumi.Input

	ToQueuePtrOutput() QueuePtrOutput
	ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput
}

type QueuePtrOutput added in v3.25.0

type QueuePtrOutput struct {
	*pulumi.OutputState
}

func (QueuePtrOutput) ElementType added in v3.25.0

func (QueuePtrOutput) ElementType() reflect.Type

func (QueuePtrOutput) ToQueuePtrOutput added in v3.25.0

func (o QueuePtrOutput) ToQueuePtrOutput() QueuePtrOutput

func (QueuePtrOutput) ToQueuePtrOutputWithContext added in v3.25.0

func (o QueuePtrOutput) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueueReservationPlanSettings

type QueueReservationPlanSettings struct {
	// The length of the term of your reserved queue pricing plan commitment. Valid value is `ONE_YEAR`.
	Commitment string `pulumi:"commitment"`
	// Specifies whether the term of your reserved queue pricing plan. Valid values are `AUTO_RENEW` or `EXPIRE`.
	RenewalType string `pulumi:"renewalType"`
	// Specifies the number of reserved transcode slots (RTS) for queue.
	ReservedSlots int `pulumi:"reservedSlots"`
}

type QueueReservationPlanSettingsArgs

type QueueReservationPlanSettingsArgs struct {
	// The length of the term of your reserved queue pricing plan commitment. Valid value is `ONE_YEAR`.
	Commitment pulumi.StringInput `pulumi:"commitment"`
	// Specifies whether the term of your reserved queue pricing plan. Valid values are `AUTO_RENEW` or `EXPIRE`.
	RenewalType pulumi.StringInput `pulumi:"renewalType"`
	// Specifies the number of reserved transcode slots (RTS) for queue.
	ReservedSlots pulumi.IntInput `pulumi:"reservedSlots"`
}

func (QueueReservationPlanSettingsArgs) ElementType

func (QueueReservationPlanSettingsArgs) ToQueueReservationPlanSettingsOutput

func (i QueueReservationPlanSettingsArgs) ToQueueReservationPlanSettingsOutput() QueueReservationPlanSettingsOutput

func (QueueReservationPlanSettingsArgs) ToQueueReservationPlanSettingsOutputWithContext

func (i QueueReservationPlanSettingsArgs) ToQueueReservationPlanSettingsOutputWithContext(ctx context.Context) QueueReservationPlanSettingsOutput

func (QueueReservationPlanSettingsArgs) ToQueueReservationPlanSettingsPtrOutput

func (i QueueReservationPlanSettingsArgs) ToQueueReservationPlanSettingsPtrOutput() QueueReservationPlanSettingsPtrOutput

func (QueueReservationPlanSettingsArgs) ToQueueReservationPlanSettingsPtrOutputWithContext

func (i QueueReservationPlanSettingsArgs) ToQueueReservationPlanSettingsPtrOutputWithContext(ctx context.Context) QueueReservationPlanSettingsPtrOutput

type QueueReservationPlanSettingsInput

type QueueReservationPlanSettingsInput interface {
	pulumi.Input

	ToQueueReservationPlanSettingsOutput() QueueReservationPlanSettingsOutput
	ToQueueReservationPlanSettingsOutputWithContext(context.Context) QueueReservationPlanSettingsOutput
}

QueueReservationPlanSettingsInput is an input type that accepts QueueReservationPlanSettingsArgs and QueueReservationPlanSettingsOutput values. You can construct a concrete instance of `QueueReservationPlanSettingsInput` via:

QueueReservationPlanSettingsArgs{...}

type QueueReservationPlanSettingsOutput

type QueueReservationPlanSettingsOutput struct{ *pulumi.OutputState }

func (QueueReservationPlanSettingsOutput) Commitment

The length of the term of your reserved queue pricing plan commitment. Valid value is `ONE_YEAR`.

func (QueueReservationPlanSettingsOutput) ElementType

func (QueueReservationPlanSettingsOutput) RenewalType

Specifies whether the term of your reserved queue pricing plan. Valid values are `AUTO_RENEW` or `EXPIRE`.

func (QueueReservationPlanSettingsOutput) ReservedSlots

Specifies the number of reserved transcode slots (RTS) for queue.

func (QueueReservationPlanSettingsOutput) ToQueueReservationPlanSettingsOutput

func (o QueueReservationPlanSettingsOutput) ToQueueReservationPlanSettingsOutput() QueueReservationPlanSettingsOutput

func (QueueReservationPlanSettingsOutput) ToQueueReservationPlanSettingsOutputWithContext

func (o QueueReservationPlanSettingsOutput) ToQueueReservationPlanSettingsOutputWithContext(ctx context.Context) QueueReservationPlanSettingsOutput

func (QueueReservationPlanSettingsOutput) ToQueueReservationPlanSettingsPtrOutput

func (o QueueReservationPlanSettingsOutput) ToQueueReservationPlanSettingsPtrOutput() QueueReservationPlanSettingsPtrOutput

func (QueueReservationPlanSettingsOutput) ToQueueReservationPlanSettingsPtrOutputWithContext

func (o QueueReservationPlanSettingsOutput) ToQueueReservationPlanSettingsPtrOutputWithContext(ctx context.Context) QueueReservationPlanSettingsPtrOutput

type QueueReservationPlanSettingsPtrInput

type QueueReservationPlanSettingsPtrInput interface {
	pulumi.Input

	ToQueueReservationPlanSettingsPtrOutput() QueueReservationPlanSettingsPtrOutput
	ToQueueReservationPlanSettingsPtrOutputWithContext(context.Context) QueueReservationPlanSettingsPtrOutput
}

QueueReservationPlanSettingsPtrInput is an input type that accepts QueueReservationPlanSettingsArgs, QueueReservationPlanSettingsPtr and QueueReservationPlanSettingsPtrOutput values. You can construct a concrete instance of `QueueReservationPlanSettingsPtrInput` via:

        QueueReservationPlanSettingsArgs{...}

or:

        nil

type QueueReservationPlanSettingsPtrOutput

type QueueReservationPlanSettingsPtrOutput struct{ *pulumi.OutputState }

func (QueueReservationPlanSettingsPtrOutput) Commitment

The length of the term of your reserved queue pricing plan commitment. Valid value is `ONE_YEAR`.

func (QueueReservationPlanSettingsPtrOutput) Elem

func (QueueReservationPlanSettingsPtrOutput) ElementType

func (QueueReservationPlanSettingsPtrOutput) RenewalType

Specifies whether the term of your reserved queue pricing plan. Valid values are `AUTO_RENEW` or `EXPIRE`.

func (QueueReservationPlanSettingsPtrOutput) ReservedSlots

Specifies the number of reserved transcode slots (RTS) for queue.

func (QueueReservationPlanSettingsPtrOutput) ToQueueReservationPlanSettingsPtrOutput

func (o QueueReservationPlanSettingsPtrOutput) ToQueueReservationPlanSettingsPtrOutput() QueueReservationPlanSettingsPtrOutput

func (QueueReservationPlanSettingsPtrOutput) ToQueueReservationPlanSettingsPtrOutputWithContext

func (o QueueReservationPlanSettingsPtrOutput) ToQueueReservationPlanSettingsPtrOutputWithContext(ctx context.Context) QueueReservationPlanSettingsPtrOutput

type QueueState

type QueueState struct {
	// The Arn of the queue
	Arn pulumi.StringPtrInput
	// A description of the queue
	Description pulumi.StringPtrInput
	// A unique identifier describing the queue
	Name pulumi.StringPtrInput
	// Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are `ON_DEMAND` or `RESERVED`. Default to `ON_DEMAND`.
	PricingPlan pulumi.StringPtrInput
	// A detail pricing plan of the  reserved queue. See below.
	ReservationPlanSettings QueueReservationPlanSettingsPtrInput
	// A status of the queue. Valid values are `ACTIVE` or `RESERVED`. Default to `PAUSED`.
	Status pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (QueueState) ElementType

func (QueueState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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