Skip to content
v2.278.0

QuestionOptionPointsConfigurationProperty Struct ​

Information about the points configuration for an answer option.

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 questionOptionPointsConfigurationProperty: connect.CfnEvaluationForm.QuestionOptionPointsConfigurationProperty = {
  pointValue: 123,

  // the properties below are optional
  isBonus: false,
};
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

question_option_points_configuration_property = connect.CfnEvaluationForm.QuestionOptionPointsConfigurationProperty(
    point_value=123,

    # the properties below are optional
    is_bonus=False
)
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.*;

QuestionOptionPointsConfigurationProperty questionOptionPointsConfigurationProperty = QuestionOptionPointsConfigurationProperty.builder()
        .pointValue(123)

        // the properties below are optional
        .isBonus(false)
        .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 questionOptionPointsConfigurationProperty = new QuestionOptionPointsConfigurationProperty {
    PointValue = 123,

    // the properties below are optional
    IsBonus = false
};
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"

questionOptionPointsConfigurationProperty := &QuestionOptionPointsConfigurationProperty{
	PointValue: jsii.Number(123),

	// the properties below are optional
	IsBonus: jsii.Boolean(false),
}

Properties ​

isBonusoptionalboolean | IResolvableis_bonusoptionaltyping.Union[bool, IResolvable]isBonusoptionalBooleanIsBonusoptionalboolIsBonusoptionalinterface{} #
The flag to mark the option as a bonus option.
pointValuenumberpoint_valueint | floatpointValueNumberPointValuedoublePointValue*float64 required #
The point value for scoring.