Class CfnTestCase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.connect.CfnTestCase
- All Implemented Interfaces:
IInspectable,ITestCaseRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-22T17:37:23.425Z")
@Stability(Stable)
public class CfnTestCase
extends CfnResource
implements IInspectable, ITestCaseRef, ITaggableV2
Resource Type definition for AWS::Connect::TestCase.
Example:
// 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.*;
CfnTestCase cfnTestCase = CfnTestCase.Builder.create(this, "MyCfnTestCase")
.content("content")
.instanceArn("instanceArn")
.name("name")
// the properties below are optional
.description("description")
.entryPoint(EntryPointProperty.builder()
.chatEntryPointParameters(ChatEntryPointParametersProperty.builder()
.flowId("flowId")
.build())
.type("type")
.voiceCallEntryPointParameters(VoiceCallEntryPointParametersProperty.builder()
.destinationPhoneNumber("destinationPhoneNumber")
.flowId("flowId")
.sourcePhoneNumber("sourcePhoneNumber")
.build())
.build())
.initializationData("initializationData")
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTestCase.static interfaceThe chat entry point parameters for the test case.static interfaceThe Entry Point associated with the test case.static interfaceThe voice call entry point parameters for the test case.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.connect.ITestCaseRef
ITestCaseRef.Jsii$Default, ITestCaseRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTestCase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTestCase(software.amazon.jsii.JsiiObjectRef objRef) CfnTestCase(software.constructs.Construct scope, String id, CfnTestCaseProps props) Create a newAWS::Connect::TestCase. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForTestCase(ITestCaseRef resource) Last modified region.A epoch time stamp field used for test case operations.The identifier of the test case.Tag Manager which manages the tags for this resource.The content of the test case.The description of the test case.The Entry Point associated with the test case.The initialization data of the test case.The identifier of the Amazon Connect instance.getName()The name of the test case.The status of the test case.getTags()One or more tags.A reference to a TestCase resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnTestCase.renderProperties(Map<String, Object> props) voidsetContent(String value) The content of the test case.voidsetDescription(String value) The description of the test case.voidsetEntryPoint(IResolvable value) The Entry Point associated with the test case.voidThe Entry Point associated with the test case.voidsetInitializationData(String value) The initialization data of the test case.voidsetInstanceArn(String value) The identifier of the Amazon Connect instance.voidThe name of the test case.voidThe status of the test case.voidOne or more tags.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTestCase
protected CfnTestCase(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTestCase
protected CfnTestCase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTestCase
@Stability(Stable) public CfnTestCase(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTestCaseProps props) Create a newAWS::Connect::TestCase.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForTestCase
- Parameters:
resource- This parameter is required.
-
isCfnTestCase
Checks whether the given object is a CfnTestCase.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrLastModifiedRegion
Last modified region. -
getAttrLastModifiedTime
A epoch time stamp field used for test case operations. -
getAttrTestCaseArn
The identifier of the test case. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getTestCaseRef
A reference to a TestCase resource.- Specified by:
getTestCaseRefin interfaceITestCaseRef
-
getContent
The content of the test case. -
setContent
The content of the test case. -
getInstanceArn
The identifier of the Amazon Connect instance. -
setInstanceArn
The identifier of the Amazon Connect instance. -
getName
The name of the test case. -
setName
The name of the test case. -
getDescription
The description of the test case. -
setDescription
The description of the test case. -
getEntryPoint
The Entry Point associated with the test case.Returns union: either
IResolvableorCfnTestCase.EntryPointProperty -
setEntryPoint
The Entry Point associated with the test case. -
setEntryPoint
The Entry Point associated with the test case. -
getInitializationData
The initialization data of the test case. -
setInitializationData
The initialization data of the test case. -
getStatus
The status of the test case. -
setStatus
The status of the test case. -
getTags
One or more tags. -
setTags
One or more tags.
-