CfnQueueProps Struct
Properties for defining a CfnQueue.
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconvert as mediaconvert } from 'aws-cdk-lib';
declare const tags: any;
const cfnQueueProps: mediaconvert.CfnQueueProps = {
concurrentJobs: 123,
description: 'description',
maximumConcurrentFeeds: 123,
name: 'name',
pricingPlan: 'pricingPlan',
status: 'status',
tags: tags,
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconvert as mediaconvert
# tags: Any
cfn_queue_props = mediaconvert.CfnQueueProps(
concurrent_jobs=123,
description="description",
maximum_concurrent_feeds=123,
name="name",
pricing_plan="pricingPlan",
status="status",
tags=tags
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconvert.*;
Object tags;
CfnQueueProps cfnQueueProps = CfnQueueProps.builder()
.concurrentJobs(123)
.description("description")
.maximumConcurrentFeeds(123)
.name("name")
.pricingPlan("pricingPlan")
.status("status")
.tags(tags)
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConvert;
var tags;
var cfnQueueProps = new CfnQueueProps {
ConcurrentJobs = 123,
Description = "description",
MaximumConcurrentFeeds = 123,
Name = "name",
PricingPlan = "pricingPlan",
Status = "status",
Tags = tags
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var tags interface{}
cfnQueueProps := &CfnQueueProps{
ConcurrentJobs: jsii.Number(123),
Description: jsii.String("description"),
MaximumConcurrentFeeds: jsii.Number(123),
Name: jsii.String("name"),
PricingPlan: jsii.String("pricingPlan"),
Status: jsii.String("status"),
Tags: tags,
}
Properties
concurrentJobsoptionalnumberconcurrent_jobsoptionalint | floatconcurrentJobsoptionalNumberConcurrentJobsoptionaldoubleConcurrentJobsoptional*float64 #notes
For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the queue that you are creating.
maximumConcurrentFeedsoptionalnumbermaximum_concurrent_feedsoptionalint | floatmaximumConcurrentFeedsoptionalNumberMaximumConcurrentFeedsoptionaldoubleMaximumConcurrentFeedsoptional*float64 #pricingPlanoptionalstringpricing_planoptionalstrpricingPlanoptionalStringPricingPlanoptionalstringPricingPlanoptional*string #notes
Therefore, always set PricingPlan to the value "ON_DEMAND" when declaring an AWS::MediaConvert::Queue in your CloudFormation template.
To create a reserved queue, use the AWS Elemental MediaConvert console at https://console.aws.amazon.com/mediaconvert to set up a contract. For more information, see Working with AWS Elemental MediaConvert Queues in the ** .
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #Queues can be either ACTIVE or PAUSED. If you create a paused queue, then jobs that you send to that queue won't begin.