Show / Hide Table of Contents

Class CfnTaskTemplateProps

Properties for defining a CfnTaskTemplate.

Inheritance
object
CfnTaskTemplateProps
Implements
ICfnTaskTemplateProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnTaskTemplate.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-clienttoken

Constraints

Constraints that are applicable to the fields listed.

public object? Constraints { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-constraints

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

string

Remarks

ContactFlowArn is not required when there is a field with fieldType = QUICK_CONNECT .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-contactflowarn

Defaults

The default values for fields when a task is created by referencing this template.

public object? Defaults { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-defaults

Description

The description of the task template.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-description

Fields

Fields that are part of the template.

public object? Fields { get; set; }
Property Value

object

Remarks

A template requires at least one field that has type Name .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-fields

InstanceArn

The Amazon Resource Name (ARN) of the Amazon Connect instance.

public string InstanceArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-instancearn

Name

The name of the task template.

public string? Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-name

SelfAssignContactFlowArn

The Amazon Resource Name (ARN) of the flow.

public string? SelfAssignContactFlowArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-selfassigncontactflowarn

Status

The status of the task template.

public string? Status { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-status

Tags

The tags used to organize, track, or control access for this resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html#cfn-connect-tasktemplate-tags

Implements

ICfnTaskTemplateProps
Back to top Generated by DocFX