EvaluationFormQuestionScoringConfigurationProperty Struct
Scoring configuration for a question in an evaluation form.
| Source | |
|---|---|
| Type last changed |
Example
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 evaluationFormQuestionScoringConfigurationProperty: connect.CfnEvaluationForm.EvaluationFormQuestionScoringConfigurationProperty = {
isExcludedFromScoring: false,
pointsConfiguration: {
isBonus: false,
maxPointValue: 123,
minPointValue: 123,
},
scoreThresholds: [{
performanceCategory: 'performanceCategory',
// the properties below are optional
maxScorePercentage: 123,
minScorePercentage: 123,
}],
};
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_question_scoring_configuration_property = connect.CfnEvaluationForm.EvaluationFormQuestionScoringConfigurationProperty(
is_excluded_from_scoring=False,
points_configuration=connect.CfnEvaluationForm.QuestionPointsConfigurationProperty(
is_bonus=False,
max_point_value=123,
min_point_value=123
),
score_thresholds=[connect.CfnEvaluationForm.EvaluationFormScoreThresholdProperty(
performance_category="performanceCategory",
# the properties below are optional
max_score_percentage=123,
min_score_percentage=123
)]
)
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.*;
EvaluationFormQuestionScoringConfigurationProperty evaluationFormQuestionScoringConfigurationProperty = EvaluationFormQuestionScoringConfigurationProperty.builder()
.isExcludedFromScoring(false)
.pointsConfiguration(QuestionPointsConfigurationProperty.builder()
.isBonus(false)
.maxPointValue(123)
.minPointValue(123)
.build())
.scoreThresholds(List.of(EvaluationFormScoreThresholdProperty.builder()
.performanceCategory("performanceCategory")
// the properties below are optional
.maxScorePercentage(123)
.minScorePercentage(123)
.build()))
.build();
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 evaluationFormQuestionScoringConfigurationProperty = new EvaluationFormQuestionScoringConfigurationProperty {
IsExcludedFromScoring = false,
PointsConfiguration = new QuestionPointsConfigurationProperty {
IsBonus = false,
MaxPointValue = 123,
MinPointValue = 123
},
ScoreThresholds = new [] { new EvaluationFormScoreThresholdProperty {
PerformanceCategory = "performanceCategory",
// the properties below are optional
MaxScorePercentage = 123,
MinScorePercentage = 123
} }
};
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"
evaluationFormQuestionScoringConfigurationProperty := &EvaluationFormQuestionScoringConfigurationProperty{
IsExcludedFromScoring: jsii.Boolean(false),
PointsConfiguration: &QuestionPointsConfigurationProperty{
IsBonus: jsii.Boolean(false),
MaxPointValue: jsii.Number(123),
MinPointValue: jsii.Number(123),
},
ScoreThresholds: []interface{}{
&EvaluationFormScoreThresholdProperty{
PerformanceCategory: jsii.String("performanceCategory"),
// the properties below are optional
MaxScorePercentage: jsii.Number(123),
MinScorePercentage: jsii.Number(123),
},
},
}
Properties
isExcludedFromScoringoptionalboolean | IResolvableis_excluded_from_scoringoptionaltyping.Union[bool, IResolvable]isExcludedFromScoringoptionalBooleanIsExcludedFromScoringoptionalboolIsExcludedFromScoringoptionalinterface{} #The flag to exclude the question from scoring.
pointsConfigurationoptionalIResolvable | CfnEvaluationForm.points_configurationoptionaltyping.Union[IResolvable, QuestionPointsConfigurationProperty]pointsConfigurationoptionalIResolvablePointsConfigurationoptionalIResolvablePointsConfigurationoptionalinterface{} #Information about the points configuration for a question.
scoreThresholdsoptionalIResolvable | IResolvable | CfnEvaluationForm.score_thresholdsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EvaluationFormScoreThresholdProperty]]]scoreThresholdsoptionalIResolvableScoreThresholdsoptionalIResolvableScoreThresholdsoptionalinterface{} #The score thresholds for performance categories.