CfnEvaluationFormProps
- class aws_cdk.aws_connect.CfnEvaluationFormProps(*, instance_arn, items, status, title, auto_evaluation_configuration=None, description=None, scoring_strategy=None, tags=None)
Bases:
objectProperties for defining a
CfnEvaluationForm.- Parameters:
instance_arn (
str) – 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])description (
Optional[str]) – The description of the evaluation form. Length Constraints : Minimum length of 0. Maximum length of 1024.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”} }.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# 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( 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", scoring_strategy=connect.CfnEvaluationForm.ScoringStrategyProperty( mode="mode", status="status" ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- auto_evaluation_configuration
-
- Type:
see
- 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
- 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”} }.
- title
A title of the evaluation form.