Class CfnTaskTemplateProps
Properties for defining a CfnTaskTemplate
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTaskTemplateProps : ICfnTaskTemplateProps
Syntax (vb)
Public Class CfnTaskTemplateProps 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",
SelfAssignContactFlowArn = "selfAssignContactFlowArn",
Status = "status",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnTaskTemplateProps() | Properties for defining a |
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. |
SelfAssignContactFlowArn | The Amazon Resource Name (ARN) of the flow. |
Status | The status of the task template. |
Tags | The tags used to organize, track, or control access for this resource. |
Constructors
CfnTaskTemplateProps()
Properties for defining a CfnTaskTemplate
.
public CfnTaskTemplateProps()
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",
SelfAssignContactFlowArn = "selfAssignContactFlowArn",
Status = "status",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
ClientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public string? ClientToken { get; set; }
Property Value
Remarks
Constraints
Constraints that are applicable to the fields listed.
public object? Constraints { get; set; }
Property Value
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
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
Remarks
Description
The description of the task template.
public string? Description { get; set; }
Property Value
Remarks
Fields
Fields that are part of the template.
public object? Fields { get; set; }
Property Value
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
Remarks
Name
The name of the task template.
public string? Name { get; set; }
Property Value
Remarks
SelfAssignContactFlowArn
The Amazon Resource Name (ARN) of the flow.
public string? SelfAssignContactFlowArn { get; set; }
Property Value
Remarks
Status
The status of the task template.
public string? Status { get; set; }
Property Value
Remarks
Tags
The tags used to organize, track, or control access for this resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]