Class CfnTaskTemplate
Specifies a task template for a Amazon Connect instance.
Inherited Members
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTaskTemplate : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnTaskTemplate
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-tasktemplate.html
CloudformationResource: AWS::Connect::TaskTemplate
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 cfnTaskTemplate = new CfnTaskTemplate(this, "MyCfnTaskTemplate", 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
CfnTaskTemplate(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTaskTemplate(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnTaskTemplate(Construct, String, ICfnTaskTemplateProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the task template. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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 | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags used to organize, track, or control access for this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTaskTemplate(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTaskTemplate(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTaskTemplate(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTaskTemplate(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnTaskTemplate(Construct, String, ICfnTaskTemplateProps)
public CfnTaskTemplate(Construct scope, string id, ICfnTaskTemplateProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnTaskTemplateProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the task template.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ClientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public virtual string ClientToken { get; set; }
Property Value
System.String
Constraints
Constraints that are applicable to the fields listed.
public virtual object Constraints { get; set; }
Property Value
System.Object
ContactFlowArn
The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template.
public virtual string ContactFlowArn { get; set; }
Property Value
System.String
Defaults
The default values for fields when a task is created by referencing this template.
public virtual object Defaults { get; set; }
Property Value
System.Object
Description
The description of the task template.
public virtual string Description { get; set; }
Property Value
System.String
Fields
Fields that are part of the template.
public virtual object Fields { get; set; }
Property Value
System.Object
InstanceArn
The Amazon Resource Name (ARN) of the Amazon Connect instance.
public virtual string InstanceArn { get; set; }
Property Value
System.String
Name
The name of the task template.
public virtual string Name { get; set; }
Property Value
System.String
Status
The status of the task template.
public virtual string Status { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags used to organize, track, or control access for this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>