We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.connect.getTaskTemplate
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource Type definition for AWS::Connect::TaskTemplate.
Using getTaskTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTaskTemplate(args: GetTaskTemplateArgs, opts?: InvokeOptions): Promise<GetTaskTemplateResult>
function getTaskTemplateOutput(args: GetTaskTemplateOutputArgs, opts?: InvokeOptions): Output<GetTaskTemplateResult>
def get_task_template(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTaskTemplateResult
def get_task_template_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTaskTemplateResult]
func LookupTaskTemplate(ctx *Context, args *LookupTaskTemplateArgs, opts ...InvokeOption) (*LookupTaskTemplateResult, error)
func LookupTaskTemplateOutput(ctx *Context, args *LookupTaskTemplateOutputArgs, opts ...InvokeOption) LookupTaskTemplateResultOutput
> Note: This function is named LookupTaskTemplate
in the Go SDK.
public static class GetTaskTemplate
{
public static Task<GetTaskTemplateResult> InvokeAsync(GetTaskTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetTaskTemplateResult> Invoke(GetTaskTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTaskTemplateResult> getTaskTemplate(GetTaskTemplateArgs args, InvokeOptions options)
public static Output<GetTaskTemplateResult> getTaskTemplate(GetTaskTemplateArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:connect:getTaskTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The identifier (arn) of the task template.
- Arn string
- The identifier (arn) of the task template.
- arn String
- The identifier (arn) of the task template.
- arn string
- The identifier (arn) of the task template.
- arn str
- The identifier (arn) of the task template.
- arn String
- The identifier (arn) of the task template.
getTaskTemplate Result
The following output properties are available:
- Arn string
- The identifier (arn) of the task template.
- Client
Token string - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Constraints
Pulumi.
Aws Native. Connect. Outputs. Constraints Properties - The constraints for the task template
- Contact
Flow stringArn - The identifier of the contact flow.
- Defaults
List<Pulumi.
Aws Native. Connect. Outputs. 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. Outputs. Task Template Field> - The list of task template's fields
- Instance
Arn string - The identifier (arn) of the instance.
- Name string
- The name of the task template.
- Self
Assign stringContact Flow Arn - The identifier of the contact flow.
- Status
Pulumi.
Aws Native. Connect. Task Template Status - The status of the task template.
- List<Pulumi.
Aws Native. Outputs. Tag> - One or more tags.
- Arn string
- The identifier (arn) of the task template.
- 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
- Instance
Arn string - The identifier (arn) of the instance.
- Name string
- The name of the task template.
- Self
Assign stringContact Flow Arn - The identifier of the contact flow.
- Status
Task
Template Status - The status of the task template.
- Tag
- One or more tags.
- arn String
- The identifier (arn) of the task template.
- 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
- instance
Arn String - The identifier (arn) of the instance.
- name String
- The name of the task template.
- self
Assign StringContact Flow Arn - The identifier of the contact flow.
- status
Task
Template Status - The status of the task template.
- List<Tag>
- One or more tags.
- arn string
- The identifier (arn) of the task template.
- 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
- instance
Arn string - The identifier (arn) of the instance.
- name string
- The name of the task template.
- self
Assign stringContact Flow Arn - The identifier of the contact flow.
- status
Task
Template Status - The status of the task template.
- Tag[]
- One or more tags.
- arn str
- The identifier (arn) of the task template.
- client_
token str - 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_ strarn - The identifier of the contact flow.
- defaults
Sequence[Task
Template Default Field Value] - 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] - The list of task template's fields
- instance_
arn str - The identifier (arn) of the instance.
- name str
- The name of the task template.
- self_
assign_ strcontact_ flow_ arn - The identifier of the contact flow.
- status
Task
Template Status - The status of the task template.
- Sequence[root_Tag]
- One or more tags.
- arn String
- The identifier (arn) of the task template.
- 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
- instance
Arn String - The identifier (arn) of the instance.
- name String
- The name of the task template.
- self
Assign StringContact Flow Arn - The identifier of the contact flow.
- status "ACTIVE" | "INACTIVE"
- The status of the task template.
- List<Property Map>
- One or more tags.
Supporting Types
ConstraintsProperties
- 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
TaskTemplateDefaultFieldValue
- 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
- 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" | "EXPIRY_DURATION" | "SELF_ASSIGN"
- 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
- 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
TaskTemplateInvisibleFieldInfo
TaskTemplateReadOnlyFieldInfo
TaskTemplateRequiredFieldInfo
TaskTemplateStatus
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi