Skip to content
v2.276.0

EntryPointProperty Struct ​

The Entry Point associated with the test case.

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 entryPointProperty: connect.CfnTestCase.EntryPointProperty = {
  chatEntryPointParameters: {
    flowId: 'flowId',
  },
  type: 'type',
  voiceCallEntryPointParameters: {
    destinationPhoneNumber: 'destinationPhoneNumber',
    flowId: 'flowId',
    sourcePhoneNumber: 'sourcePhoneNumber',
  },
};
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

entry_point_property = connect.CfnTestCase.EntryPointProperty(
    chat_entry_point_parameters=connect.CfnTestCase.ChatEntryPointParametersProperty(
        flow_id="flowId"
    ),
    type="type",
    voice_call_entry_point_parameters=connect.CfnTestCase.VoiceCallEntryPointParametersProperty(
        destination_phone_number="destinationPhoneNumber",
        flow_id="flowId",
        source_phone_number="sourcePhoneNumber"
    )
)
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.*;

EntryPointProperty entryPointProperty = EntryPointProperty.builder()
        .chatEntryPointParameters(ChatEntryPointParametersProperty.builder()
                .flowId("flowId")
                .build())
        .type("type")
        .voiceCallEntryPointParameters(VoiceCallEntryPointParametersProperty.builder()
                .destinationPhoneNumber("destinationPhoneNumber")
                .flowId("flowId")
                .sourcePhoneNumber("sourcePhoneNumber")
                .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 entryPointProperty = new EntryPointProperty {
    ChatEntryPointParameters = new ChatEntryPointParametersProperty {
        FlowId = "flowId"
    },
    Type = "type",
    VoiceCallEntryPointParameters = new VoiceCallEntryPointParametersProperty {
        DestinationPhoneNumber = "destinationPhoneNumber",
        FlowId = "flowId",
        SourcePhoneNumber = "sourcePhoneNumber"
    }
};
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"

entryPointProperty := &EntryPointProperty{
	ChatEntryPointParameters: &ChatEntryPointParametersProperty{
		FlowId: jsii.String("flowId"),
	},
	Type: jsii.String("type"),
	VoiceCallEntryPointParameters: &VoiceCallEntryPointParametersProperty{
		DestinationPhoneNumber: jsii.String("destinationPhoneNumber"),
		FlowId: jsii.String("flowId"),
		SourcePhoneNumber: jsii.String("sourcePhoneNumber"),
	},
}

Properties ​

chatEntryPointParametersoptionalIResolvable | CfnTestCase.ChatEntryPointParametersPropertychat_entry_point_parametersoptionaltyping.Union[IResolvable, ChatEntryPointParametersProperty]chatEntryPointParametersoptionalIResolvableChatEntryPointParametersoptionalIResolvableChatEntryPointParametersoptionalinterface{}#
The chat entry point parameters for the test case.
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string#
The type of the Entry Point.
voiceCallEntryPointParametersoptionalIResolvable | CfnTestCase.VoiceCallEntryPointParametersPropertyvoice_call_entry_point_parametersoptionaltyping.Union[IResolvable, VoiceCallEntryPointParametersProperty]voiceCallEntryPointParametersoptionalIResolvableVoiceCallEntryPointParametersoptionalIResolvableVoiceCallEntryPointParametersoptionalinterface{}#
The voice call entry point parameters for the test case.