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);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
- Pricing
Plan string Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are
ON_DEMANDorRESERVED. Default toON_DEMAND.- Reservation
Plan QueueSettings Reservation Plan Settings Args A detail pricing plan of the reserved queue. See below.
- Status string
A status of the queue. Valid values are
ACTIVEorRESERVED. Default toPAUSED.- 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
- Pricing
Plan string Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are
ON_DEMANDorRESERVED. Default toON_DEMAND.- Reservation
Plan QueueSettings Reservation Plan Settings A detail pricing plan of the reserved queue. See below.
- Status string
A status of the queue. Valid values are
ACTIVEorRESERVED. Default toPAUSED.- 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
- pricing
Plan string Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are
ON_DEMANDorRESERVED. Default toON_DEMAND.- reservation
Plan QueueSettings Reservation Plan Settings A detail pricing plan of the reserved queue. See below.
- status string
A status of the queue. Valid values are
ACTIVEorRESERVED. Default toPAUSED.- {[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_DEMANDorRESERVED. Default toON_DEMAND.- reservation_
plan_ Dict[Queuesettings Reservation Plan Settings] A detail pricing plan of the reserved queue. See below.
- status str
A status of the queue. Valid values are
ACTIVEorRESERVED. Default toPAUSED.- 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:
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): Queuestatic 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
- Pricing
Plan string Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are
ON_DEMANDorRESERVED. Default toON_DEMAND.- Reservation
Plan QueueSettings Reservation Plan Settings Args A detail pricing plan of the reserved queue. See below.
- Status string
A status of the queue. Valid values are
ACTIVEorRESERVED. Default toPAUSED.- 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
- Pricing
Plan string Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are
ON_DEMANDorRESERVED. Default toON_DEMAND.- Reservation
Plan QueueSettings Reservation Plan Settings A detail pricing plan of the reserved queue. See below.
- Status string
A status of the queue. Valid values are
ACTIVEorRESERVED. Default toPAUSED.- 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
- pricing
Plan string Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are
ON_DEMANDorRESERVED. Default toON_DEMAND.- reservation
Plan QueueSettings Reservation Plan Settings A detail pricing plan of the reserved queue. See below.
- status string
A status of the queue. Valid values are
ACTIVEorRESERVED. Default toPAUSED.- {[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_DEMANDorRESERVED. Default toON_DEMAND.- reservation_
plan_ Dict[Queuesettings Reservation Plan Settings] A detail pricing plan of the reserved queue. See below.
- status str
A status of the queue. Valid values are
ACTIVEorRESERVED. Default toPAUSED.- Dict[str, str]
A map of tags to assign to the resource.
Supporting Types
QueueReservationPlanSettings
- Commitment string
The length of the term of your reserved queue pricing plan commitment. Valid value is
ONE_YEAR.- Renewal
Type string Specifies whether the term of your reserved queue pricing plan. Valid values are
AUTO_RENEWorEXPIRE.- 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.- Renewal
Type string Specifies whether the term of your reserved queue pricing plan. Valid values are
AUTO_RENEWorEXPIRE.- 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.- renewal
Type string Specifies whether the term of your reserved queue pricing plan. Valid values are
AUTO_RENEWorEXPIRE.- reserved
Slots 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_RENEWorEXPIRE.- reserved
Slots 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
awsTerraform Provider.