Skip to content
v2.277.0

CfnQueueEnvironmentProps Struct ​

Properties for defining a CfnQueueEnvironment.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as deadline } from 'aws-cdk-lib';
const cfnQueueEnvironmentProps: deadline.CfnQueueEnvironmentProps = {
  farmId: 'farmId',
  priority: 123,
  queueId: 'queueId',
  template: 'template',
  templateType: 'templateType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_deadline as deadline

cfn_queue_environment_props = deadline.CfnQueueEnvironmentProps(
    farm_id="farmId",
    priority=123,
    queue_id="queueId",
    template="template",
    template_type="templateType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.deadline.*;

CfnQueueEnvironmentProps cfnQueueEnvironmentProps = CfnQueueEnvironmentProps.builder()
        .farmId("farmId")
        .priority(123)
        .queueId("queueId")
        .template("template")
        .templateType("templateType")
        .build();
csharp
// 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.Deadline;

var cfnQueueEnvironmentProps = new CfnQueueEnvironmentProps {
    FarmId = "farmId",
    Priority = 123,
    QueueId = "queueId",
    Template = "template",
    TemplateType = "templateType"
};
go
// 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"

cfnQueueEnvironmentProps := &CfnQueueEnvironmentProps{
	FarmId: jsii.String("farmId"),
	Priority: jsii.Number(123),
	QueueId: jsii.String("queueId"),
	Template: jsii.String("template"),
	TemplateType: jsii.String("templateType"),
}

Properties ​

farmIdstringfarm_idstrfarmIdStringFarmIdstringFarmId*stringrequired#
The identifier assigned to the farm that contains the queue.
prioritynumberpriorityint | floatpriorityNumberPrioritydoublePriority*float64required#
The queue environment's priority.
queueIdstringqueue_idstrqueueIdStringQueueIdstringQueueId*stringrequired#
The unique identifier of the queue that contains the environment.
templatestringtemplatestrtemplateStringTemplatestringTemplate*stringrequired#
A JSON or YAML template that describes the processing environment for the queue.
templateTypestringtemplate_typestrtemplateTypeStringTemplateTypestringTemplateType*stringrequired#
Specifies whether the template for the queue environment is JSON or YAML.