Class CfnEvaluationFormProps
Properties for defining a CfnEvaluationForm
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.AWS.Connect.dll
Syntax (csharp)
public class CfnEvaluationFormProps : Object, ICfnEvaluationFormProps
Syntax (vb)
Public Class CfnEvaluationFormProps
Inherits Object
Implements ICfnEvaluationFormProps
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.AWS.Connect;
EvaluationFormSectionProperty evaluationFormSectionProperty_;
var cfnEvaluationFormProps = new CfnEvaluationFormProps {
InstanceArn = "instanceArn",
Items = new [] { new EvaluationFormBaseItemProperty {
Section = new EvaluationFormSectionProperty {
RefId = "refId",
Title = "title",
// the properties below are optional
Instructions = "instructions",
Items = new [] { new EvaluationFormItemProperty {
Question = new EvaluationFormQuestionProperty {
QuestionType = "questionType",
RefId = "refId",
Title = "title",
// the properties below are optional
Instructions = "instructions",
NotApplicableEnabled = false,
QuestionTypeProperties = new EvaluationFormQuestionTypePropertiesProperty {
Numeric = new EvaluationFormNumericQuestionPropertiesProperty {
MaxValue = 123,
MinValue = 123,
// the properties below are optional
Automation = new EvaluationFormNumericQuestionAutomationProperty {
PropertyValue = new NumericQuestionPropertyValueAutomationProperty {
Label = "label"
}
},
Options = new [] { new EvaluationFormNumericQuestionOptionProperty {
MaxValue = 123,
MinValue = 123,
// the properties below are optional
AutomaticFail = false,
Score = 123
} }
},
SingleSelect = new EvaluationFormSingleSelectQuestionPropertiesProperty {
Options = new [] { new EvaluationFormSingleSelectQuestionOptionProperty {
RefId = "refId",
Text = "text",
// the properties below are optional
AutomaticFail = false,
Score = 123
} },
// the properties below are optional
Automation = new EvaluationFormSingleSelectQuestionAutomationProperty {
Options = new [] { new EvaluationFormSingleSelectQuestionAutomationOptionProperty {
RuleCategory = new SingleSelectQuestionRuleCategoryAutomationProperty {
Category = "category",
Condition = "condition",
OptionRefId = "optionRefId"
}
} },
// the properties below are optional
DefaultOptionRefId = "defaultOptionRefId"
},
DisplayAs = "displayAs"
}
},
Weight = 123
},
Section = evaluationFormSectionProperty_
} },
Weight = 123
}
} },
Status = "status",
Title = "title",
// the properties below are optional
Description = "description",
ScoringStrategy = new ScoringStrategyProperty {
Mode = "mode",
Status = "status"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnEvaluationFormProps() |
Properties
Description | The description of the evaluation form. |
InstanceArn | The identifier of the Amazon Connect instance. |
Items | Items that are part of the evaluation form. |
ScoringStrategy | A scoring strategy of the evaluation form. |
Status | The status of the evaluation form. |
Tags | The tags used to organize, track, or control access for this resource. |
Title | A title of the evaluation form. |
Constructors
CfnEvaluationFormProps()
public CfnEvaluationFormProps()
Properties
Description
The description of the evaluation form.
public string Description { get; set; }
Property Value
System.String
Remarks
Length Constraints : Minimum length of 0. Maximum length of 1024.
InstanceArn
The identifier of the Amazon Connect instance.
public string InstanceArn { get; set; }
Property Value
System.String
Remarks
Items
Items that are part of the evaluation form.
public object Items { get; set; }
Property Value
System.Object
Remarks
The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
Minimum size : 1
Maximum size : 100
ScoringStrategy
A scoring strategy of the evaluation form.
public object ScoringStrategy { get; set; }
Property Value
System.Object
Remarks
Status
The status of the evaluation form.
public string Status { get; set; }
Property Value
System.String
Remarks
Allowed values : DRAFT
| ACTIVE
Tags
The tags used to organize, track, or control access for this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Title
A title of the evaluation form.
public string Title { get; set; }
Property Value
System.String