We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.connect.getTaskTemplate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 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 dictionaryThe 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.
- ClientToken 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
- ContactFlow 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
- InstanceArn string
- The identifier (arn) of the instance.
- Name string
- The name of the task template.
- SelfAssign 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.
- ClientToken string
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Constraints
ConstraintsProperties 
- The constraints for the task template
- ContactFlow stringArn 
- The identifier of the contact flow.
- Defaults
[]TaskTemplate 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
[]TaskTemplate Field 
- The list of task template's fields
- InstanceArn string
- The identifier (arn) of the instance.
- Name string
- The name of the task template.
- SelfAssign stringContact Flow Arn 
- The identifier of the contact flow.
- Status
TaskTemplate Status 
- The status of the task template.
- Tag
- One or more tags.
- arn String
- The identifier (arn) of the task template.
- clientToken String
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- constraints
ConstraintsProperties 
- The constraints for the task template
- contactFlow StringArn 
- The identifier of the contact flow.
- defaults
List<TaskTemplate 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<TaskTemplate Field> 
- The list of task template's fields
- instanceArn String
- The identifier (arn) of the instance.
- name String
- The name of the task template.
- selfAssign StringContact Flow Arn 
- The identifier of the contact flow.
- status
TaskTemplate Status 
- The status of the task template.
- List<Tag>
- One or more tags.
- arn string
- The identifier (arn) of the task template.
- clientToken string
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- constraints
ConstraintsProperties 
- The constraints for the task template
- contactFlow stringArn 
- The identifier of the contact flow.
- defaults
TaskTemplate 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
TaskTemplate Field[] 
- The list of task template's fields
- instanceArn string
- The identifier (arn) of the instance.
- name string
- The name of the task template.
- selfAssign stringContact Flow Arn 
- The identifier of the contact flow.
- status
TaskTemplate 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
ConstraintsProperties 
- The constraints for the task template
- contact_flow_ strarn 
- The identifier of the contact flow.
- defaults
Sequence[TaskTemplate 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[TaskTemplate 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
TaskTemplate Status 
- The status of the task template.
- Sequence[root_Tag]
- One or more tags.
- arn String
- The identifier (arn) of the task template.
- clientToken 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
- contactFlow 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
- instanceArn String
- The identifier (arn) of the instance.
- name String
- The name of the task template.
- selfAssign 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 
- InvisibleFields List<Pulumi.Aws Native. Connect. Inputs. Task Template Invisible Field Info> 
- Lists the fields that are invisible to agents.
- ReadOnly 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.
- RequiredFields List<Pulumi.Aws Native. Connect. Inputs. Task Template Required Field Info> 
- Lists the fields that are required to be filled by agents.
- InvisibleFields []TaskTemplate Invisible Field Info 
- Lists the fields that are invisible to agents.
- ReadOnly []TaskFields Template Read Only Field Info 
- Lists the fields that are read-only to agents, and cannot be edited.
- RequiredFields []TaskTemplate Required Field Info 
- Lists the fields that are required to be filled by agents.
- invisibleFields List<TaskTemplate Invisible Field Info> 
- Lists the fields that are invisible to agents.
- readOnly List<TaskFields Template Read Only Field Info> 
- Lists the fields that are read-only to agents, and cannot be edited.
- requiredFields List<TaskTemplate Required Field Info> 
- Lists the fields that are required to be filled by agents.
- invisibleFields TaskTemplate Invisible Field Info[] 
- Lists the fields that are invisible to agents.
- readOnly TaskFields Template Read Only Field Info[] 
- Lists the fields that are read-only to agents, and cannot be edited.
- requiredFields 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.
- invisibleFields List<Property Map>
- Lists the fields that are invisible to agents.
- readOnly List<Property Map>Fields 
- Lists the fields that are read-only to agents, and cannot be edited.
- requiredFields List<Property Map>
- Lists the fields that are required to be filled by agents.
Tag
TaskTemplateDefaultFieldValue    
- DefaultValue string
- Default value for the field.
- Id
Pulumi.Aws Native. Connect. Inputs. Task Template Field Identifier 
- Identifier of a field.
- DefaultValue string
- Default value for the field.
- Id
TaskTemplate Field Identifier 
- Identifier of a field.
- defaultValue String
- Default value for the field.
- id
TaskTemplate Field Identifier 
- Identifier of a field.
- defaultValue string
- Default value for the field.
- id
TaskTemplate Field Identifier 
- Identifier of a field.
- default_value str
- Default value for the field.
- id
TaskTemplate Field Identifier 
- Identifier of a field.
- defaultValue 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: NAMEDESCRIPTION|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
- SingleSelect List<string>Options 
- list of field options to be used with single select
- Id
TaskTemplate Field Identifier 
- The unique identifier for the field.
- Type
TaskTemplate Field Type 
- Indicates the type of field. Following are the valid field types: NAMEDESCRIPTION|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
- SingleSelect []stringOptions 
- list of field options to be used with single select
- id
TaskTemplate Field Identifier 
- The unique identifier for the field.
- type
TaskTemplate Field Type 
- Indicates the type of field. Following are the valid field types: NAMEDESCRIPTION|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
- singleSelect List<String>Options 
- list of field options to be used with single select
- id
TaskTemplate Field Identifier 
- The unique identifier for the field.
- type
TaskTemplate Field Type 
- Indicates the type of field. Following are the valid field types: NAMEDESCRIPTION|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
- singleSelect string[]Options 
- list of field options to be used with single select
- id
TaskTemplate Field Identifier 
- The unique identifier for the field.
- type
TaskTemplate Field Type 
- Indicates the type of field. Following are the valid field types: NAMEDESCRIPTION|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: NAMEDESCRIPTION|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
- singleSelect 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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi