CfnEvaluationFormProps
- class aws_cdk.aws_connect.CfnEvaluationFormProps(*, instance_arn, items, status, title, auto_evaluation_configuration=None, description=None, language_configuration=None, scoring_strategy=None, tags=None, target_configuration=None)
Bases:
objectProperties for defining a
CfnEvaluationForm.- Parameters:
instance_arn (
Union[str,IInstanceRef]) – The identifier of the Amazon Connect instance.items (
Union[IResolvable,Sequence[Union[IResolvable,EvaluationFormBaseItemProperty,Dict[str,Any]]]]) – Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section. Minimum size : 1 Maximum size : 100status (
str) – The status of the evaluation form. Allowed values :DRAFT|ACTIVEDefault: - “DRAFT”title (
str) – A title of the evaluation form.auto_evaluation_configuration (
Union[IResolvable,AutoEvaluationConfigurationProperty,Dict[str,Any],None]) – The automatic evaluation configuration of an evaluation form.description (
Optional[str]) – The description of the evaluation form. Length Constraints : Minimum length of 0. Maximum length of 1024.language_configuration (
Union[IResolvable,EvaluationFormLanguageConfigurationProperty,Dict[str,Any],None]) – Configuration for language settings of this evaluation form.scoring_strategy (
Union[IResolvable,ScoringStrategyProperty,Dict[str,Any],None]) – A scoring strategy of the evaluation form.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags used to organize, track, or control access for this resource. For example, { “tags”: {“key1”:”value1”, “key2”:”value2”} }.target_configuration (
Union[IResolvable,EvaluationFormTargetConfigurationProperty,Dict[str,Any],None]) – Configuration that specifies the target for this evaluation form.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # 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_section_property_: connect.CfnEvaluationForm.EvaluationFormSectionProperty cfn_evaluation_form_props = connect.CfnEvaluationFormProps( instance_arn="instanceArn", items=[connect.CfnEvaluationForm.EvaluationFormBaseItemProperty( section=connect.CfnEvaluationForm.EvaluationFormSectionProperty( ref_id="refId", title="title", # the properties below are optional instructions="instructions", items=[connect.CfnEvaluationForm.EvaluationFormItemProperty( question=connect.CfnEvaluationForm.EvaluationFormQuestionProperty( question_type="questionType", ref_id="refId", title="title", # the properties below are optional enablement=connect.CfnEvaluationForm.EvaluationFormItemEnablementConfigurationProperty( action="action", condition=connect.CfnEvaluationForm.EvaluationFormItemEnablementConditionProperty( operands=[connect.CfnEvaluationForm.EvaluationFormItemEnablementConditionOperandProperty( expression=connect.CfnEvaluationForm.EvaluationFormItemEnablementExpressionProperty( comparator="comparator", source=connect.CfnEvaluationForm.EvaluationFormItemEnablementSourceProperty( type="type", # the properties below are optional ref_id="refId" ), values=[connect.CfnEvaluationForm.EvaluationFormItemEnablementSourceValueProperty( ref_id="refId", type="type" )] ) )], # the properties below are optional operator="operator" ), # the properties below are optional default_action="defaultAction" ), instructions="instructions", not_applicable_enabled=False, question_type_properties=connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty( multi_select=connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionPropertiesProperty( options=[connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty( ref_id="refId", text="text" )], # the properties below are optional automation=connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty( options=[connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationOptionProperty( rule_category=connect.CfnEvaluationForm.MultiSelectQuestionRuleCategoryAutomationProperty( category="category", condition="condition", option_ref_ids=["optionRefIds"] ) )], # the properties below are optional answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty( source_type="sourceType" ), default_option_ref_ids=["defaultOptionRefIds"] ), display_as="displayAs" ), numeric=connect.CfnEvaluationForm.EvaluationFormNumericQuestionPropertiesProperty( max_value=123, min_value=123, # the properties below are optional automation=connect.CfnEvaluationForm.EvaluationFormNumericQuestionAutomationProperty( answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty( source_type="sourceType" ), property_value=connect.CfnEvaluationForm.NumericQuestionPropertyValueAutomationProperty( label="label" ) ), options=[connect.CfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty( max_value=123, min_value=123, # the properties below are optional automatic_fail=False, automatic_fail_configuration=connect.CfnEvaluationForm.AutomaticFailConfigurationProperty( target_section="targetSection" ), score=123 )] ), single_select=connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty( options=[connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty( ref_id="refId", text="text", # the properties below are optional automatic_fail=False, automatic_fail_configuration=connect.CfnEvaluationForm.AutomaticFailConfigurationProperty( target_section="targetSection" ), score=123 )], # the properties below are optional automation=connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty( options=[connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationOptionProperty( rule_category=connect.CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty( category="category", condition="condition", option_ref_id="optionRefId" ) )], # the properties below are optional answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty( source_type="sourceType" ), default_option_ref_id="defaultOptionRefId" ), display_as="displayAs" ), text=connect.CfnEvaluationForm.EvaluationFormTextQuestionPropertiesProperty( automation=connect.CfnEvaluationForm.EvaluationFormTextQuestionAutomationProperty( answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty( source_type="sourceType" ) ) ) ), weight=123 ), section=evaluation_form_section_property_ )], weight=123 ) )], status="status", title="title", # the properties below are optional auto_evaluation_configuration=connect.CfnEvaluationForm.AutoEvaluationConfigurationProperty( enabled=False ), description="description", language_configuration=connect.CfnEvaluationForm.EvaluationFormLanguageConfigurationProperty( form_language="formLanguage" ), scoring_strategy=connect.CfnEvaluationForm.ScoringStrategyProperty( mode="mode", status="status" ), tags=[CfnTag( key="key", value="value" )], target_configuration=connect.CfnEvaluationForm.EvaluationFormTargetConfigurationProperty( contact_interaction_type="contactInteractionType" ) )
Attributes
- auto_evaluation_configuration
The automatic evaluation configuration of an evaluation form.
- description
The description of the evaluation form.
Length Constraints : Minimum length of 0. Maximum length of 1024.
- instance_arn
The identifier of the Amazon Connect instance.
- items
Items that are part of the evaluation form.
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
- language_configuration
Configuration for language settings of this evaluation form.
- scoring_strategy
A scoring strategy of the evaluation form.
- status
The status of the evaluation form.
Allowed values :
DRAFT|ACTIVE
- tags
The tags used to organize, track, or control access for this resource.
For example, { “tags”: {“key1”:”value1”, “key2”:”value2”} }.
- target_configuration
Configuration that specifies the target for this evaluation form.
- title
A title of the evaluation form.