AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

ContactFlowModule

Provides an Amazon Connect Contact Flow Module resource. For more information see Amazon Connect: Getting Started

This resource embeds or references Contact Flows Modules specified in Amazon Connect Contact Flow Language. For more information see Amazon Connect Flow language

!> WARN: Contact Flow Modules exported from the Console See Contact Flow import/export which is the same for Contact Flow Modules 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-module. 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 example = new Aws.Connect.ContactFlowModule("example", new Aws.Connect.ContactFlowModuleArgs
        {
            Content = @"    {
		""Version"": ""2019-10-30"",
		""StartAction"": ""12345678-1234-1234-1234-123456789012"",
		""Actions"": [
			{
				""Identifier"": ""12345678-1234-1234-1234-123456789012"",
				""Parameters"": {
					""Text"": ""Hello contact flow module""
				},
				""Transitions"": {
					""NextAction"": ""abcdef-abcd-abcd-abcd-abcdefghijkl"",
					""Errors"": [],
					""Conditions"": []
				},
				""Type"": ""MessageParticipant""
			},
			{
				""Identifier"": ""abcdef-abcd-abcd-abcd-abcdefghijkl"",
				""Type"": ""DisconnectParticipant"",
				""Parameters"": {},
				""Transitions"": {}
			}
		],
		""Settings"": {
			""InputParameters"": [],
			""OutputParameters"": [],
			""Transitions"": [
				{
					""DisplayName"": ""Success"",
					""ReferenceName"": ""Success"",
					""Description"": """"
				},
				{
					""DisplayName"": ""Error"",
					""ReferenceName"": ""Error"",
					""Description"": """"
				}
			]
		}
	}
    
",
            Description = "Example Contact Flow Module Description",
            InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
            Tags = 
            {
                { "Application", "Terraform" },
                { "Method", "Create" },
                { "Name", "Example Contact Flow Module" },
            },
        });
    }

}
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.NewContactFlowModule(ctx, "example", &connect.ContactFlowModuleArgs{
			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%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", "				\"Parameters\": {\n", "					\"Text\": \"Hello contact flow module\"\n", "				},\n", "				\"Transitions\": {\n", "					\"NextAction\": \"abcdef-abcd-abcd-abcd-abcdefghijkl\",\n", "					\"Errors\": [],\n", "					\"Conditions\": []\n", "				},\n", "				\"Type\": \"MessageParticipant\"\n", "			},\n", "			{\n", "				\"Identifier\": \"abcdef-abcd-abcd-abcd-abcdefghijkl\",\n", "				\"Type\": \"DisconnectParticipant\",\n", "				\"Parameters\": {},\n", "				\"Transitions\": {}\n", "			}\n", "		],\n", "		\"Settings\": {\n", "			\"InputParameters\": [],\n", "			\"OutputParameters\": [],\n", "			\"Transitions\": [\n", "				{\n", "					\"DisplayName\": \"Success\",\n", "					\"ReferenceName\": \"Success\",\n", "					\"Description\": \"\"\n", "				},\n", "				{\n", "					\"DisplayName\": \"Error\",\n", "					\"ReferenceName\": \"Error\",\n", "					\"Description\": \"\"\n", "				}\n", "			]\n", "		}\n", "	}\n", "    \n")),
			Description: pulumi.String("Example Contact Flow Module Description"),
			InstanceId:  pulumi.String("aaaaaaaa-bbbb-cccc-dddd-111111111111"),
			Tags: pulumi.StringMap{
				"Application": pulumi.String("Terraform"),
				"Method":      pulumi.String("Create"),
				"Name":        pulumi.String("Example Contact Flow Module"),
			},
		})
		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 example = new ContactFlowModule("example", ContactFlowModuleArgs.builder()        
            .content("""
    {
		"Version": "2019-10-30",
		"StartAction": "12345678-1234-1234-1234-123456789012",
		"Actions": [
			{
				"Identifier": "12345678-1234-1234-1234-123456789012",
				"Parameters": {
					"Text": "Hello contact flow module"
				},
				"Transitions": {
					"NextAction": "abcdef-abcd-abcd-abcd-abcdefghijkl",
					"Errors": [],
					"Conditions": []
				},
				"Type": "MessageParticipant"
			},
			{
				"Identifier": "abcdef-abcd-abcd-abcd-abcdefghijkl",
				"Type": "DisconnectParticipant",
				"Parameters": {},
				"Transitions": {}
			}
		],
		"Settings": {
			"InputParameters": [],
			"OutputParameters": [],
			"Transitions": [
				{
					"DisplayName": "Success",
					"ReferenceName": "Success",
					"Description": ""
				},
				{
					"DisplayName": "Error",
					"ReferenceName": "Error",
					"Description": ""
				}
			]
		}
	}
    
            """)
            .description("Example Contact Flow Module Description")
            .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
            .tags(Map.ofEntries(
                Map.entry("Application", "Terraform"),
                Map.entry("Method", "Create"),
                Map.entry("Name", "Example Contact Flow Module")
            ))
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.connect.ContactFlowModule("example",
    content="""    {
		"Version": "2019-10-30",
		"StartAction": "12345678-1234-1234-1234-123456789012",
		"Actions": [
			{
				"Identifier": "12345678-1234-1234-1234-123456789012",
				"Parameters": {
					"Text": "Hello contact flow module"
				},
				"Transitions": {
					"NextAction": "abcdef-abcd-abcd-abcd-abcdefghijkl",
					"Errors": [],
					"Conditions": []
				},
				"Type": "MessageParticipant"
			},
			{
				"Identifier": "abcdef-abcd-abcd-abcd-abcdefghijkl",
				"Type": "DisconnectParticipant",
				"Parameters": {},
				"Transitions": {}
			}
		],
		"Settings": {
			"InputParameters": [],
			"OutputParameters": [],
			"Transitions": [
				{
					"DisplayName": "Success",
					"ReferenceName": "Success",
					"Description": ""
				},
				{
					"DisplayName": "Error",
					"ReferenceName": "Error",
					"Description": ""
				}
			]
		}
	}
    
""",
    description="Example Contact Flow Module Description",
    instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
    tags={
        "Application": "Terraform",
        "Method": "Create",
        "Name": "Example Contact Flow Module",
    })
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.connect.ContactFlowModule("example", {
    content: `    {
		"Version": "2019-10-30",
		"StartAction": "12345678-1234-1234-1234-123456789012",
		"Actions": [
			{
				"Identifier": "12345678-1234-1234-1234-123456789012",
				"Parameters": {
					"Text": "Hello contact flow module"
				},
				"Transitions": {
					"NextAction": "abcdef-abcd-abcd-abcd-abcdefghijkl",
					"Errors": [],
					"Conditions": []
				},
				"Type": "MessageParticipant"
			},
			{
				"Identifier": "abcdef-abcd-abcd-abcd-abcdefghijkl",
				"Type": "DisconnectParticipant",
				"Parameters": {},
				"Transitions": {}
			}
		],
		"Settings": {
			"InputParameters": [],
			"OutputParameters": [],
			"Transitions": [
				{
					"DisplayName": "Success",
					"ReferenceName": "Success",
					"Description": ""
				},
				{
					"DisplayName": "Error",
					"ReferenceName": "Error",
					"Description": ""
				}
			]
		}
	}
    `,
    description: "Example Contact Flow Module Description",
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    tags: {
        Application: "Terraform",
        Method: "Create",
        Name: "Example Contact Flow Module",
    },
});
resources:
  example:
    type: aws:connect:ContactFlowModule
    properties:
      content: "    {\n\t\t\"Version\": \"2019-10-30\",\n\t\t\"StartAction\": \"12345678-1234-1234-1234-123456789012\",\n\t\t\"Actions\": [\n\t\t\t{\n\t\t\t\t\"Identifier\": \"12345678-1234-1234-1234-123456789012\",\n\t\t\t\t\"Parameters\": {\n\t\t\t\t\t\"Text\": \"Hello contact flow module\"\n\t\t\t\t},\n\t\t\t\t\"Transitions\": {\n\t\t\t\t\t\"NextAction\": \"abcdef-abcd-abcd-abcd-abcdefghijkl\",\n\t\t\t\t\t\"Errors\": [],\n\t\t\t\t\t\"Conditions\": []\n\t\t\t\t},\n\t\t\t\t\"Type\": \"MessageParticipant\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"Identifier\": \"abcdef-abcd-abcd-abcd-abcdefghijkl\",\n\t\t\t\t\"Type\": \"DisconnectParticipant\",\n\t\t\t\t\"Parameters\": {},\n\t\t\t\t\"Transitions\": {}\n\t\t\t}\n\t\t],\n\t\t\"Settings\": {\n\t\t\t\"InputParameters\": [],\n\t\t\t\"OutputParameters\": [],\n\t\t\t\"Transitions\": [\n\t\t\t\t{\n\t\t\t\t\t\"DisplayName\": \"Success\",\n\t\t\t\t\t\"ReferenceName\": \"Success\",\n\t\t\t\t\t\"Description\": \"\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"DisplayName\": \"Error\",\n\t\t\t\t\t\"ReferenceName\": \"Error\",\n\t\t\t\t\t\"Description\": \"\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n    \n"
      description: Example Contact Flow Module Description
      instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
      tags:
        Application: Terraform
        Method: Create
        Name: Example Contact Flow Module

Create a ContactFlowModule Resource

new ContactFlowModule(name: string, args: ContactFlowModuleArgs, opts?: CustomResourceOptions);
@overload
def ContactFlowModule(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)
@overload
def ContactFlowModule(resource_name: str,
                      args: ContactFlowModuleArgs,
                      opts: Optional[ResourceOptions] = None)
func NewContactFlowModule(ctx *Context, name string, args ContactFlowModuleArgs, opts ...ResourceOption) (*ContactFlowModule, error)
public ContactFlowModule(string name, ContactFlowModuleArgs args, CustomResourceOptions? opts = null)
public ContactFlowModule(String name, ContactFlowModuleArgs args)
public ContactFlowModule(String name, ContactFlowModuleArgs args, CustomResourceOptions options)
type: aws:connect:ContactFlowModule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ContactFlowModuleArgs
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 ContactFlowModuleArgs
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 ContactFlowModuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ContactFlowModuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ContactFlowModuleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ContactFlowModule 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 ContactFlowModule resource accepts the following input properties:

InstanceId string

Specifies the identifier of the hosting Amazon Connect Instance.

Content string

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

ContentHash string
Description string

Specifies the description of the Contact Flow Module.

Filename string

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

Name string

Specifies the name of the Contact Flow Module.

Tags Dictionary<string, string>

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

InstanceId string

Specifies the identifier of the hosting Amazon Connect Instance.

Content string

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

ContentHash string
Description string

Specifies the description of the Contact Flow Module.

Filename string

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

Name string

Specifies the name of the Contact Flow Module.

Tags map[string]string

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

instanceId String

Specifies the identifier of the hosting Amazon Connect Instance.

content String

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

contentHash String
description String

Specifies the description of the Contact Flow Module.

filename String

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

name String

Specifies the name of the Contact Flow Module.

tags Map<String,String>

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

instanceId string

Specifies the identifier of the hosting Amazon Connect Instance.

content string

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

contentHash string
description string

Specifies the description of the Contact Flow Module.

filename string

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

name string

Specifies the name of the Contact Flow Module.

tags {[key: string]: string}

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

instance_id str

Specifies the identifier of the hosting Amazon Connect Instance.

content str

Specifies the content of the Contact Flow Module, 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 Module.

filename str

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

name str

Specifies the name of the Contact Flow Module.

tags Mapping[str, str]

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

instanceId String

Specifies the identifier of the hosting Amazon Connect Instance.

content String

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

contentHash String
description String

Specifies the description of the Contact Flow Module.

filename String

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

name String

Specifies the name of the Contact Flow Module.

tags Map<String>

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the ContactFlowModule resource produces the following output properties:

Arn string

The Amazon Resource Name (ARN) of the Contact Flow Module.

ContactFlowModuleId string

The identifier of the Contact Flow Module.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll 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 Module.

ContactFlowModuleId string

The identifier of the Contact Flow Module.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll 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 Module.

contactFlowModuleId String

The identifier of the Contact Flow Module.

id String

The provider-assigned unique ID for this managed resource.

tagsAll 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 Module.

contactFlowModuleId string

The identifier of the Contact Flow Module.

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[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 Module.

contact_flow_module_id str

The identifier of the Contact Flow Module.

id str

The provider-assigned unique ID for this managed resource.

tags_all 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 Module.

contactFlowModuleId String

The identifier of the Contact Flow Module.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Look up an Existing ContactFlowModule Resource

Get an existing ContactFlowModule 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?: ContactFlowModuleState, opts?: CustomResourceOptions): ContactFlowModule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        contact_flow_module_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) -> ContactFlowModule
func GetContactFlowModule(ctx *Context, name string, id IDInput, state *ContactFlowModuleState, opts ...ResourceOption) (*ContactFlowModule, error)
public static ContactFlowModule Get(string name, Input<string> id, ContactFlowModuleState? state, CustomResourceOptions? opts = null)
public static ContactFlowModule get(String name, Output<String> id, ContactFlowModuleState 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.
The following state arguments are supported:
Arn string

The Amazon Resource Name (ARN) of the Contact Flow Module.

ContactFlowModuleId string

The identifier of the Contact Flow Module.

Content string

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

ContentHash string
Description string

Specifies the description of the Contact Flow Module.

Filename string

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

InstanceId string

Specifies the identifier of the hosting Amazon Connect Instance.

Name string

Specifies the name of the Contact Flow Module.

Tags Dictionary<string, string>

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll 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 Module.

ContactFlowModuleId string

The identifier of the Contact Flow Module.

Content string

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

ContentHash string
Description string

Specifies the description of the Contact Flow Module.

Filename string

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

InstanceId string

Specifies the identifier of the hosting Amazon Connect Instance.

Name string

Specifies the name of the Contact Flow Module.

Tags map[string]string

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll 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 Module.

contactFlowModuleId String

The identifier of the Contact Flow Module.

content String

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

contentHash String
description String

Specifies the description of the Contact Flow Module.

filename String

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

instanceId String

Specifies the identifier of the hosting Amazon Connect Instance.

name String

Specifies the name of the Contact Flow Module.

tags Map<String,String>

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll 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 Module.

contactFlowModuleId string

The identifier of the Contact Flow Module.

content string

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

contentHash string
description string

Specifies the description of the Contact Flow Module.

filename string

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

instanceId string

Specifies the identifier of the hosting Amazon Connect Instance.

name string

Specifies the name of the Contact Flow Module.

tags {[key: string]: string}

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[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 Module.

contact_flow_module_id str

The identifier of the Contact Flow Module.

content str

Specifies the content of the Contact Flow Module, 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 Module.

filename str

The path to the Contact Flow Module 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 Module.

tags Mapping[str, str]

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all 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 Module.

contactFlowModuleId String

The identifier of the Contact Flow Module.

content String

Specifies the content of the Contact Flow Module, provided as a JSON string, written in Amazon Connect Contact Flow Language. If defined, the filename argument cannot be used.

contentHash String
description String

Specifies the description of the Contact Flow Module.

filename String

The path to the Contact Flow Module source within the local filesystem. Conflicts with content.

instanceId String

Specifies the identifier of the hosting Amazon Connect Instance.

name String

Specifies the name of the Contact Flow Module.

tags Map<String>

Tags to apply to the Contact Flow Module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Import

Amazon Connect Contact Flow Modules can be imported using the instance_id and contact_flow_module_id separated by a colon (:), e.g.,

 $ pulumi import aws:connect/contactFlowModule:ContactFlowModule 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.