mediaconvert

package
v4.37.5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an AWS Elemental MediaConvert Queue.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/mediaconvert"
"github.com/pulumi/pulumi/sdk/v3/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

func (*Queue) ElementType() reflect.Type

func (*Queue) ToQueueOutput

func (i *Queue) ToQueueOutput() QueueOutput

func (*Queue) ToQueueOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Queue resource.

func (QueueArgs) ElementType

func (QueueArgs) ElementType() reflect.Type

type QueueArray

type QueueArray []QueueInput

func (QueueArray) ElementType

func (QueueArray) ElementType() reflect.Type

func (QueueArray) ToQueueArrayOutput

func (i QueueArray) ToQueueArrayOutput() QueueArrayOutput

func (QueueArray) ToQueueArrayOutputWithContext

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

type QueueArrayInput

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

type QueueArrayOutput struct{ *pulumi.OutputState }

func (QueueArrayOutput) ElementType

func (QueueArrayOutput) ElementType() reflect.Type

func (QueueArrayOutput) Index

func (QueueArrayOutput) ToQueueArrayOutput

func (o QueueArrayOutput) ToQueueArrayOutput() QueueArrayOutput

func (QueueArrayOutput) ToQueueArrayOutputWithContext

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

type QueueInput

type QueueInput interface {
	pulumi.Input

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

type QueueMap

type QueueMap map[string]QueueInput

func (QueueMap) ElementType

func (QueueMap) ElementType() reflect.Type

func (QueueMap) ToQueueMapOutput

func (i QueueMap) ToQueueMapOutput() QueueMapOutput

func (QueueMap) ToQueueMapOutputWithContext

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

type QueueMapInput

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

type QueueMapOutput struct{ *pulumi.OutputState }

func (QueueMapOutput) ElementType

func (QueueMapOutput) ElementType() reflect.Type

func (QueueMapOutput) MapIndex

func (QueueMapOutput) ToQueueMapOutput

func (o QueueMapOutput) ToQueueMapOutput() QueueMapOutput

func (QueueMapOutput) ToQueueMapOutputWithContext

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

type QueueOutput

type QueueOutput struct{ *pulumi.OutputState }

func (QueueOutput) ElementType

func (QueueOutput) ElementType() reflect.Type

func (QueueOutput) ToQueueOutput

func (o QueueOutput) ToQueueOutput() QueueOutput

func (QueueOutput) ToQueueOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll 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