mediaconvert

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 3 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/v2/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
	})
}

```

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.

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