aws-native logo
AWS Native v0.55.0, Mar 28 23

aws-native.connect.ContactFlow

Resource Type definition for AWS::Connect::ContactFlow

Example Usage

Example

using System.Collections.Generic;
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.Connect.Inputs.ContactFlowTagArgs
            {
                Key = "testkey",
                Value = "testValue",
            },
        },
    });

});
package main

import (
	"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: []connect.ContactFlowTagArgs{
				{
					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=[aws_native.connect.ContactFlowTagArgs(
        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

new ContactFlow(name: string, args: ContactFlowArgs, opts?: CustomResourceOptions);
@overload
def ContactFlow(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                content: Optional[str] = None,
                description: Optional[str] = None,
                instance_arn: Optional[str] = None,
                name: Optional[str] = None,
                state: Optional[ContactFlowState] = None,
                tags: Optional[Sequence[ContactFlowTagArgs]] = None,
                type: Optional[ContactFlowType] = 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-native: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:

Content string

The content of the contact flow in JSON format.

InstanceArn string

The identifier of the Amazon Connect instance (ARN).

Type Pulumi.AwsNative.Connect.ContactFlowType

The type of the contact flow.

Description string

The description of the contact flow.

Name string

The name of the contact flow.

State Pulumi.AwsNative.Connect.ContactFlowState

The state of the contact flow.

Tags List<Pulumi.AwsNative.Connect.Inputs.ContactFlowTagArgs>

One or more tags.

Content string

The content of the contact flow in JSON format.

InstanceArn string

The identifier of the Amazon Connect instance (ARN).

Type ContactFlowType

The type of the contact flow.

Description string

The description of the contact flow.

Name string

The name of the contact flow.

State ContactFlowStateEnum

The state of the contact flow.

Tags []ContactFlowTagArgs

One or more tags.

content String

The content of the contact flow in JSON format.

instanceArn String

The identifier of the Amazon Connect instance (ARN).

type ContactFlowType

The type of the contact flow.

description String

The description of the contact flow.

name String

The name of the contact flow.

state ContactFlowState

The state of the contact flow.

tags List<ContactFlowTagArgs>

One or more tags.

content string

The content of the contact flow in JSON format.

instanceArn string

The identifier of the Amazon Connect instance (ARN).

type ContactFlowType

The type of the contact flow.

description string

The description of the contact flow.

name string

The name of the contact flow.

state ContactFlowState

The state of the contact flow.

tags ContactFlowTagArgs[]

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 ContactFlowType

The type of the contact flow.

description str

The description of the contact flow.

name str

The name of the contact flow.

state ContactFlowState

The state of the contact flow.

tags Sequence[ContactFlowTagArgs]

One or more tags.

content String

The content of the contact flow in JSON format.

instanceArn 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.

tags 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:

ContactFlowArn string

The identifier of the contact flow (ARN).

Id string

The provider-assigned unique ID for this managed resource.

ContactFlowArn string

The identifier of the contact flow (ARN).

Id string

The provider-assigned unique ID for this managed resource.

contactFlowArn String

The identifier of the contact flow (ARN).

id String

The provider-assigned unique ID for this managed resource.

contactFlowArn string

The identifier of the contact flow (ARN).

id string

The provider-assigned unique ID for this managed resource.

contact_flow_arn str

The identifier of the contact flow (ARN).

id str

The provider-assigned unique ID for this managed resource.

contactFlowArn String

The identifier of the contact flow (ARN).

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

ContactFlowState

Active
ACTIVE
Archived
ARCHIVED
ContactFlowStateActive
ACTIVE
ContactFlowStateArchived
ARCHIVED
Active
ACTIVE
Archived
ARCHIVED
Active
ACTIVE
Archived
ARCHIVED
ACTIVE
ACTIVE
ARCHIVED
ARCHIVED
"ACTIVE"
ACTIVE
"ARCHIVED"
ARCHIVED

ContactFlowTag

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. . You can specify a value that is maximum of 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. . You can specify a value that is maximum of 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. . You can specify a value that is maximum of 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. . You can specify a value that is maximum of 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. . You can specify a value that is maximum of 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. . You can specify a value that is maximum of 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

ContactFlowType

ContactFlow
CONTACT_FLOW
CustomerQueue
CUSTOMER_QUEUE
CustomerHold
CUSTOMER_HOLD
CustomerWhisper
CUSTOMER_WHISPER
AgentHold
AGENT_HOLD
AgentWhisper
AGENT_WHISPER
OutboundWhisper
OUTBOUND_WHISPER
AgentTransfer
AGENT_TRANSFER
QueueTransfer
QUEUE_TRANSFER
ContactFlowTypeContactFlow
CONTACT_FLOW
ContactFlowTypeCustomerQueue
CUSTOMER_QUEUE
ContactFlowTypeCustomerHold
CUSTOMER_HOLD
ContactFlowTypeCustomerWhisper
CUSTOMER_WHISPER
ContactFlowTypeAgentHold
AGENT_HOLD
ContactFlowTypeAgentWhisper
AGENT_WHISPER
ContactFlowTypeOutboundWhisper
OUTBOUND_WHISPER
ContactFlowTypeAgentTransfer
AGENT_TRANSFER
ContactFlowTypeQueueTransfer
QUEUE_TRANSFER
ContactFlow
CONTACT_FLOW
CustomerQueue
CUSTOMER_QUEUE
CustomerHold
CUSTOMER_HOLD
CustomerWhisper
CUSTOMER_WHISPER
AgentHold
AGENT_HOLD
AgentWhisper
AGENT_WHISPER
OutboundWhisper
OUTBOUND_WHISPER
AgentTransfer
AGENT_TRANSFER
QueueTransfer
QUEUE_TRANSFER
ContactFlow
CONTACT_FLOW
CustomerQueue
CUSTOMER_QUEUE
CustomerHold
CUSTOMER_HOLD
CustomerWhisper
CUSTOMER_WHISPER
AgentHold
AGENT_HOLD
AgentWhisper
AGENT_WHISPER
OutboundWhisper
OUTBOUND_WHISPER
AgentTransfer
AGENT_TRANSFER
QueueTransfer
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

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0