Skip to content
v2.278.0

EvaluationFormNumericQuestionAutomationProperty Struct ​

Information about the automation configuration in numeric questions.

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 evaluationFormNumericQuestionAutomationProperty: connect.CfnEvaluationForm.EvaluationFormNumericQuestionAutomationProperty = {
  answerSource: {
    sourceType: 'sourceType',
  },
  propertyValue: {
    label: 'label',
  },
};
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_numeric_question_automation_property = connect.CfnEvaluationForm.EvaluationFormNumericQuestionAutomationProperty(
    answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty(
        source_type="sourceType"
    ),
    property_value=connect.CfnEvaluationForm.NumericQuestionPropertyValueAutomationProperty(
        label="label"
    )
)
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.*;

EvaluationFormNumericQuestionAutomationProperty evaluationFormNumericQuestionAutomationProperty = EvaluationFormNumericQuestionAutomationProperty.builder()
        .answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
                .sourceType("sourceType")
                .build())
        .propertyValue(NumericQuestionPropertyValueAutomationProperty.builder()
                .label("label")
                .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 evaluationFormNumericQuestionAutomationProperty = new EvaluationFormNumericQuestionAutomationProperty {
    AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
        SourceType = "sourceType"
    },
    PropertyValue = new NumericQuestionPropertyValueAutomationProperty {
        Label = "label"
    }
};
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"

evaluationFormNumericQuestionAutomationProperty := &EvaluationFormNumericQuestionAutomationProperty{
	AnswerSource: &EvaluationFormQuestionAutomationAnswerSourceProperty{
		SourceType: jsii.String("sourceType"),
	},
	PropertyValue: &NumericQuestionPropertyValueAutomationProperty{
		Label: jsii.String("label"),
	},
}

Properties ​

answerSourceoptionalIResolvable | CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourcePropertyanswer_sourceoptionaltyping.Union[IResolvable, EvaluationFormQuestionAutomationAnswerSourceProperty]answerSourceoptionalIResolvableAnswerSourceoptionalIResolvableAnswerSourceoptionalinterface{} #
A source of automation answer for numeric question.
propertyValueoptionalIResolvable | CfnEvaluationForm.NumericQuestionPropertyValueAutomationPropertyproperty_valueoptionaltyping.Union[IResolvable, NumericQuestionPropertyValueAutomationProperty]propertyValueoptionalIResolvablePropertyValueoptionalIResolvablePropertyValueoptionalinterface{} #
The property value of the automation.