Class CfnTaskTemplateProps
Properties for defining a CfnTaskTemplate
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTaskTemplateProps : Object, ICfnTaskTemplateProps
Syntax (vb)
Public Class CfnTaskTemplateProps
Inherits Object
Implements ICfnTaskTemplateProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html
ExampleMetadata: fixture=_generated
Examples
// 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 constraints;
var cfnTaskTemplateProps = new CfnTaskTemplateProps {
InstanceArn = "instanceArn",
// the properties below are optional
ClientToken = "clientToken",
Constraints = constraints,
ContactFlowArn = "contactFlowArn",
Defaults = new [] { new DefaultFieldValueProperty {
DefaultValue = "defaultValue",
Id = new FieldIdentifierProperty {
Name = "name"
}
} },
Description = "description",
Fields = new [] { new FieldProperty {
Id = new FieldIdentifierProperty {
Name = "name"
},
Type = "type",
// the properties below are optional
Description = "description",
SingleSelectOptions = new [] { "singleSelectOptions" }
} },
Name = "name",
Status = "status",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnTaskTemplateProps() |
Properties
ClientToken | A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. |
Constraints | Constraints that are applicable to the fields listed. |
ContactFlowArn | The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template. |
Defaults | The default values for fields when a task is created by referencing this template. |
Description | The description of the task template. |
Fields | Fields that are part of the template. |
InstanceArn | The Amazon Resource Name (ARN) of the Amazon Connect instance. |
Name | The name of the task template. |
Status | The status of the task template. |
Tags | The tags used to organize, track, or control access for this resource. |
Constructors
CfnTaskTemplateProps()
public CfnTaskTemplateProps()
Properties
ClientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public string ClientToken { get; set; }
Property Value
System.String
Remarks
Constraints
Constraints that are applicable to the fields listed.
public object Constraints { get; set; }
Property Value
System.Object
Remarks
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.
ContactFlowArn
The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template.
public string ContactFlowArn { get; set; }
Property Value
System.String
Remarks
ContactFlowArn
is not required when there is a field with fieldType
= QUICK_CONNECT
.
Defaults
The default values for fields when a task is created by referencing this template.
public object Defaults { get; set; }
Property Value
System.Object
Remarks
Description
The description of the task template.
public string Description { get; set; }
Property Value
System.String
Remarks
Fields
Fields that are part of the template.
public object Fields { get; set; }
Property Value
System.Object
Remarks
A template requires at least one field that has type Name
.
InstanceArn
The Amazon Resource Name (ARN) of the Amazon Connect instance.
public string InstanceArn { get; set; }
Property Value
System.String
Remarks
Name
The name of the task template.
public string Name { get; set; }
Property Value
System.String
Remarks
Status
The status of the task template.
public string Status { get; set; }
Property Value
System.String
Remarks
Tags
The tags used to organize, track, or control access for this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]