Interface CfnEvaluationFormPropsMixin.IEvaluationFormQuestionProperty
Information about a question from an evaluation form.
Namespace: Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnEvaluationFormPropsMixin.IEvaluationFormQuestionProperty
Syntax (vb)
Public Interface CfnEvaluationFormPropsMixin.IEvaluationFormQuestionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins;
var evaluationFormQuestionProperty = new EvaluationFormQuestionProperty {
Enablement = new EvaluationFormItemEnablementConfigurationProperty {
Action = "action",
Condition = new EvaluationFormItemEnablementConditionProperty {
Operands = new [] { new EvaluationFormItemEnablementConditionOperandProperty {
Expression = new EvaluationFormItemEnablementExpressionProperty {
Comparator = "comparator",
Source = new EvaluationFormItemEnablementSourceProperty {
RefId = "refId",
Type = "type"
},
Values = new [] { new EvaluationFormItemEnablementSourceValueProperty {
RefId = "refId",
Type = "type"
} }
}
} },
Operator = "operator"
},
DefaultAction = "defaultAction"
},
Instructions = "instructions",
NotApplicableEnabled = false,
QuestionType = "questionType",
QuestionTypeProperties = new EvaluationFormQuestionTypePropertiesProperty {
MultiSelect = new EvaluationFormMultiSelectQuestionPropertiesProperty {
Automation = new EvaluationFormMultiSelectQuestionAutomationProperty {
AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
SourceType = "sourceType"
},
DefaultOptionRefIds = new [] { "defaultOptionRefIds" },
Options = new [] { new EvaluationFormMultiSelectQuestionAutomationOptionProperty {
RuleCategory = new MultiSelectQuestionRuleCategoryAutomationProperty {
Category = "category",
Condition = "condition",
OptionRefIds = new [] { "optionRefIds" }
}
} }
},
DisplayAs = "displayAs",
Options = new [] { new EvaluationFormMultiSelectQuestionOptionProperty {
RefId = "refId",
Text = "text"
} }
},
Numeric = new EvaluationFormNumericQuestionPropertiesProperty {
Automation = new EvaluationFormNumericQuestionAutomationProperty {
AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
SourceType = "sourceType"
},
PropertyValue = new NumericQuestionPropertyValueAutomationProperty {
Label = "label"
}
},
MaxValue = 123,
MinValue = 123,
Options = new [] { new EvaluationFormNumericQuestionOptionProperty {
AutomaticFail = false,
AutomaticFailConfiguration = new AutomaticFailConfigurationProperty {
TargetSection = "targetSection"
},
MaxValue = 123,
MinValue = 123,
Score = 123
} }
},
SingleSelect = new EvaluationFormSingleSelectQuestionPropertiesProperty {
Automation = new EvaluationFormSingleSelectQuestionAutomationProperty {
AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
SourceType = "sourceType"
},
DefaultOptionRefId = "defaultOptionRefId",
Options = new [] { new EvaluationFormSingleSelectQuestionAutomationOptionProperty {
RuleCategory = new SingleSelectQuestionRuleCategoryAutomationProperty {
Category = "category",
Condition = "condition",
OptionRefId = "optionRefId"
}
} }
},
DisplayAs = "displayAs",
Options = new [] { new EvaluationFormSingleSelectQuestionOptionProperty {
AutomaticFail = false,
AutomaticFailConfiguration = new AutomaticFailConfigurationProperty {
TargetSection = "targetSection"
},
RefId = "refId",
Score = 123,
Text = "text"
} }
},
Text = new EvaluationFormTextQuestionPropertiesProperty {
Automation = new EvaluationFormTextQuestionAutomationProperty {
AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
SourceType = "sourceType"
}
}
}
},
RefId = "refId",
Title = "title",
Weight = 123
};
Synopsis
Properties
| Enablement | A question conditional enablement. |
| Instructions | The instructions of the section. |
| NotApplicableEnabled | The flag to enable not applicable answers to the question. |
| QuestionType | The type of the question. |
| QuestionTypeProperties | The properties of the type of question. |
| RefId | The identifier of the question. An identifier must be unique within the evaluation form. |
| Title | The title of the question. |
| Weight | The scoring weight of the section. |
Properties
Enablement
A question conditional enablement.
object? Enablement { get; }
Property Value
Remarks
Type union: either IResolvable or CfnEvaluationFormPropsMixin.IEvaluationFormItemEnablementConfigurationProperty
Instructions
The instructions of the section.
string? Instructions { get; }
Property Value
Remarks
Length Constraints : Minimum length of 0. Maximum length of 1024.
NotApplicableEnabled
The flag to enable not applicable answers to the question.
object? NotApplicableEnabled { get; }
Property Value
Remarks
QuestionType
The type of the question.
string? QuestionType { get; }
Property Value
Remarks
Allowed values : NUMERIC | SINGLESELECT | TEXT
QuestionTypeProperties
The properties of the type of question.
object? QuestionTypeProperties { get; }
Property Value
Remarks
Text questions do not have to define question type properties.
Type union: either IResolvable or CfnEvaluationFormPropsMixin.IEvaluationFormQuestionTypePropertiesProperty
RefId
The identifier of the question. An identifier must be unique within the evaluation form.
string? RefId { get; }
Property Value
Remarks
Length Constraints : Minimum length of 1. Maximum length of 40.
Title
The title of the question.
string? Title { get; }
Property Value
Remarks
Length Constraints : Minimum length of 1. Maximum length of 350.
Weight
The scoring weight of the section.
double? Weight { get; }