AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

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/v5/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
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new Queue("test");

    }
}
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", {});
resources:
  test:
    type: aws:mediaconvert:Queue

Create a Queue Resource

new Queue(name: string, args?: QueueArgs, opts?: CustomResourceOptions);
@overload
def Queue(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          description: Optional[str] = None,
          name: Optional[str] = None,
          pricing_plan: Optional[str] = None,
          reservation_plan_settings: Optional[QueueReservationPlanSettingsArgs] = None,
          status: Optional[str] = None,
          tags: Optional[Mapping[str, str]] = None)
@overload
def Queue(resource_name: str,
          args: Optional[QueueArgs] = None,
          opts: Optional[ResourceOptions] = None)
func NewQueue(ctx *Context, name string, args *QueueArgs, opts ...ResourceOption) (*Queue, error)
public Queue(string name, QueueArgs? args = null, CustomResourceOptions? opts = null)
public Queue(String name, QueueArgs args)
public Queue(String name, QueueArgs args, CustomResourceOptions options)
type: aws:mediaconvert:Queue
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args QueueArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control 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.
name String
The unique name of the resource.
args QueueArgs
The arguments to resource properties.
options 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 Architecture and Concepts 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. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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 map[string]string

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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 Map<String,String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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 {[key: string]: string}

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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 QueueReservationPlanSettingsArgs

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 Mapping[str, str]

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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

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>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider .

Arn string

The Arn of the queue

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider .

arn String

The Arn of the queue

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider .

arn string

The Arn of the queue

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider .

arn str

The Arn of the queue

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider .

arn String

The Arn of the queue

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider .

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
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        pricing_plan: Optional[str] = None,
        reservation_plan_settings: Optional[QueueReservationPlanSettingsArgs] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> Queue
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)
public static Queue get(String name, Output<String> id, QueueState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider .

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 map[string]string

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider .

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 Map<String,String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider .

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 {[key: string]: string}

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider .

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 QueueReservationPlanSettingsArgs

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 Mapping[str, str]

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider .

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

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>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider .

Supporting Types

QueueReservationPlanSettings

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 Integer

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.

renewal_type str

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

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

Import

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

 $ pulumi import aws:mediaconvert/queue:Queue test tf-test-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.