# EvaluationFormSingleSelectQuestionAutomationOptionProperty

The automation options of the single select question.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const evaluationFormSingleSelectQuestionAutomationOptionProperty: connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationOptionProperty = {
  ruleCategory: {
    category: 'category',
    condition: 'condition',
    optionRefId: 'optionRefId',
  },
};
```

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_connect as connect

evaluation_form_single_select_question_automation_option_property = connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationOptionProperty(
    rule_category=connect.CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty(
        category="category",
        condition="condition",
        option_ref_id="optionRefId"
    )
)
```

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.connect.*;

EvaluationFormSingleSelectQuestionAutomationOptionProperty evaluationFormSingleSelectQuestionAutomationOptionProperty = EvaluationFormSingleSelectQuestionAutomationOptionProperty.builder()
        .ruleCategory(SingleSelectQuestionRuleCategoryAutomationProperty.builder()
                .category("category")
                .condition("condition")
                .optionRefId("optionRefId")
                .build())
        .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.Connect;

var evaluationFormSingleSelectQuestionAutomationOptionProperty = new EvaluationFormSingleSelectQuestionAutomationOptionProperty {
    RuleCategory = new SingleSelectQuestionRuleCategoryAutomationProperty {
        Category = "category",
        Condition = "condition",
        OptionRefId = "optionRefId"
    }
};
```

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"

evaluationFormSingleSelectQuestionAutomationOptionProperty := &EvaluationFormSingleSelectQuestionAutomationOptionProperty{
	RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{
		Category: jsii.String("category"),
		Condition: jsii.String("condition"),
		OptionRefId: jsii.String("optionRefId"),
	},
}
```

## Properties

- `ruleCategory`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.html) (required) — The automation option based on a rule category for the single select question.
