@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.780Z") @Stability(value=Stable) public class CfnQueue extends CfnResource implements IInspectable
The AWS::MediaConvert::Queue resource is an AWS Elemental MediaConvert resource type that you can use to manage the resources that are available to your account for parallel processing of jobs. For more information about queues, see Working with AWS Elemental MediaConvert Queues in the ** .
Example:
// 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;
CfnQueue cfnQueue = CfnQueue.Builder.create(this, "MyCfnQueue")
.description("description")
.name("name")
.pricingPlan("pricingPlan")
.status("status")
.tags(tags)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnQueue.Builder
A fluent builder for
CfnQueue. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnQueue(software.constructs.Construct scope,
String id)
Create a new `AWS::MediaConvert::Queue`.
|
|
CfnQueue(software.constructs.Construct scope,
String id,
CfnQueueProps props)
Create a new `AWS::MediaConvert::Queue`.
|
protected |
CfnQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnQueue(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the queue, such as `arn:aws:mediaconvert:us-west-2:123456789012` .
|
String |
getAttrName()
The name of the queue, such as `Queue 2` .
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
Optional.
|
String |
getName()
The name of the queue that you are creating.
|
String |
getPricingPlan()
When you use AWS CloudFormation , you can create only on-demand queues.
|
String |
getStatus()
Initial state of the queue.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
Optional.
|
void |
setName(String value)
The name of the queue that you are creating.
|
void |
setPricingPlan(String value)
When you use AWS CloudFormation , you can create only on-demand queues.
|
void |
setStatus(String value)
Initial state of the queue.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnQueue(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnQueue(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnQueueProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnQueue(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrName()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tag .
@Stability(value=Stable) @Nullable public String getDescription()
A description of the queue that you are creating.
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
A description of the queue that you are creating.
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getPricingPlan()
Therefore, always set PricingPlan to the value "ON_DEMAND" when declaring an AWS::MediaConvert::Queue in your AWS 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 ** .
@Stability(value=Stable)
public void setPricingPlan(@Nullable
String value)
Therefore, always set PricingPlan to the value "ON_DEMAND" when declaring an AWS::MediaConvert::Queue in your AWS 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 ** .
@Stability(value=Stable) @Nullable public String getStatus()
Queues can be either ACTIVE or PAUSED. If you create a paused queue, then jobs that you send to that queue won't begin.
@Stability(value=Stable)
public void setStatus(@Nullable
String value)
Queues can be either ACTIVE or PAUSED. If you create a paused queue, then jobs that you send to that queue won't begin.
Copyright © 2022. All rights reserved.