# CfnQueueEnvironmentProps

Properties for defining a `CfnQueueEnvironment`.

Used as props by: [CfnQueueEnvironment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_deadline.CfnQueueEnvironment.html)

- Source: Generated at build time
- Type last changed: v2.138.0 · 18 Apr 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `farmId`: string (required) — The identifier assigned to the farm that contains the queue.

- `priority`: number (required) — The queue environment's priority.

- `queueId`: string (required) — The unique identifier of the queue that contains the environment.

- `template`: string (required) — A JSON or YAML template that describes the processing environment for the queue.

- `templateType`: string (required) — Specifies whether the template for the queue environment is JSON or YAML.
