We recommend new projects start with resources from the AWS provider.
aws-native.connect.TaskTemplate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Connect::TaskTemplate.
Create TaskTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TaskTemplate(name: string, args: TaskTemplateArgs, opts?: CustomResourceOptions);
@overload
def TaskTemplate(resource_name: str,
args: TaskTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TaskTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_arn: Optional[str] = None,
client_token: Optional[str] = None,
constraints: Optional[ConstraintsPropertiesArgs] = None,
contact_flow_arn: Optional[str] = None,
defaults: Optional[Sequence[TaskTemplateDefaultFieldValueArgs]] = None,
description: Optional[str] = None,
fields: Optional[Sequence[TaskTemplateFieldArgs]] = None,
name: Optional[str] = None,
status: Optional[TaskTemplateStatus] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewTaskTemplate(ctx *Context, name string, args TaskTemplateArgs, opts ...ResourceOption) (*TaskTemplate, error)
public TaskTemplate(string name, TaskTemplateArgs args, CustomResourceOptions? opts = null)
public TaskTemplate(String name, TaskTemplateArgs args)
public TaskTemplate(String name, TaskTemplateArgs args, CustomResourceOptions options)
type: aws-native:connect:TaskTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TaskTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TaskTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TaskTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaskTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TaskTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TaskTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TaskTemplate resource accepts the following input properties:
- Instance
Arn string - The identifier (arn) of the instance.
- Client
Token string - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Constraints
Pulumi.
Aws Native. Connect. Inputs. Constraints Properties - The constraints for the task template
- Contact
Flow stringArn - The identifier of the contact flow.
- Defaults
List<Pulumi.
Aws Native. Connect. Inputs. Task Template Default Field Value> - The default values for fields when a task is created by referencing this template.
- Description string
- The description of the task template.
- Fields
List<Pulumi.
Aws Native. Connect. Inputs. Task Template Field> - The list of task template's fields
- Name string
- The name of the task template.
- Status
Pulumi.
Aws Native. Connect. Task Template Status - The status of the task template.
- List<Pulumi.
Aws Native. Inputs. Tag> - One or more tags.
- Instance
Arn string - The identifier (arn) of the instance.
- Client
Token string - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Constraints
Constraints
Properties Args - The constraints for the task template
- Contact
Flow stringArn - The identifier of the contact flow.
- Defaults
[]Task
Template Default Field Value Args - The default values for fields when a task is created by referencing this template.
- Description string
- The description of the task template.
- Fields
[]Task
Template Field Args - The list of task template's fields
- Name string
- The name of the task template.
- Status
Task
Template Status - The status of the task template.
- Tag
Args - One or more tags.
- instance
Arn String - The identifier (arn) of the instance.
- client
Token String - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- constraints
Constraints
Properties - The constraints for the task template
- contact
Flow StringArn - The identifier of the contact flow.
- defaults
List<Task
Template Default Field Value> - The default values for fields when a task is created by referencing this template.
- description String
- The description of the task template.
- fields
List<Task
Template Field> - The list of task template's fields
- name String
- The name of the task template.
- status
Task
Template Status - The status of the task template.
- List<Tag>
- One or more tags.
- instance
Arn string - The identifier (arn) of the instance.
- client
Token string - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- constraints
Constraints
Properties - The constraints for the task template
- contact
Flow stringArn - The identifier of the contact flow.
- defaults
Task
Template Default Field Value[] - The default values for fields when a task is created by referencing this template.
- description string
- The description of the task template.
- fields
Task
Template Field[] - The list of task template's fields
- name string
- The name of the task template.
- status
Task
Template Status - The status of the task template.
- Tag[]
- One or more tags.
- instance_
arn str - The identifier (arn) of the instance.
- client_
token str - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- constraints
Constraints
Properties Args - The constraints for the task template
- contact_
flow_ strarn - The identifier of the contact flow.
- defaults
Sequence[Task
Template Default Field Value Args] - The default values for fields when a task is created by referencing this template.
- description str
- The description of the task template.
- fields
Sequence[Task
Template Field Args] - The list of task template's fields
- name str
- The name of the task template.
- status
Task
Template Status - The status of the task template.
- Sequence[Tag
Args] - One or more tags.
- instance
Arn String - The identifier (arn) of the instance.
- client
Token String - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- constraints Property Map
- The constraints for the task template
- contact
Flow StringArn - The identifier of the contact flow.
- defaults List<Property Map>
- The default values for fields when a task is created by referencing this template.
- description String
- The description of the task template.
- fields List<Property Map>
- The list of task template's fields
- name String
- The name of the task template.
- status "ACTIVE" | "INACTIVE"
- The status of the task template.
- List<Property Map>
- One or more tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the TaskTemplate resource produces the following output properties:
Supporting Types
ConstraintsProperties, ConstraintsPropertiesArgs
- Invisible
Fields List<Pulumi.Aws Native. Connect. Inputs. Task Template Invisible Field Info> - Lists the fields that are invisible to agents.
- Read
Only List<Pulumi.Fields Aws Native. Connect. Inputs. Task Template Read Only Field Info> - Lists the fields that are read-only to agents, and cannot be edited.
- Required
Fields List<Pulumi.Aws Native. Connect. Inputs. Task Template Required Field Info> - Lists the fields that are required to be filled by agents.
- Invisible
Fields []TaskTemplate Invisible Field Info - Lists the fields that are invisible to agents.
- Read
Only []TaskFields Template Read Only Field Info - Lists the fields that are read-only to agents, and cannot be edited.
- Required
Fields []TaskTemplate Required Field Info - Lists the fields that are required to be filled by agents.
- invisible
Fields List<TaskTemplate Invisible Field Info> - Lists the fields that are invisible to agents.
- read
Only List<TaskFields Template Read Only Field Info> - Lists the fields that are read-only to agents, and cannot be edited.
- required
Fields List<TaskTemplate Required Field Info> - Lists the fields that are required to be filled by agents.
- invisible
Fields TaskTemplate Invisible Field Info[] - Lists the fields that are invisible to agents.
- read
Only TaskFields Template Read Only Field Info[] - Lists the fields that are read-only to agents, and cannot be edited.
- required
Fields TaskTemplate Required Field Info[] - Lists the fields that are required to be filled by agents.
- invisible_
fields Sequence[TaskTemplate Invisible Field Info] - Lists the fields that are invisible to agents.
- read_
only_ Sequence[Taskfields Template Read Only Field Info] - Lists the fields that are read-only to agents, and cannot be edited.
- required_
fields Sequence[TaskTemplate Required Field Info] - Lists the fields that are required to be filled by agents.
- invisible
Fields List<Property Map> - Lists the fields that are invisible to agents.
- read
Only List<Property Map>Fields - Lists the fields that are read-only to agents, and cannot be edited.
- required
Fields List<Property Map> - Lists the fields that are required to be filled by agents.
Tag, TagArgs
TaskTemplateDefaultFieldValue, TaskTemplateDefaultFieldValueArgs
- Default
Value string - Default value for the field.
- Id
Pulumi.
Aws Native. Connect. Inputs. Task Template Field Identifier - Identifier of a field.
- Default
Value string - Default value for the field.
- Id
Task
Template Field Identifier - Identifier of a field.
- default
Value String - Default value for the field.
- id
Task
Template Field Identifier - Identifier of a field.
- default
Value string - Default value for the field.
- id
Task
Template Field Identifier - Identifier of a field.
- default_
value str - Default value for the field.
- id
Task
Template Field Identifier - Identifier of a field.
- default
Value String - Default value for the field.
- id Property Map
- Identifier of a field.
TaskTemplateField, TaskTemplateFieldArgs
- Id
Pulumi.
Aws Native. Connect. Inputs. Task Template Field Identifier - The unique identifier for the field.
- Type
Pulumi.
Aws Native. Connect. Task Template Field Type - Indicates the type of field. Following are the valid field types:
NAME
DESCRIPTION
|SCHEDULED_TIME
|QUICK_CONNECT
|URL
|NUMBER
|TEXT
|TEXT_AREA
|DATE_TIME
|BOOLEAN
|SINGLE_SELECT
|EMAIL
- Description string
- The description of the task template's field
- Single
Select List<string>Options - list of field options to be used with single select
- Id
Task
Template Field Identifier - The unique identifier for the field.
- Type
Task
Template Field Type - Indicates the type of field. Following are the valid field types:
NAME
DESCRIPTION
|SCHEDULED_TIME
|QUICK_CONNECT
|URL
|NUMBER
|TEXT
|TEXT_AREA
|DATE_TIME
|BOOLEAN
|SINGLE_SELECT
|EMAIL
- Description string
- The description of the task template's field
- Single
Select []stringOptions - list of field options to be used with single select
- id
Task
Template Field Identifier - The unique identifier for the field.
- type
Task
Template Field Type - Indicates the type of field. Following are the valid field types:
NAME
DESCRIPTION
|SCHEDULED_TIME
|QUICK_CONNECT
|URL
|NUMBER
|TEXT
|TEXT_AREA
|DATE_TIME
|BOOLEAN
|SINGLE_SELECT
|EMAIL
- description String
- The description of the task template's field
- single
Select List<String>Options - list of field options to be used with single select
- id
Task
Template Field Identifier - The unique identifier for the field.
- type
Task
Template Field Type - Indicates the type of field. Following are the valid field types:
NAME
DESCRIPTION
|SCHEDULED_TIME
|QUICK_CONNECT
|URL
|NUMBER
|TEXT
|TEXT_AREA
|DATE_TIME
|BOOLEAN
|SINGLE_SELECT
|EMAIL
- description string
- The description of the task template's field
- single
Select string[]Options - list of field options to be used with single select
- id
Task
Template Field Identifier - The unique identifier for the field.
- type
Task
Template Field Type - Indicates the type of field. Following are the valid field types:
NAME
DESCRIPTION
|SCHEDULED_TIME
|QUICK_CONNECT
|URL
|NUMBER
|TEXT
|TEXT_AREA
|DATE_TIME
|BOOLEAN
|SINGLE_SELECT
|EMAIL
- description str
- The description of the task template's field
- single_
select_ Sequence[str]options - list of field options to be used with single select
- id Property Map
- The unique identifier for the field.
- type "NAME" | "DESCRIPTION" | "SCHEDULED_TIME" | "QUICK_CONNECT" | "URL" | "NUMBER" | "TEXT" | "TEXT_AREA" | "DATE_TIME" | "BOOLEAN" | "SINGLE_SELECT" | "EMAIL"
- Indicates the type of field. Following are the valid field types:
NAME
DESCRIPTION
|SCHEDULED_TIME
|QUICK_CONNECT
|URL
|NUMBER
|TEXT
|TEXT_AREA
|DATE_TIME
|BOOLEAN
|SINGLE_SELECT
|EMAIL
- description String
- The description of the task template's field
- single
Select List<String>Options - list of field options to be used with single select
TaskTemplateFieldIdentifier, TaskTemplateFieldIdentifierArgs
- Name string
- The name of the task template field
- Name string
- The name of the task template field
- name String
- The name of the task template field
- name string
- The name of the task template field
- name str
- The name of the task template field
- name String
- The name of the task template field
TaskTemplateFieldType, TaskTemplateFieldTypeArgs
- Name
- NAME
- Description
- DESCRIPTION
- Scheduled
Time - SCHEDULED_TIME
- Quick
Connect - QUICK_CONNECT
- Url
- URL
- Number
- NUMBER
- Text
- TEXT
- Text
Area - TEXT_AREA
- Date
Time - DATE_TIME
- Boolean
- BOOLEAN
- Single
Select - SINGLE_SELECT
- Task
Template Field Type Name - NAME
- Task
Template Field Type Description - DESCRIPTION
- Task
Template Field Type Scheduled Time - SCHEDULED_TIME
- Task
Template Field Type Quick Connect - QUICK_CONNECT
- Task
Template Field Type Url - URL
- Task
Template Field Type Number - NUMBER
- Task
Template Field Type Text - TEXT
- Task
Template Field Type Text Area - TEXT_AREA
- Task
Template Field Type Date Time - DATE_TIME
- Task
Template Field Type Boolean - BOOLEAN
- Task
Template Field Type Single Select - SINGLE_SELECT
- Task
Template Field Type Email
- Name
- NAME
- Description
- DESCRIPTION
- Scheduled
Time - SCHEDULED_TIME
- Quick
Connect - QUICK_CONNECT
- Url
- URL
- Number
- NUMBER
- Text
- TEXT
- Text
Area - TEXT_AREA
- Date
Time - DATE_TIME
- Boolean
- BOOLEAN
- Single
Select - SINGLE_SELECT
- Name
- NAME
- Description
- DESCRIPTION
- Scheduled
Time - SCHEDULED_TIME
- Quick
Connect - QUICK_CONNECT
- Url
- URL
- Number
- NUMBER
- Text
- TEXT
- Text
Area - TEXT_AREA
- Date
Time - DATE_TIME
- Boolean
- BOOLEAN
- Single
Select - SINGLE_SELECT
- NAME
- NAME
- DESCRIPTION
- DESCRIPTION
- SCHEDULED_TIME
- SCHEDULED_TIME
- QUICK_CONNECT
- QUICK_CONNECT
- URL
- URL
- NUMBER
- NUMBER
- TEXT
- TEXT
- TEXT_AREA
- TEXT_AREA
- DATE_TIME
- DATE_TIME
- BOOLEAN
- BOOLEAN
- SINGLE_SELECT
- SINGLE_SELECT
- "NAME"
- NAME
- "DESCRIPTION"
- DESCRIPTION
- "SCHEDULED_TIME"
- SCHEDULED_TIME
- "QUICK_CONNECT"
- QUICK_CONNECT
- "URL"
- URL
- "NUMBER"
- NUMBER
- "TEXT"
- TEXT
- "TEXT_AREA"
- TEXT_AREA
- "DATE_TIME"
- DATE_TIME
- "BOOLEAN"
- BOOLEAN
- "SINGLE_SELECT"
- SINGLE_SELECT
- "EMAIL"
TaskTemplateInvisibleFieldInfo, TaskTemplateInvisibleFieldInfoArgs
TaskTemplateReadOnlyFieldInfo, TaskTemplateReadOnlyFieldInfoArgs
TaskTemplateRequiredFieldInfo, TaskTemplateRequiredFieldInfoArgs
TaskTemplateStatus, TaskTemplateStatusArgs
- Active
- ACTIVE
- Inactive
- INACTIVE
- Task
Template Status Active - ACTIVE
- Task
Template Status Inactive - INACTIVE
- Active
- ACTIVE
- Inactive
- INACTIVE
- Active
- ACTIVE
- Inactive
- INACTIVE
- ACTIVE
- ACTIVE
- INACTIVE
- INACTIVE
- "ACTIVE"
- ACTIVE
- "INACTIVE"
- INACTIVE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.