ScoringStrategyProperty
Struct External
A scoring strategy of the 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 scoringStrategyProperty: connect.CfnEvaluationForm.ScoringStrategyProperty = {
mode: 'mode',
status: 'status',
// the properties below are optional
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
scoring_strategy_property = connect.CfnEvaluationForm.ScoringStrategyProperty(
mode="mode",
status="status",
# the properties below are optional
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.*;
ScoringStrategyProperty scoringStrategyProperty = ScoringStrategyProperty.builder()
.mode("mode")
.status("status")
// the properties below are optional
.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 scoringStrategyProperty = new ScoringStrategyProperty {
Mode = "mode",
Status = "status",
// the properties below are optional
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"
scoringStrategyProperty := &ScoringStrategyProperty{
Mode: jsii.String("mode"),
Status: jsii.String("status"),
// the properties below are optional
ScoreThresholds: []interface{}{
&EvaluationFormScoreThresholdProperty{
PerformanceCategory: jsii.String("performanceCategory"),
// the properties below are optional
MaxScorePercentage: jsii.Number(123),
MinScorePercentage: jsii.Number(123),
},
},
}
Properties
The scoring mode of the evaluation form.
Allowed values : QUESTION_ONLY | SECTION_ONLY
scoreThresholdsoptionalIResolvable | IResolvable | CfnEvaluationForm.score_thresholdsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EvaluationFormScoreThresholdProperty]]]scoreThresholdsoptionalIResolvableScoreThresholdsoptionalIResolvableScoreThresholdsoptionalinterface{} #The scoring status of the evaluation form.
Allowed values : ENABLED | DISABLED