We recommend new projects start with resources from the AWS provider.
aws-native.connect.ContactFlow
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Connect::ContactFlow
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var flow = new AwsNative.Connect.ContactFlow("flow", new()
{
Name = "ExampleFlow",
Description = "flow created using cfn",
InstanceArn = "arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
Type = AwsNative.Connect.ContactFlowType.ContactFlow,
Content = "ExampleFlow content(JSON) using Amazon Connect Flow Language.",
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "testkey",
Value = "testValue",
},
},
});
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/connect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := connect.NewContactFlow(ctx, "flow", &connect.ContactFlowArgs{
Name: pulumi.String("ExampleFlow"),
Description: pulumi.String("flow created using cfn"),
InstanceArn: pulumi.String("arn:aws:connect:region-name:aws-account-id:instance/instance-arn"),
Type: connect.ContactFlowTypeContactFlow,
Content: pulumi.String("ExampleFlow content(JSON) using Amazon Connect Flow Language."),
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("testkey"),
Value: pulumi.String("testValue"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
flow = aws_native.connect.ContactFlow("flow",
name="ExampleFlow",
description="flow created using cfn",
instance_arn="arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
type=aws_native.connect.ContactFlowType.CONTACT_FLOW,
content="ExampleFlow content(JSON) using Amazon Connect Flow Language.",
tags=[{
"key": "testkey",
"value": "testValue",
}])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const flow = new aws_native.connect.ContactFlow("flow", {
name: "ExampleFlow",
description: "flow created using cfn",
instanceArn: "arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
type: aws_native.connect.ContactFlowType.ContactFlow,
content: "ExampleFlow content(JSON) using Amazon Connect Flow Language.",
tags: [{
key: "testkey",
value: "testValue",
}],
});
Coming soon!
Create ContactFlow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContactFlow(name: string, args: ContactFlowArgs, opts?: CustomResourceOptions);
@overload
def ContactFlow(resource_name: str,
args: ContactFlowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContactFlow(resource_name: str,
opts: Optional[ResourceOptions] = None,
content: Optional[str] = None,
instance_arn: Optional[str] = None,
type: Optional[ContactFlowType] = None,
description: Optional[str] = None,
name: Optional[str] = None,
state: Optional[ContactFlowState] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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-native:connect:ContactFlow
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 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:
- Content string
- The content of the contact flow in JSON format.
- Instance
Arn string - The identifier of the Amazon Connect instance (ARN).
- Type
Pulumi.
Aws Native. Connect. Contact Flow Type - The type of the contact flow.
- Description string
- The description of the contact flow.
- Name string
- The name of the contact flow.
- State
Pulumi.
Aws Native. Connect. Contact Flow State - The state of the contact flow.
- List<Pulumi.
Aws Native. Inputs. Tag> - One or more tags.
- Content string
- The content of the contact flow in JSON format.
- Instance
Arn string - The identifier of the Amazon Connect instance (ARN).
- Type
Contact
Flow Type - The type of the contact flow.
- Description string
- The description of the contact flow.
- Name string
- The name of the contact flow.
- State
Contact
Flow State Enum - The state of the contact flow.
- Tag
Args - One or more tags.
- content String
- The content of the contact flow in JSON format.
- instance
Arn String - The identifier of the Amazon Connect instance (ARN).
- type
Contact
Flow Type - The type of the contact flow.
- description String
- The description of the contact flow.
- name String
- The name of the contact flow.
- state
Contact
Flow State - The state of the contact flow.
- List<Tag>
- One or more tags.
- content string
- The content of the contact flow in JSON format.
- instance
Arn string - The identifier of the Amazon Connect instance (ARN).
- type
Contact
Flow Type - The type of the contact flow.
- description string
- The description of the contact flow.
- name string
- The name of the contact flow.
- state
Contact
Flow State - The state of the contact flow.
- Tag[]
- One or more tags.
- content str
- The content of the contact flow in JSON format.
- instance_
arn str - The identifier of the Amazon Connect instance (ARN).
- type
Contact
Flow Type - The type of the contact flow.
- description str
- The description of the contact flow.
- name str
- The name of the contact flow.
- state
Contact
Flow State - The state of the contact flow.
- Sequence[Tag
Args] - One or more tags.
- content String
- The content of the contact flow in JSON format.
- instance
Arn String - The identifier of the Amazon Connect instance (ARN).
- type "CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER"
- The type of the contact flow.
- description String
- The description of the contact flow.
- name String
- The name of the contact flow.
- state "ACTIVE" | "ARCHIVED"
- The state of the contact flow.
- List<Property Map>
- One or more tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContactFlow resource produces the following output properties:
- Contact
Flow stringArn - The identifier of the contact flow (ARN).
- Id string
- The provider-assigned unique ID for this managed resource.
- Contact
Flow stringArn - The identifier of the contact flow (ARN).
- Id string
- The provider-assigned unique ID for this managed resource.
- contact
Flow StringArn - The identifier of the contact flow (ARN).
- id String
- The provider-assigned unique ID for this managed resource.
- contact
Flow stringArn - The identifier of the contact flow (ARN).
- id string
- The provider-assigned unique ID for this managed resource.
- contact_
flow_ strarn - The identifier of the contact flow (ARN).
- id str
- The provider-assigned unique ID for this managed resource.
- contact
Flow StringArn - The identifier of the contact flow (ARN).
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ContactFlowState, ContactFlowStateArgs
- Active
- ACTIVE
- Archived
- ARCHIVED
- Contact
Flow State Active - ACTIVE
- Contact
Flow State Archived - ARCHIVED
- Active
- ACTIVE
- Archived
- ARCHIVED
- Active
- ACTIVE
- Archived
- ARCHIVED
- ACTIVE
- ACTIVE
- ARCHIVED
- ARCHIVED
- "ACTIVE"
- ACTIVE
- "ARCHIVED"
- ARCHIVED
ContactFlowType, ContactFlowTypeArgs
- Contact
Flow - CONTACT_FLOW
- Customer
Queue - CUSTOMER_QUEUE
- Customer
Hold - CUSTOMER_HOLD
- Customer
Whisper - CUSTOMER_WHISPER
- Agent
Hold - AGENT_HOLD
- Agent
Whisper - AGENT_WHISPER
- Outbound
Whisper - OUTBOUND_WHISPER
- Agent
Transfer - AGENT_TRANSFER
- Queue
Transfer - QUEUE_TRANSFER
- Contact
Flow Type Contact Flow - CONTACT_FLOW
- Contact
Flow Type Customer Queue - CUSTOMER_QUEUE
- Contact
Flow Type Customer Hold - CUSTOMER_HOLD
- Contact
Flow Type Customer Whisper - CUSTOMER_WHISPER
- Contact
Flow Type Agent Hold - AGENT_HOLD
- Contact
Flow Type Agent Whisper - AGENT_WHISPER
- Contact
Flow Type Outbound Whisper - OUTBOUND_WHISPER
- Contact
Flow Type Agent Transfer - AGENT_TRANSFER
- Contact
Flow Type Queue Transfer - QUEUE_TRANSFER
- Contact
Flow - CONTACT_FLOW
- Customer
Queue - CUSTOMER_QUEUE
- Customer
Hold - CUSTOMER_HOLD
- Customer
Whisper - CUSTOMER_WHISPER
- Agent
Hold - AGENT_HOLD
- Agent
Whisper - AGENT_WHISPER
- Outbound
Whisper - OUTBOUND_WHISPER
- Agent
Transfer - AGENT_TRANSFER
- Queue
Transfer - QUEUE_TRANSFER
- Contact
Flow - CONTACT_FLOW
- Customer
Queue - CUSTOMER_QUEUE
- Customer
Hold - CUSTOMER_HOLD
- Customer
Whisper - CUSTOMER_WHISPER
- Agent
Hold - AGENT_HOLD
- Agent
Whisper - AGENT_WHISPER
- Outbound
Whisper - OUTBOUND_WHISPER
- Agent
Transfer - AGENT_TRANSFER
- Queue
Transfer - QUEUE_TRANSFER
- CONTACT_FLOW
- CONTACT_FLOW
- CUSTOMER_QUEUE
- CUSTOMER_QUEUE
- CUSTOMER_HOLD
- CUSTOMER_HOLD
- CUSTOMER_WHISPER
- CUSTOMER_WHISPER
- AGENT_HOLD
- AGENT_HOLD
- AGENT_WHISPER
- AGENT_WHISPER
- OUTBOUND_WHISPER
- OUTBOUND_WHISPER
- AGENT_TRANSFER
- AGENT_TRANSFER
- QUEUE_TRANSFER
- QUEUE_TRANSFER
- "CONTACT_FLOW"
- CONTACT_FLOW
- "CUSTOMER_QUEUE"
- CUSTOMER_QUEUE
- "CUSTOMER_HOLD"
- CUSTOMER_HOLD
- "CUSTOMER_WHISPER"
- CUSTOMER_WHISPER
- "AGENT_HOLD"
- AGENT_HOLD
- "AGENT_WHISPER"
- AGENT_WHISPER
- "OUTBOUND_WHISPER"
- OUTBOUND_WHISPER
- "AGENT_TRANSFER"
- AGENT_TRANSFER
- "QUEUE_TRANSFER"
- QUEUE_TRANSFER
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.