Queue

Provides an AWS Elemental MediaConvert Queue.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var test = new Aws.MediaConvert.Queue("test", new Aws.MediaConvert.QueueArgs
        {
        });
    }

}
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
    })
}
import pulumi
import pulumi_aws as aws

test = aws.mediaconvert.Queue("test")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.mediaconvert.Queue("test", {});

Create a Queue Resource

new Queue(name: string, args?: QueueArgs, opts?: CustomResourceOptions);
def Queue(resource_name, opts=None, description=None, name=None, pricing_plan=None, reservation_plan_settings=None, status=None, tags=None, __props__=None);
func NewQueue(ctx *Context, name string, args *QueueArgs, opts ...ResourceOption) (*Queue, error)
public Queue(string name, QueueArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args QueueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args QueueArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args QueueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Queue Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Queue resource accepts the following input properties:

Description string

A description of the queue

Name string

A unique identifier describing the queue

PricingPlan string

Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are ON_DEMAND or RESERVED. Default to ON_DEMAND.

ReservationPlanSettings QueueReservationPlanSettingsArgs

A detail pricing plan of the reserved queue. See below.

Status string

A status of the queue. Valid values are ACTIVE or RESERVED. Default to PAUSED.

Tags Dictionary<string, string>

A map of tags to assign to the resource.

Description string

A description of the queue

Name string

A unique identifier describing the queue

PricingPlan string

Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are ON_DEMAND or RESERVED. Default to ON_DEMAND.

ReservationPlanSettings QueueReservationPlanSettings

A detail pricing plan of the reserved queue. See below.

Status string

A status of the queue. Valid values are ACTIVE or RESERVED. Default to PAUSED.

Tags map[string]string

A map of tags to assign to the resource.

description string

A description of the queue

name string

A unique identifier describing the queue

pricingPlan string

Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are ON_DEMAND or RESERVED. Default to ON_DEMAND.

reservationPlanSettings QueueReservationPlanSettings

A detail pricing plan of the reserved queue. See below.

status string

A status of the queue. Valid values are ACTIVE or RESERVED. Default to PAUSED.

tags {[key: string]: string}

A map of tags to assign to the resource.

description str

A description of the queue

name str

A unique identifier describing the queue

pricing_plan str

Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are ON_DEMAND or RESERVED. Default to ON_DEMAND.

reservation_plan_settings Dict[QueueReservationPlanSettings]

A detail pricing plan of the reserved queue. See below.

status str

A status of the queue. Valid values are ACTIVE or RESERVED. Default to PAUSED.

tags Dict[str, str]

A map of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Queue resource produces the following output properties:

Arn string

The Arn of the queue

Id string
The provider-assigned unique ID for this managed resource.
Arn string

The Arn of the queue

Id string
The provider-assigned unique ID for this managed resource.
arn string

The Arn of the queue

id string
The provider-assigned unique ID for this managed resource.
arn str

The Arn of the queue

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Queue Resource

Get an existing Queue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: QueueState, opts?: CustomResourceOptions): Queue
static get(resource_name, id, opts=None, arn=None, description=None, name=None, pricing_plan=None, reservation_plan_settings=None, status=None, tags=None, __props__=None);
func GetQueue(ctx *Context, name string, id IDInput, state *QueueState, opts ...ResourceOption) (*Queue, error)
public static Queue Get(string name, Input<string> id, QueueState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string

The Arn of the queue

Description string

A description of the queue

Name string

A unique identifier describing the queue

PricingPlan string

Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are ON_DEMAND or RESERVED. Default to ON_DEMAND.

ReservationPlanSettings QueueReservationPlanSettingsArgs

A detail pricing plan of the reserved queue. See below.

Status string

A status of the queue. Valid values are ACTIVE or RESERVED. Default to PAUSED.

Tags Dictionary<string, string>

A map of tags to assign to the resource.

Arn string

The Arn of the queue

Description string

A description of the queue

Name string

A unique identifier describing the queue

PricingPlan string

Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are ON_DEMAND or RESERVED. Default to ON_DEMAND.

ReservationPlanSettings QueueReservationPlanSettings

A detail pricing plan of the reserved queue. See below.

Status string

A status of the queue. Valid values are ACTIVE or RESERVED. Default to PAUSED.

Tags map[string]string

A map of tags to assign to the resource.

arn string

The Arn of the queue

description string

A description of the queue

name string

A unique identifier describing the queue

pricingPlan string

Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are ON_DEMAND or RESERVED. Default to ON_DEMAND.

reservationPlanSettings QueueReservationPlanSettings

A detail pricing plan of the reserved queue. See below.

status string

A status of the queue. Valid values are ACTIVE or RESERVED. Default to PAUSED.

tags {[key: string]: string}

A map of tags to assign to the resource.

arn str

The Arn of the queue

description str

A description of the queue

name str

A unique identifier describing the queue

pricing_plan str

Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are ON_DEMAND or RESERVED. Default to ON_DEMAND.

reservation_plan_settings Dict[QueueReservationPlanSettings]

A detail pricing plan of the reserved queue. See below.

status str

A status of the queue. Valid values are ACTIVE or RESERVED. Default to PAUSED.

tags Dict[str, str]

A map of tags to assign to the resource.

Supporting Types

QueueReservationPlanSettings

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Commitment string

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

RenewalType string

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

ReservedSlots int

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

Commitment string

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

RenewalType string

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

ReservedSlots int

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

commitment string

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

renewalType string

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

reservedSlots number

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

commitment str

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

renewalType str

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

reservedSlots float

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

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.