AWS Classic
ContactFlow
Provides an Amazon Connect Contact Flow resource. For more information see Amazon Connect: Getting Started
This resource embeds or references Contact Flows specified in Amazon Connect Contact Flow Language. For more information see Amazon Connect Flow language
!> WARN: Contact Flows exported from the Console Contact Flow import/export are not in the Amazon Connect Contact Flow Language and can not be used with this resource. Instead, the recommendation is to use the AWS CLI describe-contact-flow
.
See example below which uses jq
to extract the Content
attribute and saves it to a local file.
Example Usage
Basic
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var test = new Aws.Connect.ContactFlow("test", new Aws.Connect.ContactFlowArgs
{
Content = @" {
""Version"": ""2019-10-30"",
""StartAction"": ""12345678-1234-1234-1234-123456789012"",
""Actions"": [
{
""Identifier"": ""12345678-1234-1234-1234-123456789012"",
""Type"": ""MessageParticipant"",
""Transitions"": {
""NextAction"": ""abcdef-abcd-abcd-abcd-abcdefghijkl"",
""Errors"": [],
""Conditions"": []
},
""Parameters"": {
""Text"": ""Thanks for calling the sample flow!""
}
},
{
""Identifier"": ""abcdef-abcd-abcd-abcd-abcdefghijkl"",
""Type"": ""DisconnectParticipant"",
""Transitions"": {},
""Parameters"": {}
}
]
}
",
Description = "Test Contact Flow Description",
InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
Tags =
{
{ "Application", "Terraform" },
{ "Method", "Create" },
{ "Name", "Test Contact Flow" },
},
Type = "CONTACT_FLOW",
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewContactFlow(ctx, "test", &connect.ContactFlowArgs{
Content: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " {\n", " \"Version\": \"2019-10-30\",\n", " \"StartAction\": \"12345678-1234-1234-1234-123456789012\",\n", " \"Actions\": [\n", " {\n", " \"Identifier\": \"12345678-1234-1234-1234-123456789012\",\n", " \"Type\": \"MessageParticipant\",\n", " \"Transitions\": {\n", " \"NextAction\": \"abcdef-abcd-abcd-abcd-abcdefghijkl\",\n", " \"Errors\": [],\n", " \"Conditions\": []\n", " },\n", " \"Parameters\": {\n", " \"Text\": \"Thanks for calling the sample flow!\"\n", " }\n", " },\n", " {\n", " \"Identifier\": \"abcdef-abcd-abcd-abcd-abcdefghijkl\",\n", " \"Type\": \"DisconnectParticipant\",\n", " \"Transitions\": {},\n", " \"Parameters\": {}\n", " }\n", " ]\n", " }\n", " \n")),
Description: pulumi.String("Test Contact Flow Description"),
InstanceId: pulumi.String("aaaaaaaa-bbbb-cccc-dddd-111111111111"),
Tags: pulumi.StringMap{
"Application": pulumi.String("Terraform"),
"Method": pulumi.String("Create"),
"Name": pulumi.String("Test Contact Flow"),
},
Type: pulumi.String("CONTACT_FLOW"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new ContactFlow("test", ContactFlowArgs.builder()
.content("""
{
"Version": "2019-10-30",
"StartAction": "12345678-1234-1234-1234-123456789012",
"Actions": [
{
"Identifier": "12345678-1234-1234-1234-123456789012",
"Type": "MessageParticipant",
"Transitions": {
"NextAction": "abcdef-abcd-abcd-abcd-abcdefghijkl",
"Errors": [],
"Conditions": []
},
"Parameters": {
"Text": "Thanks for calling the sample flow!"
}
},
{
"Identifier": "abcdef-abcd-abcd-abcd-abcdefghijkl",
"Type": "DisconnectParticipant",
"Transitions": {},
"Parameters": {}
}
]
}
""")
.description("Test Contact Flow Description")
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.tags(Map.ofEntries(
Map.entry("Application", "Terraform"),
Map.entry("Method", "Create"),
Map.entry("Name", "Test Contact Flow")
))
.type("CONTACT_FLOW")
.build());
}
}
import pulumi
import pulumi_aws as aws
test = aws.connect.ContactFlow("test",
content=""" {
"Version": "2019-10-30",
"StartAction": "12345678-1234-1234-1234-123456789012",
"Actions": [
{
"Identifier": "12345678-1234-1234-1234-123456789012",
"Type": "MessageParticipant",
"Transitions": {
"NextAction": "abcdef-abcd-abcd-abcd-abcdefghijkl",
"Errors": [],
"Conditions": []
},
"Parameters": {
"Text": "Thanks for calling the sample flow!"
}
},
{
"Identifier": "abcdef-abcd-abcd-abcd-abcdefghijkl",
"Type": "DisconnectParticipant",
"Transitions": {},
"Parameters": {}
}
]
}
""",
description="Test Contact Flow Description",
instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
tags={
"Application": "Terraform",
"Method": "Create",
"Name": "Test Contact Flow",
},
type="CONTACT_FLOW")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.connect.ContactFlow("test", {
content: ` {
"Version": "2019-10-30",
"StartAction": "12345678-1234-1234-1234-123456789012",
"Actions": [
{
"Identifier": "12345678-1234-1234-1234-123456789012",
"Type": "MessageParticipant",
"Transitions": {
"NextAction": "abcdef-abcd-abcd-abcd-abcdefghijkl",
"Errors": [],
"Conditions": []
},
"Parameters": {
"Text": "Thanks for calling the sample flow!"
}
},
{
"Identifier": "abcdef-abcd-abcd-abcd-abcdefghijkl",
"Type": "DisconnectParticipant",
"Transitions": {},
"Parameters": {}
}
]
}
`,
description: "Test Contact Flow Description",
instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
tags: {
Application: "Terraform",
Method: "Create",
Name: "Test Contact Flow",
},
type: "CONTACT_FLOW",
});
resources:
test:
type: aws:connect:ContactFlow
properties:
content: |
{
"Version": "2019-10-30",
"StartAction": "12345678-1234-1234-1234-123456789012",
"Actions": [
{
"Identifier": "12345678-1234-1234-1234-123456789012",
"Type": "MessageParticipant",
"Transitions": {
"NextAction": "abcdef-abcd-abcd-abcd-abcdefghijkl",
"Errors": [],
"Conditions": []
},
"Parameters": {
"Text": "Thanks for calling the sample flow!"
}
},
{
"Identifier": "abcdef-abcd-abcd-abcd-abcdefghijkl",
"Type": "DisconnectParticipant",
"Transitions": {},
"Parameters": {}
}
]
}
description: Test Contact Flow Description
instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
tags:
Application: Terraform
Method: Create
Name: Test Contact Flow
type: CONTACT_FLOW
Create a ContactFlow Resource
new ContactFlow(name: string, args: ContactFlowArgs, opts?: CustomResourceOptions);
@overload
def ContactFlow(resource_name: str,
opts: Optional[ResourceOptions] = None,
content: Optional[str] = None,
content_hash: Optional[str] = None,
description: Optional[str] = None,
filename: Optional[str] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None)
@overload
def ContactFlow(resource_name: str,
args: ContactFlowArgs,
opts: Optional[ResourceOptions] = None)
func NewContactFlow(ctx *Context, name string, args ContactFlowArgs, opts ...ResourceOption) (*ContactFlow, error)
public ContactFlow(string name, ContactFlowArgs args, CustomResourceOptions? opts = null)
public ContactFlow(String name, ContactFlowArgs args)
public ContactFlow(String name, ContactFlowArgs args, CustomResourceOptions options)
type: aws:connect:ContactFlow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContactFlowArgs
- 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 ContactFlowArgs
- 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 ContactFlowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContactFlowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContactFlowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ContactFlow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ContactFlow resource accepts the following input properties:
- Instance
Id string Specifies the identifier of the hosting Amazon Connect Instance.
- Content string
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- Content
Hash string - Description string
Specifies the description of the Contact Flow.
- Filename string
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- Name string
Specifies the name of the Contact Flow.
- Dictionary<string, string>
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Type string
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- Instance
Id string Specifies the identifier of the hosting Amazon Connect Instance.
- Content string
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- Content
Hash string - Description string
Specifies the description of the Contact Flow.
- Filename string
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- Name string
Specifies the name of the Contact Flow.
- map[string]string
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Type string
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- instance
Id String Specifies the identifier of the hosting Amazon Connect Instance.
- content String
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- content
Hash String - description String
Specifies the description of the Contact Flow.
- filename String
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- name String
Specifies the name of the Contact Flow.
- Map<String,String>
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- type String
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- instance
Id string Specifies the identifier of the hosting Amazon Connect Instance.
- content string
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- content
Hash string - description string
Specifies the description of the Contact Flow.
- filename string
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- name string
Specifies the name of the Contact Flow.
- {[key: string]: string}
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- type string
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- instance_
id str Specifies the identifier of the hosting Amazon Connect Instance.
- content str
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- content_
hash str - description str
Specifies the description of the Contact Flow.
- filename str
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- name str
Specifies the name of the Contact Flow.
- Mapping[str, str]
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- type str
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- instance
Id String Specifies the identifier of the hosting Amazon Connect Instance.
- content String
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- content
Hash String - description String
Specifies the description of the Contact Flow.
- filename String
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- name String
Specifies the name of the Contact Flow.
- Map<String>
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- type String
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContactFlow resource produces the following output properties:
- Arn string
The Amazon Resource Name (ARN) of the Contact Flow.
- Contact
Flow stringId The identifier of the Contact Flow.
- Id string
The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
The Amazon Resource Name (ARN) of the Contact Flow.
- Contact
Flow stringId The identifier of the Contact Flow.
- Id string
The provider-assigned unique ID for this managed resource.
- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
The Amazon Resource Name (ARN) of the Contact Flow.
- contact
Flow StringId The identifier of the Contact Flow.
- id String
The provider-assigned unique ID for this managed resource.
- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
The Amazon Resource Name (ARN) of the Contact Flow.
- contact
Flow stringId The identifier of the Contact Flow.
- id string
The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
The Amazon Resource Name (ARN) of the Contact Flow.
- contact_
flow_ strid The identifier of the Contact Flow.
- id str
The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
The Amazon Resource Name (ARN) of the Contact Flow.
- contact
Flow StringId The identifier of the Contact Flow.
- id String
The provider-assigned unique ID for this managed resource.
- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up an Existing ContactFlow Resource
Get an existing ContactFlow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ContactFlowState, opts?: CustomResourceOptions): ContactFlow
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
contact_flow_id: Optional[str] = None,
content: Optional[str] = None,
content_hash: Optional[str] = None,
description: Optional[str] = None,
filename: Optional[str] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
type: Optional[str] = None) -> ContactFlow
func GetContactFlow(ctx *Context, name string, id IDInput, state *ContactFlowState, opts ...ResourceOption) (*ContactFlow, error)
public static ContactFlow Get(string name, Input<string> id, ContactFlowState? state, CustomResourceOptions? opts = null)
public static ContactFlow get(String name, Output<String> id, ContactFlowState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
The Amazon Resource Name (ARN) of the Contact Flow.
- Contact
Flow stringId The identifier of the Contact Flow.
- Content string
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- Content
Hash string - Description string
Specifies the description of the Contact Flow.
- Filename string
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- Instance
Id string Specifies the identifier of the hosting Amazon Connect Instance.
- Name string
Specifies the name of the Contact Flow.
- Dictionary<string, string>
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- Type string
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- Arn string
The Amazon Resource Name (ARN) of the Contact Flow.
- Contact
Flow stringId The identifier of the Contact Flow.
- Content string
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- Content
Hash string - Description string
Specifies the description of the Contact Flow.
- Filename string
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- Instance
Id string Specifies the identifier of the hosting Amazon Connect Instance.
- Name string
Specifies the name of the Contact Flow.
- map[string]string
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- Type string
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- arn String
The Amazon Resource Name (ARN) of the Contact Flow.
- contact
Flow StringId The identifier of the Contact Flow.
- content String
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- content
Hash String - description String
Specifies the description of the Contact Flow.
- filename String
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- instance
Id String Specifies the identifier of the hosting Amazon Connect Instance.
- name String
Specifies the name of the Contact Flow.
- Map<String,String>
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- type String
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- arn string
The Amazon Resource Name (ARN) of the Contact Flow.
- contact
Flow stringId The identifier of the Contact Flow.
- content string
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- content
Hash string - description string
Specifies the description of the Contact Flow.
- filename string
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- instance
Id string Specifies the identifier of the hosting Amazon Connect Instance.
- name string
Specifies the name of the Contact Flow.
- {[key: string]: string}
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- type string
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- arn str
The Amazon Resource Name (ARN) of the Contact Flow.
- contact_
flow_ strid The identifier of the Contact Flow.
- content str
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- content_
hash str - description str
Specifies the description of the Contact Flow.
- filename str
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- instance_
id str Specifies the identifier of the hosting Amazon Connect Instance.
- name str
Specifies the name of the Contact Flow.
- Mapping[str, str]
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- type str
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
- arn String
The Amazon Resource Name (ARN) of the Contact Flow.
- contact
Flow StringId The identifier of the Contact Flow.
- content String
Specifies the content of the Contact Flow, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the
filename
argument cannot be used.- content
Hash String - description String
Specifies the description of the Contact Flow.
- filename String
The path to the Contact Flow source within the local filesystem. Conflicts with
content
.- instance
Id String Specifies the identifier of the hosting Amazon Connect Instance.
- name String
Specifies the name of the Contact Flow.
- Map<String>
Tags to apply to the Contact Flow. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- type String
Specifies the type of the Contact Flow. Defaults to
CONTACT_FLOW
. Allowed Values are:CONTACT_FLOW
,CUSTOMER_QUEUE
,CUSTOMER_HOLD
,CUSTOMER_WHISPER
,AGENT_HOLD
,AGENT_WHISPER
,OUTBOUND_WHISPER
,AGENT_TRANSFER
,QUEUE_TRANSFER
.
Import
Amazon Connect Contact Flows can be imported using the instance_id
and contact_flow_id
separated by a colon (:
), e.g.,
$ pulumi import aws:connect/contactFlow:ContactFlow example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.