Interface CfnTaskTemplateMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskTemplateMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.640Z")
@Stability(Stable)
public interface CfnTaskTemplateMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnTaskTemplatePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.connect.*;
Object constraints;
CfnTaskTemplateMixinProps cfnTaskTemplateMixinProps = CfnTaskTemplateMixinProps.builder()
.clientToken("clientToken")
.constraints(constraints)
.contactFlowArn("contactFlowArn")
.defaults(List.of(DefaultFieldValueProperty.builder()
.defaultValue("defaultValue")
.id(FieldIdentifierProperty.builder()
.name("name")
.build())
.build()))
.description("description")
.fields(List.of(FieldProperty.builder()
.description("description")
.id(FieldIdentifierProperty.builder()
.name("name")
.build())
.singleSelectOptions(List.of("singleSelectOptions"))
.type("type")
.build()))
.instanceArn("instanceArn")
.name("name")
.selfAssignContactFlowArn("selfAssignContactFlowArn")
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskTemplateMixinPropsstatic final classAn implementation forCfnTaskTemplateMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default ObjectConstraints that are applicable to the fields listed.default StringThe Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template.default ObjectThe default values for fields when a task is created by referencing this template.default StringThe description of the task template.default ObjectFields that are part of the template.default StringThe Amazon Resource Name (ARN) of the Amazon Connect instance.default StringgetName()The name of the task template.default StringThe Amazon Resource Name (ARN) of the flow.default StringThe status of the task template.getTags()The tags used to organize, track, or control access for this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- See Also:
-
getConstraints
Constraints that are applicable to the fields listed.The values can be represented in either JSON or YAML format. For an example of the JSON configuration, see Examples at the bottom of this page.
- See Also:
-
getContactFlowArn
The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template.ContactFlowArnis not required when there is a field withfieldType=QUICK_CONNECT.- See Also:
-
getDefaults
The default values for fields when a task is created by referencing this template.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTaskTemplatePropsMixin.DefaultFieldValueProperty>- See Also:
-
getDescription
The description of the task template.- See Also:
-
getFields
Fields that are part of the template.A template requires at least one field that has type
Name.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTaskTemplatePropsMixin.FieldProperty>- See Also:
-
getInstanceArn
The Amazon Resource Name (ARN) of the Amazon Connect instance.- See Also:
-
getName
The name of the task template.- See Also:
-
getSelfAssignContactFlowArn
The Amazon Resource Name (ARN) of the flow.- See Also:
-
getStatus
The status of the task template.- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.- See Also:
-
builder
- Returns:
- a
CfnTaskTemplateMixinProps.BuilderofCfnTaskTemplateMixinProps
-