Class CfnTaskTemplate
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.CfnTaskTemplate
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:41.099Z")
@Stability(Stable)
public class CfnTaskTemplate
extends CfnResource
implements IInspectable, ITaggable
Specifies a task template for a Amazon Connect instance.
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.*; Object constraints; CfnTaskTemplate cfnTaskTemplate = CfnTaskTemplate.Builder.create(this, "MyCfnTaskTemplate") .instanceArn("instanceArn") // the properties below are optional .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() .id(FieldIdentifierProperty.builder() .name("name") .build()) .type("type") // the properties below are optional .description("description") .singleSelectOptions(List.of("singleSelectOptions")) .build())) .name("name") .status("status") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnTaskTemplate
.static interface
Describes constraints that apply to the template fields.static interface
Describes a default field and its corresponding value.static interface
The identifier of the task template field.static interface
Describes a single task template field.static interface
A field that is invisible to an agent.static interface
Indicates a field that is read-only to an agent.static interface
Information about a required field.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnTaskTemplate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnTaskTemplate
(software.amazon.jsii.JsiiObjectRef objRef) CfnTaskTemplate
(software.constructs.Construct scope, String id, CfnTaskTemplateProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the task template.A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.Constraints that are applicable to the fields listed.The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template.The default values for fields when a task is created by referencing this template.The description of the task template.Fields that are part of the template.The Amazon Resource Name (ARN) of the Amazon Connect instance.getName()
The name of the task template.The status of the task template.getTags()
Tag Manager which manages the tags for this resource.The tags used to organize, track, or control access for this resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setClientToken
(String value) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.void
setConstraints
(Object value) Constraints that are applicable to the fields listed.void
setContactFlowArn
(String value) The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template.void
setDefaults
(List<Object> value) The default values for fields when a task is created by referencing this template.void
setDefaults
(IResolvable value) The default values for fields when a task is created by referencing this template.void
setDescription
(String value) The description of the task template.void
Fields that are part of the template.void
setFields
(IResolvable value) Fields that are part of the template.void
setInstanceArn
(String value) The Amazon Resource Name (ARN) of the Amazon Connect instance.void
The name of the task template.void
The status of the task template.void
setTagsRaw
(List<CfnTag> value) The tags used to organize, track, or control access for this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-
CfnTaskTemplate
protected CfnTaskTemplate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTaskTemplate
protected CfnTaskTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTaskTemplate
@Stability(Stable) public CfnTaskTemplate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTaskTemplateProps props) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the task template. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getInstanceArn
The Amazon Resource Name (ARN) of the Amazon Connect instance. -
setInstanceArn
The Amazon Resource Name (ARN) of the Amazon Connect instance. -
getClientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. -
setClientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. -
getConstraints
Constraints that are applicable to the fields listed. -
setConstraints
Constraints that are applicable to the fields listed. -
getContactFlowArn
The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template. -
setContactFlowArn
The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template. -
getDefaults
The default values for fields when a task is created by referencing this template. -
setDefaults
The default values for fields when a task is created by referencing this template. -
setDefaults
The default values for fields when a task is created by referencing this template. -
getDescription
The description of the task template. -
setDescription
The description of the task template. -
getFields
Fields that are part of the template. -
setFields
Fields that are part of the template. -
setFields
Fields that are part of the template. -
getName
The name of the task template. -
setName
The name of the task template. -
getStatus
The status of the task template. -
setStatus
The status of the task template. -
getTagsRaw
The tags used to organize, track, or control access for this resource. -
setTagsRaw
The tags used to organize, track, or control access for this resource.
-