Class CfnQueue
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::MediaConvert::Queue.
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();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a newAWS::MediaConvert::Queue.CfnQueue(Construct scope, String id, CfnQueueProps props) Create a newAWS::MediaConvert::Queue.protectedCfnQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnQueue(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the queue, such asarn:aws:mediaconvert:us-west-2:123456789012.The name of the queue, such asQueue 2.Optional.getName()The name of the queue that you are creating.When you use AWS CloudFormation , you can create only on-demand queues.Initial state of the queue.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) Optional.voidThe name of the queue that you are creating.voidsetPricingPlan(String value) When you use AWS CloudFormation , you can create only on-demand queues.voidInitial state of the queue.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnQueue
protected CfnQueue(software.amazon.jsii.JsiiObjectRef objRef) -
CfnQueue
protected CfnQueue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnQueue
@Stability(Stable) public CfnQueue(@NotNull Construct scope, @NotNull String id, @Nullable CfnQueueProps props) Create a newAWS::MediaConvert::Queue.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
CfnQueue
Create a newAWS::MediaConvert::Queue.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the queue, such asarn:aws:mediaconvert:us-west-2:123456789012. -
getAttrName
The name of the queue, such asQueue 2. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getDescription
Optional.A description of the queue that you are creating.
-
setDescription
Optional.A description of the queue that you are creating.
-
getName
The name of the queue that you are creating. -
setName
The name of the queue that you are creating. -
getPricingPlan
When you use AWS CloudFormation , you can create only on-demand queues.Therefore, always set
PricingPlanto 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 ** .
-
setPricingPlan
When you use AWS CloudFormation , you can create only on-demand queues.Therefore, always set
PricingPlanto 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 ** .
-
getStatus
Initial state of the queue.Queues can be either ACTIVE or PAUSED. If you create a paused queue, then jobs that you send to that queue won't begin.
-
setStatus
Initial state of the queue.Queues can be either ACTIVE or PAUSED. If you create a paused queue, then jobs that you send to that queue won't begin.
-