Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-enablement

Type union: either IResolvable or CfnEvaluationFormPropsMixin.IEvaluationFormItemEnablementConfigurationProperty

Instructions

The instructions of the section.

string? Instructions { get; }
Property Value

string

Remarks

Length Constraints : Minimum length of 0. Maximum length of 1024.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-instructions

NotApplicableEnabled

The flag to enable not applicable answers to the question.

object? NotApplicableEnabled { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-notapplicableenabled

Type union: either bool or IResolvable

QuestionType

The type of the question.

string? QuestionType { get; }
Property Value

string

Remarks

Allowed values : NUMERIC | SINGLESELECT | TEXT

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-questiontype

QuestionTypeProperties

The properties of the type of question.

object? QuestionTypeProperties { get; }
Property Value

object

Remarks

Text questions do not have to define question type properties.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-questiontypeproperties

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

string

Remarks

Length Constraints : Minimum length of 1. Maximum length of 40.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-refid

Title

The title of the question.

string? Title { get; }
Property Value

string

Remarks

Length Constraints : Minimum length of 1. Maximum length of 350.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-title

Weight

The scoring weight of the section.

double? Weight { get; }
Property Value

double?

Remarks

Minimum : 0

Maximum : 100

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-evaluationformquestion.html#cfn-connect-evaluationform-evaluationformquestion-weight

Back to top Generated by DocFX